<?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, 16 May 2008 01:36:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: An Example Zend Framework Blog - Part 5: Models w/Zend_Db & an Admin Module]]></title>
      <guid>http://www.phpdeveloper.org/news/10087</guid>
      <link>http://www.phpdeveloper.org/news/10087</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> is on <a href="http://blog.astrumfutura.com/archives/358-An-Example-Zend-Framework-Blog-Application-Part-5-Creating-Models-with-Zend_Db-and-adding-an-Administration-Module.html">part five</a> of his series looking at making a blogging tool with the Zend Framework today. This time he focuses on the database side of things, working with models and making an admin module.
</p>
<blockquote>
First of all I decided to add an Entries Model and Authors Model to the mix, primarily to get ready for when we can add new entries to our blog. This leads to where we can create new Entries; we add an Administration Module to the application with it's own distinct Layout.
</blockquote>
<p>
He starts by making the database schema, an entries and authors table, before starting in on the models. They're made based off of the Zend_Db component's structure and they let the application interact with the data in the tables easily. His code for the modules is included as well as the controller and view for the admin module.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 10:25:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: An Example Zend Framework Blog App - Part 3: A Simple Hello World Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/10066</guid>
      <link>http://www.phpdeveloper.org/news/10066</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has posted <a href="http://blog.astrumfutura.com/archives/355-An-Example-Zend-Framework-Blog-Application-Part-3-A-Simple-Hello-World-Tutorial.html">part three</a> in his look at making a blogging application with the Zend Framework. This time get gets down and gets into the code.
</p>
<blockquote>
It's almost obligatory when introducing a new programming topic, that the author present the simplest possible example. Usually this means getting a programming language or framework to print "Hello World" to the screen. I'm going to be no different. So much for originality...
</blockquote>
<p>
He shows how to set up everything, down to the Apache VirtualHost directive and hosts file to get the web server and localhost working correctly. He includes the code for the boostrap file and how to create your first controller (along with its view, of course).
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 12:57:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Front Controller Plugins in Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9971</guid>
      <link>http://www.phpdeveloper.org/news/9971</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3372-Front-Controller-Plugins-in-Zend-Framework">new article</a> that examines one of the key components to just about any framework out there - the front controller.
</p>
<blockquote>
Like <a href="http://devzone.zend.com/article/3350-Action-Helpers-in-Zend-Framework">Action Helpers</a>, which I've discussed in a previous article, Front Controller Plugins in <a href="http://framework.zend.com/">Zend Framework</a> are often considered an esoteric, advanced subject. They are, however, remarkably simple to implement, and provide an easy way to extend the functionality and behavior of your entire web application.
</blockquote>
<p>
The article (from <i>Matthew Weir O'Phinney</i>) looks at the hooks defined in the controller, like routeStartup and preDispatch, and how to work with the controller to add in/get plugins from it. He provides a two  examples too: Application Initialization Plugin and a Caching Plugin.
</p>]]></description>
      <pubDate>Tue, 15 Apr 2008 07:58:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Action Helpers in Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9936</guid>
      <link>http://www.phpdeveloper.org/news/9936</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3350-Action-Helpers-in-Zend-Framework">article posted</a> from <i>Matthew Weir O'Phinney</i> spotlighting one of the handy features of the Zend Framework - Action Helpers.
</p>
<blockquote>
<a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html">Action Helpers</a> in <a href="http://framework.zend.com/">Zend Framework</a> are often considered a fairly arcane subject, something for experts only. However, they are meant to be an easy way to extend the capabilities of <a href="http://framework.zend.com/manual/en/zend.controller.action.html">Action Controllers</a>, negating the need to create your own base controller with custom functionality. The aim of this tutorial is to show you how to quickly and easily create and use Action Helpers to your advantage.
</blockquote>
<p>
He covers some of the basics - setting up a controller to extend Zend_Controller_Action - and assigning helpers to it. He looks hat hooking in events, registering and retrieving the helpers with a Broker and how to create your own custom helper. Their example is a form loader that lest you load the code for a form by submitting its class name.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 08:53:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Getting started with orchid framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9932</guid>
      <link>http://www.phpdeveloper.org/news/9932</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2008/04/07/getting-started-with-orchid-framework/">blogged about</a> some of his "first steps" with a relatively new PHP framework on the scene - <a href="http://orchidframework.googlecode.com">Orchid</a>.
</p>
<blockquote>
Orchid is a small framework with bare necessities to kick start developing killer php web applications. this framework is not flooded with unnecessary features and libraries. it only contains the essential helpers and libraries to boost up your development, not slowing it down. orchid features a very short learning curve, which will keep you trouble free.
</blockquote>
<p>
He documents the step he followed - downloading the latest release (from the svn repository), making a first controller and adding a view to make his first "hello world" application.
</p>]]></description>
      <pubDate>Tue, 08 Apr 2008 13:01:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weir O'Phinney's Blog: Login and Authentication with Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9885</guid>
      <link>http://www.phpdeveloper.org/news/9885</link>
      <description><![CDATA[<p>
In a <a href="http://weierophinney.net/matthew/archives/165-Login-and-Authentication-with-Zend-Framework.html">new entry</a> on his blog today, <i>Matthew</i> looks to answer and help those once and for all wondering how to handle user authentication and persistence in their Zend Framework applications.
</p>
<blockquote>
The typical issue is that they're unsure how to combine: an authentication adapter, a login form, a controller for login/logout actions and checking for an authenticated user in subsequent requests. It's not terribly difficult, but it does require knowing how the various pieces of the MVC fit together, and how to use Zend_Auth. Let's take a look. 
</blockquote>
<p>
He gives the complete code for a loin controller to cover most of that functionality and an example showing how to check for and keep track of which users have been authenticated.
</p>]]></description>
      <pubDate>Mon, 31 Mar 2008 15:03:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: "My framework is more MVC than *your* framework!"]]></title>
      <guid>http://www.phpdeveloper.org/news/9755</guid>
      <link>http://www.phpdeveloper.org/news/9755</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has <a href="http://www.littlehart.net/feeder/?FeederAction=clicked&feed=Articles+%28RSS2%29&seed=http%3A%2F%2Fwww.littlehart.net%2Fatthekeyboard%2F2008%2F03%2F06%2Fmy-framework-is-more-mvc-than-your-framework%2F&seed_title=%26%238220%3BMy+framework+is+more+MVC+than+%2Ayour%2A+framework%21%26%238221%3B">posted about</a> a topic, while not new in the PHP community it seems to have resurfaced more lately - how MVC is implemented (or not implemented) in most of the PHP-based Rails-esque frameworks.
</p>
<blockquote>
This guy [making comments at PHP London] apparently works for the <a href="http://agavi.org/">Agavi</a> project. [...] The comments for that [reddit] post are really interesting too, as people take their usual swipes at PHP, and CakePHP, and the Symfony guys come out in droves to talk up Symfony, and on and on it goes. Sadly, this is not a unique occurance on the web.
</blockquote>
<p>
<i>Chris</i> took a closer look at Agavi to see what made its MVC so special - only to find that it just does it different, but not necessarily "right" (he includes a code example to illustrate). He also <A href="http://en.wikipedia.org/wiki/Model-view-controller">quotes Wikipedia</a>'s definition of an MVC framework and notes that CakePHP seems to fit it to a tee.
</p>]]></description>
      <pubDate>Fri, 07 Mar 2008 08:45:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate]]></title>
      <guid>http://www.phpdeveloper.org/news/9677</guid>
      <link>http://www.phpdeveloper.org/news/9677</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2008/02/creating-zend-framework-snippets-for.html">posted  a new entry</a> to his blog that talks about combining two things that many developers out there already use - the Zend Framework and the TextMate editor. He shows hos to make some useful code snippets that can be customized to whatever you might need.
</p>
<blockquote>
To reduce the typing effort for the most common tasks in creating a Zend Framework based application, which are creating action controllers including their hosted actions and creating new models for accessing the underlying database, I spent some minutes to figure out how to create and add these valuable snippets to the default PHP bundle.
</blockquote>
<p>
The contents of the examples snippets are included - one to set up a controller, one to add an action to it and an third that will automatically set a table name property.
</p>]]></description>
      <pubDate>Thu, 21 Feb 2008 09:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: Easier Static Pages for CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/9567</guid>
      <link>http://www.phpdeveloper.org/news/9567</link>
      <description><![CDATA[<p>
<i>Jonathan Snook</i> has <a href="http://snook.ca/archives/cakephp/static_pages_cakephp12/">posted about</a> a method he's using to make the creation/use of static pages in a CakePHP application (or website) simpler.
</p>
<blockquote>
Traditionally in a CakePHP application, to do static pages you have two options: use the built-in Pages controller or set up an empty action in a controller.
</blockquote>
<p>
Feeling that neither of these two options met how he wanted things to work, <i>Jonathan</i> (and <a href="http://cake.insertdesignhere.com/">Nate Abele</a>) developed a class that extends the error handler in the CakePHP framework to handle "missing" actions and controllers. This means that, if an unknown controller/action combo is called, this script will check in its correct location (in the structure of the site) and try to find it to render it.
</p>]]></description>
      <pubDate>Tue, 05 Feb 2008 08:44:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Zend_Controller_Action, Now With Parameters!]]></title>
      <guid>http://www.phpdeveloper.org/news/9328</guid>
      <link>http://www.phpdeveloper.org/news/9328</link>
      <description><![CDATA[<p>
On the Zend Developer Zone a <a href="http://devzone.zend.com/article/2855-Actions-now-with-parameters">new post</a> points out feature that the controllers of the Zend Framework has - parameters on the actions.
</p>
<blockquote>
Basically, <a href="http://framework.zend.com/manual/en/zend.controller.html">Zend_Controller_Action</a> is the parent of all of the controllers in your application. This controller is what C stands for in <a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC</a>, a design pattern used lately in web application development, especially in RIA development.
</blockquote>
<p>
<a href="http://devzone.zend.com/article/2855-Actions-now-with-parameters">The post</a> includes a tutorial on using the parameters in an example of a design pattern.
</p>]]></description>
      <pubDate>Mon, 31 Dec 2007 09:15:48 -0600</pubDate>
    </item>
  </channel>
</rss>
