News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI
February 04, 2009 @ 15:29:25

The Zend Developer Zone has a new tutorial posted (from Vikram Vaswani) about adding in an auto-complete input field to your site. His example uses a PEAR class, Dojo and some components of the YUI libraries.

Fortunately, modern programming toolkits like Dojo provide ready-made widgets that have the necessary client-side functions for autocomplete. Add a little bit of server-side glue, in the form of a PHP script that talks to a database to generate valid suggestions, and enabling this functionality in a Web application now becomes a matter of hours, rather than days. In this article, I'll show you how to do this using three different libraries: PEAR HTML_QuickForm, YUI, and Dojo. Come on in, and find out more!

He shows how to combine Dojo, YUI and the HTML_QuickForm PEAR package to create a field that, based on what they enter into the input field, searches a database to find values in that table.

0 comments voice your opinion now!
autocomplete input field tutorial yui dojo pear htmlquickform


blog comments powered by Disqus

Similar Posts

DevShed: Building Interpreter Classes with PHP 5

Community News: Latest PEAR Releases for 01.15.2007

PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know

DZone.com: Sencha Touch 2 Models - Loading And Saving Model Data Using a Proxy, PHP Example

Zend Developer Zone: Building Template-Driven Web Applications with Dwoo (part 1)


Community Events

Don't see your event here?
Let us know!


threedevsandamaybe symfony framework security voicesoftheelephpant laravel version interview community podcast opinion extension unittest release introduction library api language series laravel5

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework