PDA

View Full Version : Best Practice for lots of tabs



NoDice
5 Apr 2007, 5:40 PM
This is more a question on "best practice" rather then "how to".

When you have a region with several panels (10+) (creating tabs) and each panel has a lot of content (i.e. a nested layout with grid panel) is it best to have each panel only load once or reload them every time that panel is activated? Or am I not thinking about this correctly? My thinking is that if i load all panels and keep them loaded it would be harder on the client (bringing a lot into memory) but reloading them each time seems like a waste. Any thoughts on this would be appreciated.

(if this doesn't make sense i would be happy to reiterate)

brian.moeskau
5 Apr 2007, 9:07 PM
Depends on what you're loading. In general it's a decent pattern to load on demand and cache, but if you are dealing with huge data sets this might not make as much sense if memory starts to be an issue. As long as the amount of data is reasonable, this is probably the best approach.