<?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, 22 May 2013 18:30:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Reddit.com: ]]></title>
      <guid>http://www.phpdeveloper.org/news/19619</guid>
      <link>http://www.phpdeveloper.org/news/19619</link>
      <description><![CDATA[<p>
Over on Reddit.com recently a discussion was kicked off asking people <a href="http://www.reddit.com/r/PHP/comments/1em2ne/preferred_framework_for_rest_usage/">what framework they used for REST</a> - their tool of choice for making API creation simple.
</p>
<blockquote>
I was wondering what people here preferred for setting up REST APIs. Specifically if they had a preferred PHP framework for setting them up. in the past I had used CodeIngiter but am looking at Laravel some recently. I don't anticipate extremely heavy usage but I'd like to easily update the framework when it has new releases without a real pain working around my models and controllers.
</blockquote>
<p>Several different options were mentioned in the comments including:</p>
<ul>
<li><a href="http://flightphp.com/">Flight</a>
<li><a href="http://silex.sensiolabs.org/">Silex</a>
<li><a href="http://symfony.com/">Symfony2</a>
<li><a href="http://phalconphp.com/">phalcon</a>
<li><a href="http://laravel.com">Laravel</a>
<li><a href="http://cakephp.org">CakePHP</a>
</ul>
<p>
Do you have a favorite you use for your REST APIs? <a href="http://www.reddit.com/r/PHP/comments/1em2ne/preferred_framework_for_rest_usage/">share it here</a>!
</p>
Link: http://www.reddit.com/r/PHP/comments/1em2ne/preferred_framework_for_rest_usage]]></description>
      <pubDate>Wed, 22 May 2013 11:52:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Openbiz Cubi: A Robust PHP Application Framework, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/19618</guid>
      <link>http://www.phpdeveloper.org/news/19618</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the second part of their look at the Openbiz Cubi framework (<a href="http://phpdeveloper.org/news/19599">part one here</a>), this time focusing on the code - mostly XML - that you'll need to create your own custom module.
</p>
<blockquote>
In the first part of this series we talked about the development challenges we face and how Openbiz Cubi can help by providing a solid, ready-to-use web application framework. In this part we'll see how to build our own module and dive a bit deeper into the core architecture of the framework.
</blockquote>
<p>
They include the SQL you'll need to run to create a new table for the "Customer" module they're going to help you build. With that in place, they walk you through the command to execute to make the module skeleton, the locations of the XML files to work with and the contents of each. Included in the module are things like a data object, a module description file and the form object. He finishes up the post with a look at the overall flow of the Cubi execution so you know where each piece falls.
</p>
Link: http://phpmaster.com/openbiz-cubi-a-robust-php-application-framework-2]]></description>
      <pubDate>Wed, 22 May 2013 10:27:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: New in Symfony 2.3: Small things matter]]></title>
      <guid>http://www.phpdeveloper.org/news/19608</guid>
      <link>http://www.phpdeveloper.org/news/19608</link>
      <description><![CDATA[<p>
On the Symfony blog today <i>Fabien Potencier</i> talks about some <a href="http://symfony.com/blog/new-in-symfony-2-3-small-things-matter">small things that matter</a> - some of the smaller updates that have been made to the Symfony 2 framework recently that have helped to make it better and more flexible.
</p>
<blockquote>
Every new Symfony release tries to brings some small but useful improvements. Let's dive into some of them for Symfony 2.3 (in no particular order).
</blockquote>
<p>Things in his list include:</p>
<ul>
<li>A text-based output of the exception handling stack trace
<li>A default configuration for the Serializer component
<li>The ability to run the framework in a production environment in development
<li>An update to make debugging configuration parameters easier
<li>Conversion process of short controller names
<li>Overload generated code in the bundle bootstrapping code
</ul>
<p>
Check out <a href="http://symfony.com/blog/new-in-symfony-2-3-small-things-matter">the post</a> for the rest of the changes on his list and check out the RC1 of Symfony 2.3.0 to see some of them in action.
</p>
Link: http://symfony.com/blog/new-in-symfony-2-3-small-things-matter]]></description>
      <pubDate>Mon, 20 May 2013 12:23:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Openbiz Cubi: A Robust PHP Application Framework, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/19599</guid>
      <link>http://www.phpdeveloper.org/news/19599</link>
      <description><![CDATA[<p>
On PHPMaster.com today they've posted the first part of a series <a href="http://phpmaster.com/openbiz-cubi-a-robust-php-application-framework-1/">spotlighting Openbiz Cubi</a>, a PHP "framework" with a business focus.
</p>
<blockquote>
Openbiz Cubi is a robust PHP application framework giving developers the ability to create business applications with minimal effort. In this two-part series I'll explain the concepts and steps necessary to create your own business web applications with Cubi. We'll look first at the challenges web developers face and how Openbiz Cubi can help, and then how to install Cubi. In part 2 we'll see how to create our own modules.
</blockquote>
<p>
They start off by describing the tool and some of the features that come with it (including user management and the XML data object structure). Complete installation instructions are included and <a href="http://cdn.phpmaster.com/files/2013/05/cubi-1-1.png">a screenshot</a> is included of the end result. They include a "quick tour" of Cubi's features and some of the modules that come with it like the System, Menu and User modules. In part two of the series, they'll show you how to create a custom module.
</p>
Link: http://phpmaster.com/openbiz-cubi-a-robust-php-application-framework-1]]></description>
      <pubDate>Fri, 17 May 2013 10:36:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Goodbye CodeIgniter, Hello Laravel]]></title>
      <guid>http://www.phpdeveloper.org/news/19555</guid>
      <link>http://www.phpdeveloper.org/news/19555</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new post from <i>Daniel Gafitescu</i> that compares CodeIgniter (an "old standby" in the PHP framework world) and Laravel, a relative newcomer. The article is broken up into a few different categories, with some sample code included to illustrate.
</p>
<blockquote>
n the beginning of my career I stumble upon CodeIgniter and I love it for its simplicity, small footprint, and good documentation. [...] But last year, because of the Twitter buzz from some in the PHP community, blog posts, and the suggestions of some friends, I give Laravel 3 a try - and since that time I've never looked back. So, in this article I'd like to present a comparison of the two frameworks from my point of view.
</blockquote>
<p>
He compares the two frameworks based on things like the requirements to get them installed, how they handle creating REST APIs, the general organization of their code (and your code using them) as well as command line support. There's a "miscellaneous" section that talks about some of the smaller differences and a (very) brief mention of the communities for each.
</p>
Link: http://phpmaster.com/goodbye-codeigniter-hello-laravel]]></description>
      <pubDate>Tue, 07 May 2013 10:37:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Systems Architect: Performance benchmark of popular PHP frameworks]]></title>
      <guid>http://www.phpdeveloper.org/news/19502</guid>
      <link>http://www.phpdeveloper.org/news/19502</link>
      <description><![CDATA[<p>
On his site today <i>Lukasz Kujawa</i> has a post that <a href="http://systemsarchitect.net/performance-benchmark-of-popular-php-frameworks/">compares some performance benchmarks</a> of several popular PHP frameworks including Slim, CodeIgniter, Laravel, Symfony2 and Zend Framework 2.
</p>
<blockquote>
There are many assumptions around performance of different PHP frameworks. I frequently hear strong opinions about superiority X over Y in this context. There are companies writing new PHP frameworks from scratch because available solutions are too slow for them. What does it really mean? Does the framework performance matters? Before answering this questions lets check how slow is your framework!
</blockquote>
<p>
He took the "quick start" projects provided for each of the examples and ran some tests with the Apache Benchmark (ab) tool against EC2 instances, all configured the same way. The results weren't overly surprising with Slim beating the others hands down (it's a micro-framework after all) and Kohana and CodeIgniter coming in second and third. The frameworks with more overhead like Zend Framework and Symfony ranked some of the slowest. 
</p>
Link: http://systemsarchitect.net/performance-benchmark-of-popular-php-frameworks]]></description>
      <pubDate>Wed, 24 Apr 2013 12:04:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Reddit.com: Dependency injection in ZF2 and Symfony 2 are service locators]]></title>
      <guid>http://www.phpdeveloper.org/news/19468</guid>
      <link>http://www.phpdeveloper.org/news/19468</link>
      <description><![CDATA[<p>
On Reddit's PHP section there's a discussion happening about <a href="http://www.reddit.com/r/PHP/comments/1caidn/dependency_injection_in_zf2_and_symfony_2_are/"> dependency injection versus service locators</a> in two popular PHP frameworks - Zend Framework 2 and Symfony 2 (and how they're not really DI at all).
</p>
<blockquote>
Both ZF2 and Symfony 2 offer the same behavior: if I'm in a controller, and I want to use a service, I have to get it from the container with $this->get('my_service').
As such, the controller is not using DI, this is the service locator pattern. Controllers become more difficult to tests because of that, and they depend on the container now. I wonder why both frameworks didn't go further: why not treat controllers like services and use dependency injection on them. In other words: if a controller needs a service "A", then it should get it in the constructor, or through setter/property injection.
</blockquote>
<p>
The <a href="http://www.reddit.com/r/PHP/comments/1caidn/dependency_injection_in_zf2_and_symfony_2_are/">comments</a> talk some about the "controller from the DI container" idea, some other ways around the problem and some clarification as to what the frameworks are actually doing related to the container injection.
</p>
Link: http://www.reddit.com/r/PHP/comments/1caidn/dependency_injection_in_zf2_and_symfony_2_are]]></description>
      <pubDate>Tue, 16 Apr 2013 12:40:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Fabien Potencier: About Symfony: Stability over Features]]></title>
      <guid>http://www.phpdeveloper.org/news/19460</guid>
      <link>http://www.phpdeveloper.org/news/19460</link>
      <description><![CDATA[<p>
<i>Fabien Potencier</i> (of the Symfony framework) has a new post to his site talking about a philosophy that the Symfony framework community should work towards, <a href="http://fabien.potencier.org/article/68/about-symfony-stability-over-features">providing stability over features</a>.
</p>
<blockquote>
Long story short: in the coming months, the Symfony core contributors should focus their efforts toward stabilizing the existing features instead of working on new ones. At this point, backward compatibility and stability are more important than everything else.
</blockquote>
<p>
He highlights some of the points that come along with this effort including less refactoring for the sake of refactoring, fixing more bugs/edge cases and writing more tests/documentation. He gets into some of the specifics of this kind of thinking and points out the things that can and can't be changed during this time. He talks more about stability and suggests that not only can it help enhance performance but it could also help motivate more projects/corporate users to start using the framework.
</p>
Link: http://fabien.potencier.org/article/68/about-symfony-stability-over-features]]></description>
      <pubDate>Mon, 15 Apr 2013 10:12:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Bennett: Do We Need a Framework For That? Or Hurry Up PHP-FIG]]></title>
      <guid>http://www.phpdeveloper.org/news/19442</guid>
      <link>http://www.phpdeveloper.org/news/19442</link>
      <description><![CDATA[<p>
In <a href="http://happyaccidents.me/blog/do-we-need-a-framework-for-that">this recent post</a> to his site, <i>Phil Bennett</i> shares some thoughts about the PHP-FIG, the standards they're proposing and how the shares interfaces might help reduce dependencies in framework-based applications.
</p>
<blockquote>
[Frameworks] come in several different flavours that all have huge advantages, but also a few disadvantages. Over engineered (because their popularity demands that they be), updated too often, not updated enough. If you decide for example to update your application from using Zend Framework 1 to using Zend Framework 2, this will more than likely require, at least in part, a re-write of your code. This makes scalability difficult.
</blockquote>
<p>
He talks some about the PSRs that the PHP-FIG group has proposed including the PSR-3 logging interface structure. He points out that, by having this same structure, it makes injecting dependencies easy while still leaving the actual functionality open to interpretation. He also suggests that maybe a framework isn't the right choice for all applications and that possibly using a collection of libraries, tied together by the PSR standards, could be a better answer.
</p>
Link: http://happyaccidents.me/blog/do-we-need-a-framework-for-that]]></description>
      <pubDate>Wed, 10 Apr 2013 13:38:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: 6 Things to Consider when Choosing a Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/19426</guid>
      <link>http://www.phpdeveloper.org/news/19426</link>
      <description><![CDATA[<p>
PHPMaster.com has posted a list of <a href="http://phpmaster.com/6-things-to-consider-when-choosing-a-framework">six things they think you should think about</a> as you're selecting the framework for your next application.
</p>
<blockquote>
You've decided that it makes sense to use a framework when writing your next new application, and chances are that if you're already familiar with a specific framework, then you'll probably be leaning towards using that one when you start. But are you sure it's really the most appropriate for the task at hand? In the name of due-diligence, here are some of questions that you should ask yourself before settling on a particular framework to make sure you're not programming "against the grain" and also to make sure it will be able to meet your needs now and in the long-term.
</blockquote>
<p>
He doesn't get into any specifics of any PHP frameworks out there, but suggests general questions to ask even before getting too deep into the technology:
</p>
<ul>
<lI>What do I need from the framework?
<li>Do I expect the framework to help manage consistency?
<li>Is good documentation available?
<li>Is the framework actively developed, and does it have an active user base?
<li>Does the framework work in what I run in production?
<li>What business factors are influencing my decision?
</ul>
<blockquote>
Not every application needs to be written using a framework. But if you've decided that yours does, then it's beneficial to compare your needs against the features and benefits of the various framework offerings.
</blockquote>
Link: http://phpmaster.com/6-things-to-consider-when-choosing-a-framework]]></description>
      <pubDate>Mon, 08 Apr 2013 11:29:07 -0500</pubDate>
    </item>
  </channel>
</rss>
