<?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>Wed, 19 Jun 2013 20:29:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: Scaffolding and packaging a Windows Azure project in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16401</guid>
      <link>http://www.phpdeveloper.org/news/16401</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has a new post to his blog today talking about a new feature they're considering adding to the SDK API - the ability <a href="http://blog.maartenballiauw.be/post/2011/05/30/Scaffolding-and-packaging-a-Windows-Azure-project-in-PHP.aspx">scaffold and package up</a> a PHP application for use on the Windows Azure platform. 
</p>
<blockquote>
With the fresh release of the Windows Azure SDK for PHP v3.0, it's time to have a look at the future. One of the features we're playing with is creating a full-fledged replacement for the current Windows Azure Command-Line tools available. These tools sometimes are a life saver and sometimes a big PITA due to baked-in defaults and lack of customization options. And to overcome that last one, here's what we're thinking of: scaffolders. Basically what we'll be doing is splitting the packaging process into two steps: Scaffolding and Packaging.
</blockquote>
<p>
He goes through their current suggestions of how to set up the scaffold template that would auto-generate everything you need from a command-line call. He also talks about making custom scaffolds (that are, in concept, similar to <a href="http://php.net/phar">phar</a> archives) and gives an example of the simple structure.
</p>]]></description>
      <pubDate>Mon, 30 May 2011 13:11:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Command line fun in CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/6501</guid>
      <link>http://www.phpdeveloper.org/news/6501</link>
      <description><![CDATA[<p>
On his ThinkingPHP blog today, <i>Felix Geisendorfer</i> hands out mor eCakePHP goodness with <a href="http://www.thinkingphp.org/2006/10/16/command-line-fun-in-cakephp-12/">some talk about</a> working with the popular CakePHP framework in an unlikely place - on the command line with the "bake" utility.
</p>
<p>
The "bake" utility is included with the CakePHP distribution and helps a developer scaffold out an application with minimal effort. Things have been changed in the recent distributions, though:
</p>
<blockquote>
Unlike the old bake.php, which was only used to auto-generate code for you, this one follows a much cooler concept. The main idea is to have an interface to a wide variety Tasks.
</blockquote>
<p>
The new and improved "bake" program takes the tasks created and builds out a bit more functionality than just the scaffolding as the version before did. <i>Felix</i> <a href="http://www.thinkingphp.org/2006/10/16/command-line-fun-in-cakephp-12/">includes an example</a> of a task (a simple echo) just to show how it's formatted.
</p>]]></description>
      <pubDate>Mon, 16 Oct 2006 07:18:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Shadow Fox Network: Creating A Scaffold-like Class in PHP or An Automatic CMS For a Table]]></title>
      <guid>http://www.phpdeveloper.org/news/6066</guid>
      <link>http://www.phpdeveloper.org/news/6066</link>
      <description><![CDATA[<p>
Of the features in Ruby on Rails, scaffolding is one of the more popular. PHP doesn't have this natively, but with the help of <a href="http://www.shadow-fox.net/site/tutorial/39-Creating-A-Scaffold-like-Class-in-PHP-or-An-Automatic-CMS-For-a-Table">this new article</a> from The Shadow Fox Network, you can create a scaffold-like class for your database table.
</p>
<blockquote>
<p>
If you've ever seen the <a href="http://media.rubyonrails.org/video/rails_take2_with_sound.mov">Creating a Weblog In 15 Minutes movie</a>, you were undoubtedly startled at how useful and quick the scaffold command could be. But if you're still using PHP, and you love that command, then you could have a problem. Luckily, through the use of Object Oriented Programming, an equivalent solution is available, creating a full create, read, update, and delete CMS for a single table through one command.
</p>
<p>
The end result will look something like this: <a href="http://shadow-fox.net/examples/scaffold/form.php">The end result of the scaffold class and some extra style</a>.
</p>
</blockquote>
<p>
<a href="http://www.shadow-fox.net/site/tutorial/39-Creating-A-Scaffold-like-Class-in-PHP-or-An-Automatic-CMS-For-a-Table">The tutorial</a> goes through the entire process, showing the code for the different parts:
<ul>
<li>Starting The Class
<li>Listing the Rows
<li>Creating a New Row
<li>Inserting the Row
<li>Editing a Row (Form)
<li>Updating The Row
<li>Deleting the Row
</ul>
They conclude the tutorial with the full code listing, ready for you to cut and paste into your favorite editor and run.
</p>]]></description>
      <pubDate>Thu, 17 Aug 2006 07:59:38 -0500</pubDate>
    </item>
  </channel>
</rss>
