<?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>Tue, 21 May 2013 01:11:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Easy Form Generation Using FuelPHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17672</guid>
      <link>http://www.phpdeveloper.org/news/17672</link>
      <description><![CDATA[<p>
On the NetTuts.com site today there's a new tutorial from <i>Sahan Lakshitha</i> about <a href="http://net.tutsplus.com/tutorials/php/easy-form-generation-using-fuelphp/">creating forms in FuelPHP</a>, the PHP 5.3-centric framework.
</p>
<blockquote>
Thanks to <a href="http://fuelphp.com/">FuelPHP</a>'s <a href="http://docs.fuelphp.com/classes/fieldset.html">fieldset</a> class, working with forms couldn't be easier. With a few lines of code, you can easily generate and validate a form. Today, we're going to learn how to do just that!
</blockquote>
<p>
He starts with guiding you through a simple install of the FuelPHP framework and configuring it to connect to a MySQL database. He shows how to set up a model, specify its properties and creating a controller to handle the user interaction. Using the definitions in the model, FuelPHP can automatically generate a form, complete with default options and some validation on the field (things like "required", "valid_url" and "max_length"). There's also code included showing how to edit current posts and listing out the complete post list.
</p>]]></description>
      <pubDate>Wed, 14 Mar 2012 10:05:17 -0500</pubDate>
    </item>
  </channel>
</rss>
