Hi,
if we can implement a "search as you type" interface
for all the inputs of individual id / family id, it
will be a real enhancement.
the user can simply type the individuals name and an
autocomplete suggestion will appear under the text box
like in gmail address suggester or "Google Suggest"
(http://www.google.com/webhp?complete=1&hl=en)
This can be easily achieved by the excellent API
developed by "Martin Grill" and hosted at
http://www.dcs.lancs.ac.uk/~grill/mgbox/
Thanks,
Keep up the good work...
Logged In: YES
user_id=634811
First of all to understand how Google does this it is
important to understand the underlying technology of the
newly coined AJAX (to a not so new technology) web app
architecture. I would suggest the following URL as a primer:
http://www.adaptivepath.com/publications/essays/archives/000385.php
This is an idea that has interested me but I fear that the
performance will be poor. Google has in memory DB that is
highly optimized and indexed to return data in the Google
suggest web app. I think that in our case it would just be
frustrating to wait for the search results (John am I
correct?). There are probably many areas that this
architecture can be used in PGV. It would be interesting but
probably rather complex to for example use this to
manipulate the pedigree tree by only grabbing the new
generation when moving up or down the tree without
refreshing the page.
As for the API to use, the JSON framework
http://www.crockford.com/JSON/index.html already has a PHP
implementation that is a PEAR proposal
http://pear.php.net/pepr/pepr-proposal-show.php?id=198 See
more at http://mike.teczno.com/json.html . Not sure where
this will all lead in PGV but it certainly has a lot of
potential to make things interesting in future releases.
Logged In: YES
user_id=634811
Forgot to add http://jibbering.com/2002/4/httprequest.html
Logged In: YES
user_id=1006499
XMLHttpRequest is already used in PGV for places input
autocompletion.
Have a look to places folder.
Code from : http://momche.net/