Re: Occasional hang loading a particular large page
Re: Occasional hang loading a particular large page
- Subject: Re: Occasional hang loading a particular large page
- From: Chuck Hill <email@hidden>
- Date: Wed, 20 Jul 2011 20:30:02 -0700
On Jul 20, 2011, at 7:12 PM, Kevin wrote:
>
> On Jul 18, 2011, at 4:35 PM, Simon wrote:
>
>>>> Have you tried using ERXBatchFetching stuff?
>>>>
>>>> I use ERXBatchingDisplayGroup for large pages and it has worked well.
>>>
>>> No I haven't. When it works, the page loads pretty quickly, faster than I would have expected. If I can just track down what causes the occasional hang and fix that, then everyone will be happy.
>>
>> we **always** use ERXBatchingDisplayGroup - doesn't matter if we're
>> intend to fetch 5 objects or 50,000.
>>
>> we just assume that one day that someone will fetch 500,000 and hence
>> we might as well get it right from the start...
>
> Probably a good idea. This particular scenario really shouldn't happen according to the design spec. I know what you're thinking. :-)
>
> There is a list of items that can be selected. Normally the list is a few to tens of items. It was decided later by the site owner that the admin user should be able to enter items for any customer. So they ended up with a very large list. I could split it or have a menu to go by letter or some kind of search thing, but then it might end up being more cumbersome. It's actually very easy to use with a really long list, just takes a bit to load the first time.
>
> It would be cool if the page could sort of dynamically load 50 items at a time onto the page so that the list came up quicker but continued to load items while they scrolled down. I bet that could be done with some ajax goodness, but I haven't used any of it, and this client is cheap so if I told them they'd need to pay for the time it wouldn't get approved anyway.
There is nothing in Ajax.framework that is quite that fancy.
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden