[Maypole] Wacky Idea #1: XMLHTTPRPC / Incremental Combobox Search for Maypole

From: Max Maischein (maypole at corion.net)
Date: Sun Dec 19 2004 - 14:05:54 GMT


Hello,

I just had this wacky idea when looking at the Maypole Search box resp.
any has_many relationship, and the new fancy incremental Google search
("Google Suggest") as displayed here [1] and dissected here [2].

Rationale:

As my databases are supposed to grow big (more than 10 artists, more
than 10 CDs), displaying the artists resp. CDs in a drop-down list and
having the user choose from there is stupid from a UI standpoint. Also,
if the user wants to enter a product code, forcing the user to choose it
from a drop-down list is stupid too.

Wacky idea:

So my wacky idea is to have Maypole switch to a Google-style incremental
search if the count of elements is larger than (say) 25 or whatever.
This will of course need fancy Javascript in the template, a separate
handler for the incremental search, and separate stringifications for
all items.

I don't have the time to follow through with this wacky idea, but maybe
somebody else feels inspired by this, and does the work for me! :-)

Hope this is inspirational,
-max

[1] Google Suggest http://www.google.com/webhp?complete=1&hl=en
[1a] http://teknikill.net/cpan/
[2] http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html

See Also:
[3] LiveSearch at http://blog4.bitflux.ch/wiki/LiveSearch

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT