Very Large Lists

Hello All,

I have run into an interesting problem.

I need to display a list of items to a user. The list could potentially be very long (up to 10’s of thousands of items) and if the user chooses to I would like it to be possible for him to view all of the items in one continuous list. The problem is that with that many items being displayed the browser uses a TON of memory and starts to crash.

I put some thought into it and what I came up with is to partition the list into segments of a few hundred items then when the user scrolls to the end of the first segment the list is ajax refreshed to load the next segment.

The best example of another site with this implemented is google music. If you view all your songs at once it implements a similar system to give the appearance of one large continuous list.

Does anyone have an idea of how to implement this in Yii?

Thank you.

Try Lazy load approach http://www.appelsiini.net/projects/lazyload and here is the one that for yii specific http://www.ramirezcobos.com/2010/06/15/speed-up-your-pages-with-lazy-load-jquery-plugin/

This is kinda what I am looking for but not exactly, if I understood this link correctly the JQuery lazy load is for images. I want to load table rows.