oggi ho scoperto grazie a wikilab la potenza di LiveSearch:

On the client side, we use XMLHttpRequest for sending the request to the server. There we have a little PHP script, which returns a small HTML file (http://blog.bitflux.ch/livesearch.php?s=PHP ) . This is then inserted into the page with some DOM manipulation.
The drop shadow is done with some CSS magic (see http://wubbleyew.com/tests/dropshadows.htm ).

Si tratta in pratica di un javascript che interroga in background una pagina php e che ne visualizza i risultati, più o meno quello fa anche la classe php jspan vista qualche giorno fa e che viene utilizzato per i suggerimenti di google suggest [ne trovate un'interessante approfondimento sempre su wikilab].

ciauz

 

2 Responses to livesearch

  1. Ardesia says:

    grazie per gli auguri :) e complimenti a te per il successone che ha avuto il tuo convegno!
    Buona domenica!

  2. Uncino says:

    il template “Kubrick” per WordPress utilizza anche esso proprio LiveSearch.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

phpDay 15.16 Maggio 2009 a Verona