<?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>Thu, 23 May 2013 17:37:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: Blueprint for PHP Applications - Bootstrapping (Part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/5111</guid>
      <link>http://www.phpdeveloper.org/news/5111</link>
      <description><![CDATA[The <i>Jayson Minard</i> continues his "Blueprint for PHP Applications" series on the Zend Developer Zend today in <a href="http://devzone.zend.com/node/view/id/119">part two</a>, a look at creating and setting up the "bootstrapper" file mentioned <a href="http://www.phpdeveloper.org/news/5080">previously</a>.
<p>
<quote>
<i>
In Part 1 of this article I talked a lot about funneling. Sending every request to one PHP file that then controls the flow of the request into our application code. This one PHP file is called the "Bootstrapper" and deals with everything in common for every request our application receives. The bootstrapper can setup, configure and gift wrap everything that all pages have in common. It can make sure the include path is setup correctly, that the environment is configured correctly, all PHP settings are set, that common model objects are loaded, and that the front controller is invoked to begin your MVC processing. 
<p>
If you setup the bootstrapper correctly your application code will be more manageable and consistent, along with being easier to write in the first place.
</i>
</quote>
<p>
They <a href="http://devzone.zend.com/node/view/id/119">focus</a> on teh directory structure in this part, demonstrating the correct structure, how to set the .htaccess to coordinate with it, and the creation of a simple PHP file to handle all incoming requests.]]></description>
      <pubDate>Wed, 05 Apr 2006 07:40:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Blueprint for PHP Applications - Bootstrapping (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/5080</guid>
      <link>http://www.phpdeveloper.org/news/5080</link>
      <description><![CDATA[From the Zend Developer Zone today, there's the continuation of their "Blueprint for PHP Applications" series, this time <a href="http://devzone.zend.com/node/view/id/70">focusing on bootstrapping</a> (part 1). 
<p>
<quote>
<i>
The <a href="http://en.wikipedia.org/wiki/Bootstrapping">definition (of bootstrapping) from Wikipedia</a> has more flair to it than I can probably give this article, but nonetheless bootstrapping is an incredibly important part of a PHP web application. It is the ignition, the launch-pad, the booster rockets, and even the safety gear for our trip through PHP Best Practices. Without a well designed bootstrap, our application will never get off the ground.
</i>
</quote>
<p>
The general idea behind the bootstrapping is forcing all of the requests to a domain to be funneled through a central script and branching out from there. They <a href="http://devzone.zend.com/node/view/id/70">talk about</a> how to use Rewrite rules to accomplish this and how to set the setup. He finishes the post off by bringing it back to <a href="http://www.flickr.com/photos/jminard/112539972/">the layout</a> of the application, pointing out where it fits in.]]></description>
      <pubDate>Fri, 31 Mar 2006 07:23:08 -0600</pubDate>
    </item>
  </channel>
</rss>
