You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Julien NICOLAS <ju...@nereide.fr> on 2016/04/07 11:35:58 UTC
User pref or not user pref
Hi all,
We are thinking on a new theme (again) that will be more user friendly
and UX oriented.
We want to be able to customize menu (component and its sub menu).
User pref could be the clue but we are not sure because if all menu and
sub menu (and maybe 3rd or 4th level menu) user preference are recorded
in the user pref, it could be a nightmare for the database access if
there is a lot of users. And only for user preference, it's not a good idea.
We also think about using cookies but it could be a problem if the user
user several computers.
What do you think ? Do you already try to develop this kind of feature ?
Thanks,
Julien.
Re: User pref or not user pref
Posted by Jacques Le Roux <ja...@les7arts.com>.
This could be parametrised, cookies for lot of users, cache for less users.
Without any measure, I guess it should a very high number of users before it's really a problem for caching (usual production servers have now at
least 16GB...), so cache would be the default
Jacques
Le 07/04/2016 12:38, Julien NICOLAS a écrit :
> It could be loaded in the cache but if we push all user customisation in cache, it could use too much memories only for the UI (if you have a lot of
> users).
>
> Julien.
>
> Le 07/04/2016 12:34, Pierre Smits a écrit :
>> Aren't user prefs cached somehow?
>>
>> Pierre Smits
>>
>> ORRTIZ.COM <http://www.orrtiz.com>
>> OFBiz based solutions & services
>>
>> OFBiz Extensions Marketplace
>> http://oem.ofbizci.net/oci-2/
>>
>> On Thu, Apr 7, 2016 at 11:35 AM, Julien NICOLAS <ju...@nereide.fr>
>> wrote:
>>
>>> Hi all,
>>>
>>> We are thinking on a new theme (again) that will be more user friendly and
>>> UX oriented.
>>> We want to be able to customize menu (component and its sub menu).
>>>
>>> User pref could be the clue but we are not sure because if all menu and
>>> sub menu (and maybe 3rd or 4th level menu) user preference are recorded in
>>> the user pref, it could be a nightmare for the database access if there is
>>> a lot of users. And only for user preference, it's not a good idea.
>>> We also think about using cookies but it could be a problem if the user
>>> user several computers.
>>>
>>> What do you think ? Do you already try to develop this kind of feature ?
>>>
>>> Thanks,
>>>
>>> Julien.
>>>
>
>
Re: User pref or not user pref
Posted by Julien NICOLAS <ju...@nereide.fr>.
It could be loaded in the cache but if we push all user customisation in
cache, it could use too much memories only for the UI (if you have a lot
of users).
Julien.
Le 07/04/2016 12:34, Pierre Smits a écrit :
> Aren't user prefs cached somehow?
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Thu, Apr 7, 2016 at 11:35 AM, Julien NICOLAS <ju...@nereide.fr>
> wrote:
>
>> Hi all,
>>
>> We are thinking on a new theme (again) that will be more user friendly and
>> UX oriented.
>> We want to be able to customize menu (component and its sub menu).
>>
>> User pref could be the clue but we are not sure because if all menu and
>> sub menu (and maybe 3rd or 4th level menu) user preference are recorded in
>> the user pref, it could be a nightmare for the database access if there is
>> a lot of users. And only for user preference, it's not a good idea.
>> We also think about using cookies but it could be a problem if the user
>> user several computers.
>>
>> What do you think ? Do you already try to develop this kind of feature ?
>>
>> Thanks,
>>
>> Julien.
>>
Re: User pref or not user pref
Posted by Pierre Smits <pi...@gmail.com>.
Aren't user prefs cached somehow?
Pierre Smits
ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services
OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/
On Thu, Apr 7, 2016 at 11:35 AM, Julien NICOLAS <ju...@nereide.fr>
wrote:
> Hi all,
>
> We are thinking on a new theme (again) that will be more user friendly and
> UX oriented.
> We want to be able to customize menu (component and its sub menu).
>
> User pref could be the clue but we are not sure because if all menu and
> sub menu (and maybe 3rd or 4th level menu) user preference are recorded in
> the user pref, it could be a nightmare for the database access if there is
> a lot of users. And only for user preference, it's not a good idea.
> We also think about using cookies but it could be a problem if the user
> user several computers.
>
> What do you think ? Do you already try to develop this kind of feature ?
>
> Thanks,
>
> Julien.
>
Re: User pref or not user pref
Posted by Christian Geisert <ch...@isu-gmbh.de>.
Am 07.04.2016 11:35, schrieb Julien NICOLAS:
> Hi all,
>
> We are thinking on a new theme (again) that will be more user friendly
> and UX oriented.
> We want to be able to customize menu (component and its sub menu).
>
> User pref could be the clue but we are not sure because if all menu
> and sub menu (and maybe 3rd or 4th level menu) user preference are
> recorded in the user pref, it could be a nightmare for the database
> access if there is a lot of users. And only for user preference, it's
> not a good idea.
> We also think about using cookies but it could be a problem if the
> user user several computers.
>
> What do you think ? Do you already try to develop this kind of feature ?
>
I think this must done on the server side, because, as you already
mentioned, a user will expect the same menu independet from the used
browser/computer.
Database access shouldn't be a problem with caching.
Christian
Re: User pref or not user pref
Posted by Jacques Le Roux <ja...@les7arts.com>.
That also means that Javascript should be used...
Jacques
Le 07/04/2016 16:43, james_sg a écrit :
> You may also consider Web Storage
> <https://en.wikipedia.org/wiki/Web_storage> to store the user preference.
>
>
> Julien NICOLAS wrote
>> Hi all,
>>
>> We are thinking on a new theme (again) that will be more user friendly
>> and UX oriented.
>> We want to be able to customize menu (component and its sub menu).
>>
>> User pref could be the clue but we are not sure because if all menu and
>> sub menu (and maybe 3rd or 4th level menu) user preference are recorded
>> in the user pref, it could be a nightmare for the database access if
>> there is a lot of users. And only for user preference, it's not a good
>> idea.
>> We also think about using cookies but it could be a problem if the user
>> user several computers.
>>
>> What do you think ? Do you already try to develop this kind of feature ?
>>
>> Thanks,
>>
>> Julien.
>
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/User-pref-or-not-user-pref-tp4679049p4679083.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
Re: User pref or not user pref
Posted by james_sg <sn...@hotmail.com>.
You may also consider Web Storage
<https://en.wikipedia.org/wiki/Web_storage> to store the user preference.
Julien NICOLAS wrote
> Hi all,
>
> We are thinking on a new theme (again) that will be more user friendly
> and UX oriented.
> We want to be able to customize menu (component and its sub menu).
>
> User pref could be the clue but we are not sure because if all menu and
> sub menu (and maybe 3rd or 4th level menu) user preference are recorded
> in the user pref, it could be a nightmare for the database access if
> there is a lot of users. And only for user preference, it's not a good
> idea.
> We also think about using cookies but it could be a problem if the user
> user several computers.
>
> What do you think ? Do you already try to develop this kind of feature ?
>
> Thanks,
>
> Julien.
--
View this message in context: http://ofbiz.135035.n4.nabble.com/User-pref-or-not-user-pref-tp4679049p4679083.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.