Menu

#394 GMail-style text completion for text elements

open
nobody
5
2005-03-22
2005-03-22
Hitesh
No

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...

Discussion

  • KosherJava

    KosherJava - 2005-03-22

    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.

     
  • KosherJava

    KosherJava - 2005-03-22

    Logged In: YES
    user_id=634811

    Forgot to add http://jibbering.com/2002/4/httprequest.html

     
  • Christophe B.

    Christophe B. - 2005-06-06

    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/

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.