David,

>..5 isn't really fast enough.  I know my users are going to scream.
>Maybe it's not the speed.  But this is not working as I had hoped.
>Once you start typing I would expect all matches to show up and then
>the list would eliminate items which no longer match as you continued
>typing.  With cfautosuggest you have to pause for the amount of time
>in AUTOSUGGESTBINDDELAY before the list will pop up.
>
>So, nothing really happens until you pause.  The Javascript function I
>was using before worked as I expected.  Your list popped up
>immediately and items were eliminated as they no longer matched
>without any delay at all.  This Javascript function also used the
>results of a query.
>
>Am I stuck?  Any way to tweak cfautosuggest?

Are you binding to an AJAX call or a local array? 

If binding to local array, I agree the timeout you specify should allow a
smaller amount.

However, when dealing w/AJAX calls you've got to be extremely careful that
you don't flood the server with AJAX calls. This would be easy to due if you
set the timeout too low.

The problem with CFMX 8 adding lots of AJAX functionality is developers
don't have to have understand what's going on behind the scenes. I think
it's extremely important that Web Developers really understand AJAX and the
potential server issues you introduce implementing lots of AJAX on a site.

That's not a knock on AJAX and I think it's great Adobe has made great
strides to make implementing complex DHTML easy to use--it's just I think
it's extremely important to really understand what's going on behind the
scenes.

Where I'm going with this is that it wouldn't surprise me if Adobe purposely
was trying to limit users from setting an obscurely low delay speed--since
it could have serious impact on the server. 

However, that's only an issue if you're binding to an AJAX call.

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285480
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to