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. |
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 <[hidden email]> 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. > |
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 <[hidden email]> > 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. >> |
Administrator
|
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 <[hidden email]> >> 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. >>> > > |
In reply to this post by Julien NICOLAS
You may also consider Web Storage to store the user preference.
|
Administrator
|
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. > |
In reply to this post by Julien NICOLAS
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 |
Free forum by Nabble | Edit this page |