<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 06:52:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI]]></title>
      <guid>http://www.phpdeveloper.org/news/11883</guid>
      <link>http://www.phpdeveloper.org/news/11883</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/4229-Building-AutoComplete-Inputs-with-PHP-PEAR-Dojo-and-YUI">a new tutorial</a> posted (from <i>Vikram Vaswani</i>) 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.
</p>
<blockquote>
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!
</blockquote>
<p>
He shows how to combine <a href="http://www.dojotoolkit.org/">Dojo</a>, <a href="http://developer.yahoo.com/yui/">YUI</a> and the <a href="http://pear.php.net/package/HTML_QuickForm">HTML_QuickForm</a> 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.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 15:29:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Generating and Validating Web Forms With PEAR HTML_QuickForm (part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/9464</guid>
      <link>http://www.phpdeveloper.org/news/9464</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/2996-Generating-and-Validating-Web-Forms-With-PEAR-HTML_QuickForm-part-2">released part two</a> of a series (here's <a href="http://www.phpdeveloper.org/news/9023">part one</a> posted back in November) looking at making forms for your website with the help of the PEAR <a href="http://pear.php.net/package/HTML_QuickForm">HTML_QuickForm</a> class.
</p>
<blockquote>
I'll be discussing some of the package's non-standard form elements, teaching you how to combine elements into groups, showing you how to apply templates to control a form's appearance, and guiding you through the process of writing and registering your own custom validation rules.
</blockquote>
<p>
There's plenty of sample code and screenshots to go around in <a href="http://devzone.zend.com/article/2996-Generating-and-Validating-Web-Forms-With-PEAR-HTML_QuickForm-part-2">this second part</a> including examples of form auto-completion, multi-select elements and and example of its integration with Smarty.
</p>]]></description>
      <pubDate>Tue, 22 Jan 2008 07:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[ONLamp.com: Quick and Clean PHP Forms]]></title>
      <guid>http://www.phpdeveloper.org/news/8651</guid>
      <link>http://www.phpdeveloper.org/news/8651</link>
      <description><![CDATA[<p>
On O'Reilly's ONLamp.com website today, there's <a href="http://www.onlamp.com/pub/a/php/2007/09/13/quick-and-clean-php-forms.html?CMP=OTC-6YE827253101&ATT=Quick+and+Clean+PHP+Forms">a new tutorial posted</a> walking you through the creation of online forms through the amazingly helpful PEAR HTML_QuickForm package.
</p>
<blockquote>
As its name suggests, the PHP Extension and Application Repository (PEAR) library called HTML_QuickForm can be used to quickly and cleanly to produce validating HTML forms, relieving the developer of the tedium that often accompanies such tasks. [...] This tutorial presents a basic implementation of HTML_QuickForm to produce a common email contact form and explores ways to get the most from this powerful library.
</blockquote>
<p>
They <a href="http://www.onlamp.com/pub/a/php/2007/09/13/quick-and-clean-php-forms.html?CMP=OTC-6YE827253101&ATT=Quick+and+Clean+PHP+Forms">introduce the topic</a> by explaining when is a good time to use the package. Now that you're sure you want to use it, they move on to the code portion of the tutorial - the creation of an email form. They define the fields (their labels, types and required status) and show how to dump that array into the HTML_QuickForm class to create the HTML field output. They also add validation rules to check the contents of the field - in this case, ensuring that all of the entries have values and aren't empty.
</p>]]></description>
      <pubDate>Fri, 14 Sep 2007 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: PEAR's HTML_QuickForm]]></title>
      <guid>http://www.phpdeveloper.org/news/6575</guid>
      <link>http://www.phpdeveloper.org/news/6575</link>
      <description><![CDATA[<p>
PHPBuilder.com has posted a brand new tutorial today covering the <a href="http://www.phpbuilder.com/columns/ian_gilfillan20061024.php3">installation and use</a> of one of the most popular PEAR packages - <a href="http://pear.php.net/package/HTML_QuickForm">HTML_QuickForm</a>.
</p>
<blockquote>
It makes handling the rendering and display of forms, and more usefully, both client and server-side validation, quick and easy. This article will take you through the basics of that package. It assumes familiarity with HTML form elements, and reasonably basic PHP skills.
</blockquote>
<p>
Thanks to the PEAR installer, setting the package up on your machine is a snap. They also point out that you'll need the HTML_Common package to get things working. They move on to creating a simple form - showing how to add the elements and what the output looks like. There's even information on adding input validation (you do validate your input, don't you?) and doing a bit of formatting for the layout of the elements.
</p>]]></description>
      <pubDate>Wed, 25 Oct 2006 14:29:00 -0500</pubDate>
    </item>
  </channel>
</rss>
