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?