<?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, 09 Feb 2010 07:34:19 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts  - The Road to Solar 1.0]]></title>
      <guid>http://www.phpdeveloper.org/news/13980</guid>
      <link>http://www.phpdeveloper.org/news/13980</link>
      <description><![CDATA[<p>
In another of his "Solar Shorts" <i>Richard Thomas</i> talks about <a href="http://www.phpjack.com/content/solar-framework-shorts-road-solar-10">the road to Solar 1.0</a> as broken down into three points that will lead up to the framework's 1.0 release.
</p>
<blockquote>
If you haven't taken a look at the Solar Framework in the past now is the time to do so as the three biggest complaints about Solar are on the road to be resolved.
</blockquote>
<p>
Some of the things that might have made you skip over the framework in the past are being worked on right now:
</p>
<ul>
<li>Solar has been in perpetual alpha/beta forever..
<li>Documentation, all the cool Frameworks have cool docs.
<li>Examples, sometimes the easiest way to learn is to study a working application
</ul>
<p>
For more information about the Solar framework, head over to <a href="http://solarphp.com">SolarPHP.com</a> and grab the latest copy.
</p>]]></description>
      <pubDate>Mon, 08 Feb 2010 08:37:23 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Compose a MVC Paradigm for PHP with Symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/13891</guid>
      <link>http://www.phpdeveloper.org/news/13891</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's <a href="http://www.phpbuilder.com/columns/Octavia_Anghel012110.php3">a new tutorial</a> about using the <a href="http://symfony-project.org">Symfony</a> framework to create and modify a sample application.
</p>
<blockquote>
Symfony is an open-source PHP web framework that provides architecture, components and tools for developers to build and maintain complex web applications faster. The Symfony framework uses the MVC architecture to make the web applications a lot easier and faster to modify.
</blockquote>
<p>
They walk through a brief look at the MVC pattern before getting into how Symfony can automatically create a base project (using the command line "symfony" tool), how to configure your Apache server and how to get a database up and working with some sample data. The code for their sample site is <a href="http://www.phpbuilder.com/columns/SymfanyBookshopDemo.zip">available for download</a>.
</p>]]></description>
      <pubDate>Fri, 22 Jan 2010 09:58:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[StackOverflow.com: What PHP framework would you choose for a new application and why?]]></title>
      <guid>http://www.phpdeveloper.org/news/13879</guid>
      <link>http://www.phpdeveloper.org/news/13879</link>
      <description><![CDATA[<p>
On StackOverflow.com what started out <a href="http://stackoverflow.com/questions/2648/what-php-framework-would-you-choose-for-a-new-application-and-why">as a question about framework choices</a> has turned into a good discussion about preferences, features and thoughts on several including the Zend Framework, CodeIgniter, CakePHP and Symfony.
</p>
<blockquote>
Over the course of your web development experience, what PHP framework(s) have you worked with? What strengths and weaknesses have you observed in those frameworks? Considering these, what framework would you recommend if beginning a new application?
</blockquote>
<p>
Fans and developers from most of the popular PHP framework have contributed their two cents into the discussion including links to other resources showing "versus" comparisons and even a mention or two of Ruby on Rails.
</p>]]></description>
      <pubDate>Wed, 20 Jan 2010 14:00:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Allard's Blog: CodeIgniter update, Jan 2010]]></title>
      <guid>http://www.phpdeveloper.org/news/13866</guid>
      <link>http://www.phpdeveloper.org/news/13866</link>
      <description><![CDATA[<p>
<i>Derick Allard</i> (of the <a href="http://ellislab.com/company/team/derek_allard/">EllisLab team</a>) has <a href="http://derekallard.com/blog/post/codeigniter-update-jan-2010/">posted an update</a> about the current and future state of the <a href="http://codeigniter.com">CodeIgniter</a> framework and its community.
</p>
<p>Some of the updates include:</p>
<ul>
<li>That <a href="http://jamierumbelow.net/">Jamie Rumbelow</a> has taken over as a Community Chieftain
<li><i>Rick Ellis</i> is <a href="http://twitter.com/rickellis">on twitter</a> now
<li>A long list of bugs and updates to <a href="http://dev.ellislab.com/svn/CodeIgniter/trunk">the CodeIgniter source</a>
</ul>
<p>
And, of course, he (sort of) answers the constant question he and his fellow developers get - when will CodeIgniter 2 be released and what will be in it?
</p>]]></description>
      <pubDate>Tue, 19 Jan 2010 10:55:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[INSC Dsigns: Building a Shopping Cart using CodeIgniter's Shopping Cart Class]]></title>
      <guid>http://www.phpdeveloper.org/news/13857</guid>
      <link>http://www.phpdeveloper.org/news/13857</link>
      <description><![CDATA[<p>
On the INSC Designs site today there's <a href="http://blog.insicdesigns.com/2010/01/building-a-shopping-cart-using-codeigniters-shopping-cart-class">a new tutorial</a> walking you through the creation of a shopping cart with the help of the <a href="http://codeigniter.com/user_guide/libraries/cart.html">Shopping Cart class</a> that's included in the <a href="http://codeigniter.com">CodeIgniter</a> PHP framework.
</p>
<blockquote>
Late last year CodeIgniter v1.7.2 was released with a lot of improvements and bug fixes. This version is now compatible with PHP5.3.0, they added is_php() to Common functions to facilitate PHP version comparisons, modified show_error() to allow sending of HTTP server response codes, and all internal uses now send proper status codes, Form helper improved and a new class which we are about to cover in this tutorial the Shopping Cart Class.
</blockquote>
<p>
They walk you through some of the basics that the shopping cart class has to offer - adding items, removing them, updating the current item list. They show you how to create each piece of the MVC puzzle - the Product controller, a Cart controller and two basic views, one for the cart and the other for the products. They didn't create a model because they're not hooking it into a database/backend resource.
</p>]]></description>
      <pubDate>Mon, 18 Jan 2010 08:55:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Thomas' Blog: Solar Framework Shorts - Sending emails using Solar]]></title>
      <guid>http://www.phpdeveloper.org/news/13848</guid>
      <link>http://www.phpdeveloper.org/news/13848</link>
      <description><![CDATA[<p>
In <a href="http://www.phpjack.com/content/solar-framework-shorts-sending-emails-using-solar">this new post</a> to his PHPJack blog today <i>Richard Thomas</i> has another "Solar Short" showing you a handy feature of the <a href="http://solarphp.com">Solar framework</a>. This post looks at how to send emails.
</p>
<blockquote>
Sending email using the Solar Framework is not only extremely simple but very flexible as well. Solar splits the process of sending email into 2 logical parts, creating the message "package" and sending the "package"
</blockquote>
<p>
He includes a code example of using the Solar_Mail package to create and send an email with a text section, a HTML component and an image attachment. There's also a few lines dedicated to the Solar_Mail_Transport component and how you can use it directly with PHP's <a href="http://php.net/mail">mail function</a>.
</p>]]></description>
      <pubDate>Fri, 15 Jan 2010 08:33:48 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Simple way to memcache (almost) all database queries]]></title>
      <guid>http://www.phpdeveloper.org/news/13836</guid>
      <link>http://www.phpdeveloper.org/news/13836</link>
      <description><![CDATA[<p>
On The Bakery (the CakePHP resource) there's <a href="http://bakery.cakephp.org/articles/view/simple-way-to-memcache-almost-all-database-queries">a recent post</a> looking at a simple way you can integrate database query caching (using memcache) into your CakePHP application's models.
</p>
<blockquote>
Most common way to access data is a database. Most common way to speed this up - Memcached. As a quite young CakePHP developer I had a bit of headache "how to cache queries effectively?". Now I know the way, so I share.
</blockquote>
<p>
<i>Rafal</i>'s method, as seen in <a href="http://bakery.cakephp.org/articles/download_code/1360/block/1">this example</a> using the <a href="http://book.cakephp.org/view/213/Cache">caching methods included with CakePHP</a> to serialize and store the database queries out to a cache. 
</p>]]></description>
      <pubDate>Wed, 13 Jan 2010 13:20:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Solar Models vs. Zend Framework Models]]></title>
      <guid>http://www.phpdeveloper.org/news/13806</guid>
      <link>http://www.phpdeveloper.org/news/13806</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> has <a href="http://paul-m-jones.com/?p=1184">added a new post</a> to his blog today (in response to <a href="http://www.dragonbe.com/2010/01/zend-framework-data-models.html">this one</a> from <i>Michelangelo van Dam</i> about models in Zend Framework) on how to work with models in the <a href="http://solarphp.com">Solar Framework</a> and how the experience compares.
</p>
<blockquote>
I read the article, and wondered how hard it would be to replicate his narrative using the <a href="http://solarphp.com/">Solar Framework</a> model system. Turns out it's pretty easy: there's a lot of work that Solar does for you.
</blockquote>
<p>
He describes the process in a series of ten steps with most of them being done for you by the tools included with the framework (the ones that aren't just setup tasks). The "solar system" toolkit includes a command line application that helps you build out the models and relating them is as easy as changing some values in the model classes with methods like "hasOne" and "belongsTo".
</p>
]]></description>
      <pubDate>Fri, 08 Jan 2010 12:15:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jamie Rumbelow's Blog: Named Scopes with CodeIgniter]]></title>
      <guid>http://www.phpdeveloper.org/news/13797</guid>
      <link>http://www.phpdeveloper.org/news/13797</link>
      <description><![CDATA[<p>
<i>Jamie Rumbelow</i> has <a href="http://jamieonsoftware.com/blog/entry/named-scopes-with-codeigniter">proposed an idea</a> to help simply some of the interactions your <a href="http://codeigniter.com">CodeIgniter</a> application can have with your databases by using named scopes.
</p>
<blockquote>
Named scopes are a really powerful feature of models - they allow you to define a clean, concise syntax when performing queries within your models - and best of all, are really easy to utilize in CodeIgniter. The main principle of a named scope is that you create a method that, combined with method chaining, allows you to add details to your query (generally additional WHERE clauses).
</blockquote>
<p>
He shows two "before and after" examples of multi-line requests condensed down by making a custom model layer with methods containing the commonly used portions of the database calls and returning the "$this" object so it can be used for chaining.
</p>]]></description>
      <pubDate>Thu, 07 Jan 2010 12:20:20 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Fat Models and Skinny Controllers Bring Out the Best in Your MVC Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/13772</guid>
      <link>http://www.phpdeveloper.org/news/13772</link>
      <description><![CDATA[<p>
<a href="http://www.developer.com/design/article.php/3856246/article.htm">This new article</a> on Developer.com advocates one way of working with the MVC pattern in your framework-based applications - fat models and skinny controllers.
</p>
<blockquote>
But a framework shouldn't be considered a panacea; it remains paramount for you to continue exploring and implementing best practices, which will further enhance the maintainability, reusability, and readability of your code. One such best practice involves adhering to a design decision that produces "fat models" and "skinny controllers." The term "fat" is derived from the idea of packing as much of the data-related logic into the model as possible while maintaining a streamlined, almost barren controller.
</blockquote>
<p>
The concept applies to several web application frameworks out there, but they use the <a href="http://framework.zend.com">Zend Framework</a> to talk about the wrong way - putting most of the application logic in the controllers - and what they think is a more flexible, organized way to handle the code. A bit of code is included to help illustrate their point.
</p>]]></description>
      <pubDate>Mon, 04 Jan 2010 12:09:20 -0600</pubDate>
    </item>
  </channel>
</rss>
