<?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>Sun, 12 Feb 2012 20:32:04 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[7php.com: Interview With Stefan Koopmanschap Symfony Community Manager]]></title>
      <guid>http://www.phpdeveloper.org/news/17461</guid>
      <link>http://www.phpdeveloper.org/news/17461</link>
      <description><![CDATA[<p>
On 7php.com there's a new <a href="http://7php.com/php-interview-with-stefan-koopmanschap/">interview with Stefan Koopmanschap</a>, the Symfony Community Manager (and well-known PHP speaker and member of the PHPBenelux user group) answering some questions about himself, Symfony and the PHP community.
</p>
<blockquote>
In this edition, I talked with Stefan Koopmanschap (<a href="http://twitter.com/skoop">@skoop</a>) the co-founder of the Dutch PHP usergroup PFZ.nl which is merged with the PHPBelgium usergroup to form the <a href="http://phpbenelux.eu/">PHPBenelux usergroup</a>. He is also an <a href="http://partners.sensiolabs.com/">official Sensio training partner</a> for Benelux and Germany. [...] Koopmanschap is much involved in the OpenSource world and is a very highly respected member in the PHP Community; he <a href="http://leftontheweb.com/message/What_PHP_needs_well_what_I_think_it_needs">advocates sensible thoughts</a> and never fails to make his point stand out in the best way he can. You can read more about him on his personal blog - <a href="http://www.leftontheweb.com/">LeftOnTheWeb</a>.
</blockquote>
<p><i>Stefan</i> answers a few questions about himself and his experience with PHP:</p>
<ul>
<li>A bit of background on who he is and when he got started with PHP
<li>How he got started with the language
<li>His opinion of PHP now versus when he first started
<li>some of the good and bad things about PHP
</ul>
<p>
You can read interviews with other PHP community members <a href="http://7php.com/tag/php-interview/">here</a>.
</p>]]></description>
      <pubDate>Mon, 30 Jan 2012 08:28:24 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jakub Zalas' Blog: Mocking Symfony Container services in Behat scenarios with Mockery]]></title>
      <guid>http://www.phpdeveloper.org/news/17428</guid>
      <link>http://www.phpdeveloper.org/news/17428</link>
      <description><![CDATA[<p>
<i>Jakub Zalas</i> has <a href="http://www.zalas.eu/mocking-symfony-container-services-in-behat-scenarios-with-mockery">a recent post</a> to his blog with a hint about how to test Symfony container services by mocking them (when testing with <A href="http://behat.org/">Behat</a>) with the help of <a href="https://github.com/padraic/mockery">Mockery</a> (and the <a href="https://github.com/PolishSymfonyCommunity/PSSMockeryBundle">PSSMockeryBundle</a>).
</p>
<blockquote>
Mocking objects in unit tests is pretty straightforward as every object used in a test case is usually created in a scope of one test class. In functional tests it's a bit harder since we either don't have full control over objects being created or it's simply too laborious to mock half the framework. [...] We're getting the service from a container [in the example] and calling a method which should send a lead. The problem is we don't want to actually call an API while executing Behat scenarios.
</blockquote>
<p>
Rather than hitting up the API for each test, he opts to create mock objects and results with the tools <a href="https://github.com/padraic/mockery">Mockery</a> has to offer. He gives code for a "is API available" method that either returns a valid container or a mocked object, depending on how it was called.
</p>]]></description>
      <pubDate>Fri, 20 Jan 2012 13:54:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Thijssen's Blog: Compatible code: starting with symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/17203</guid>
      <link>http://www.phpdeveloper.org/news/17203</link>
      <description><![CDATA[<p>
In a new post to his blog, <i>Joshua Thijssen</i> documents some of his first steps into the world of the <a href="http://symfony.com">Symfony2 framework</a> (as a developer who has lived mostly in a Zend Framework/CodeIgniter world). <a href="http://www.adayinthelifeof.nl/2011/12/01/compatible-code-starting-with-symfony2/">His post</a> doesn't compare the frameworks, it's just his discovery along the way.
</p>
<blockquote>
A <a href="https://twitter.com/#!/skoop">friend of mine</a> who is a big supporter of Symfony told me to give Symfony1 a shot. Off course I was skeptical since I knew less about symfony1 than I did on Zend_Tool. That, plus the fact we needed to autoload, bootstrap and get two frameworks up and running simultaneously. What could possibly go wrong! Conclusion: I've got my tool up and running about a 45 minutes later...
</blockquote>
<p>
He talks about the process he went through to download, setup and configure the framework and start using a "task" to create a simple executable script. He also briefly compares Symfony1 to Symfony2, noting that SF2 is a bit more "out-out-of-the-box friendly" than SF1. The overall experience was a positive one, though. You can find out more about Symfony1 <a href="http://symfony-project.org">here</a> and Symfony2 <a href="http://symfony.com">here</a>.
</p>]]></description>
      <pubDate>Fri, 02 Dec 2011 09:22:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Twig extension]]></title>
      <guid>http://www.phpdeveloper.org/news/17151</guid>
      <link>http://www.phpdeveloper.org/news/17151</link>
      <description><![CDATA[<p>
In a new post from <i>Derick Rethans</i> he talks about <a href="http://derickrethans.nl/twig-extension.html">an extension version</a> of Twig, the popular <a href="http://twig-project.com">templating engine</a> from the creators of the Symfony framework.
</p>
<blockquote>
A while ago, Fabien asked me to have a look at porting one of Twig's slowest methods, TwigTemplate::getAttribute(), into a PHP extension. It is a complex method that does a lot of different checks and look-ups. Fabien's benchmarks showed that this method was responsible for quite a large amount of time. On top of that, it didn't seem that it could be optimised any further as PHP code itself.
</blockquote>
<p>
He points to <a href="https://github.com/derickr/twig-ext">the twig-ext extension</a> that's a reworked version of the "getAttribute" method from the tool and the performance gain (about 15%) it gives. Compiled templates will automatically call this new method in the extension. This update has already been merged into <a href="http://github.com/fabpot/Twig">the main Twig repo</a>.
</p>]]></description>
      <pubDate>Mon, 21 Nov 2011 08:35:39 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: SensioLabs Connect, a week later]]></title>
      <guid>http://www.phpdeveloper.org/news/17140</guid>
      <link>http://www.phpdeveloper.org/news/17140</link>
      <description><![CDATA[<p>
On the Symfony Blog today they have an update on their latest community offering, <a href="https://connect.sensiolabs.com">SensioLabs Connect</a>, a service connecting Symfony developers all around the world. It's been one week since the release and there's <a href="http://symfony.com/blog/sensiolabs-connect-a-week-later">already some changes happening</a>.
</p>
<blockquote>
To celebrate our 1000th user on SensioLabs Connect in a week, we have just rolled out a new version that takes into account some of the <a href="http://symfony.com/blog/developing-the-symfony-community">feedback</a> we had from the community after the launch.
</blockquote>
<p>
Changes include updates to use Gravatar images if you choose not to upload a photo, fixes for a bug with email confirmations and a few new badges added to the system - "first 100 users", "attendees of SymfonyLive" and ones based on seniority in the community. A public API is in the works, but you can grab a profile in json by adding ".json" to the end of a profile URL (like <a href="https://connect.sensiolabs.com/profile/fabpot">Fabien's</a>).
</p>]]></description>
      <pubDate>Thu, 17 Nov 2011 09:47:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: Developing the Symfony Community]]></title>
      <guid>http://www.phpdeveloper.org/news/17108</guid>
      <link>http://www.phpdeveloper.org/news/17108</link>
      <description><![CDATA[<p>
In <a href="http://symfony.com/blog/developing-the-symfony-community">this new post</a> to the Symfony Blog, <i>Fabien Potencier</i> shares some of his thoughts about the Symfony community and tosses out an idea of a way to "gameify" the process to let community members proudly show off their level of involvement.
</p>
<blockquote>
When I say "community", I'm not talking about just the Symfony community, but I'm talking about all the people that are part of a larger ecosystem that makes Symfony better. [...] The corner stone of such a system is a unique account where all information are gathered and aggregated. We already have such a system on symfony-project.org but it is quite limited as it is only used for authentication.
</blockquote>
<p>
Related to this goal, they've introduced <a href="https://connect.sensiolabs.com/">SenseioLabs Connect</a>, a site for tracking accounts "on steroids" and the <a href="http://awards.symfony.com/">Symfony Community Awards</a> that lets you nominate individuals for awards like "Best Blogger", "Best Support in the Forum" and "Best Evangelist". <a href="http://awards.symfony.com/">Voting</a> is open and will run until December 24th with the winners announced in January 2012.
</p>]]></description>
      <pubDate>Wed, 09 Nov 2011 12:50:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: All symfony 1.x versions available on Github]]></title>
      <guid>http://www.phpdeveloper.org/news/17043</guid>
      <link>http://www.phpdeveloper.org/news/17043</link>
      <description><![CDATA[<p>
<i>Fabien Potencier</i> has <a href="http://symfony.com/blog/all-symfony-1-x-versions-available-on-github?">made an announcement</a> on the Symfony Blog today about all the availability of previous Symfony versions on github.
</p>
<blockquote>
symfony1 is well and alive and many developers are now using it for projects hosted on Git. But as the official symfony 1 repository is hosted on Subversion, it's not always easy to get things versioned easily. As of today, this becomes much more easier. If you are using Git and symfony1, you can now use the official symfony1 <a href="https://github.com/symfony/symfony1">Git</a> clone.
</blockquote>
<p>
There are branches for each of the major 1.x releases as well as tags for some of the minor releases. You can, of course, still access the latest packages directly via the <a href="http://www.symfony-project.org/">symfony website</a>.
</p>
]]></description>
      <pubDate>Wed, 26 Oct 2011 09:15:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework 2.0: Dependency Injection (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/16953</guid>
      <link>http://www.phpdeveloper.org/news/16953</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Padraic Brady</i> takes a look at <a href="http://blog.astrumfutura.com/2011/10/zend-framework-2-0-dependency-injection-part-1/">dependency injection in Zend Framework 2.0</a>. In this first part, however, he introduces the concept of "dependency injection" and offers a few suggestions on its use and tools that can make it simpler.
</p>
<blockquote>
If you've been watching the PHP weather vane (we call it Twitter for short), you may have noticed a shift in Symfony and Zend Framework. Version 2.0 of both web application frameworks feature Dependency Injection Containers (DICs) as the primary means of creating the objects (and even Controllers) your application will use. This is an interesting shift in a programming language that often stubbornly evaded adopting DICs to any great extent. 
</blockquote>
<p>
He introduces dependency injection (DI) as a method for "injecting" objects and configurations into other interfaces without any specific kind of relation between the two. Part of several DI implementations is a container that does some of the magic object creation for you. He applies this concept to a Zend Framework structure and talks briefly about why these containers are "the devil" because they (usually) add complexity where none is needed. He points out one container library, <a href="http://pimple.sensiolabs.org/">Pimple</a>, that gets it right in his opinion - defining object creation as closures. In the next part of the series, he'll compare the Zend Framework's DI setup against Pimple (and Symfony's) implementations.
</p>]]></description>
      <pubDate>Wed, 05 Oct 2011 12:34:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: SymfonyCamp Ukraine 2011]]></title>
      <guid>http://www.phpdeveloper.org/news/16952</guid>
      <link>http://www.phpdeveloper.org/news/16952</link>
      <description><![CDATA[<p>
As <a href="http://symfony.com/blog/symfonycamp-ukraine-2011">mentioned on the Symfony blog</a> today, there's a reminder about the <a href="http://2011.symfonycamp.org.ua/">Symfony Camp conference</a> being held in Kiev, Ukraine on October 29th.
</p>
<blockquote>
<a href="http://bit.ly/qKJUcD">Registration</a> is free! The main topic of the conference will be Symfony2 and all related aspects. The schedule, however, is not fully determined yet. If you have something interesting to present, then <a href="https://spreadsheets.google.com/spreadsheet/viewform?formkey=dE53Q1FMUFFiQ1hYdUdQTklUSUFvN1E6MQ#gid=0">submit your proposal here</a>.
</blockquote>
<p>
You can find out more about the event from <a href="http://2011.symfonycamp.org.ua/">its main website</a> or <a href="http://phpdeveloper.org/news/16864">our own summary</a>.
</p>]]></description>
      <pubDate>Wed, 05 Oct 2011 11:50:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: Symfony Day Cologne 2011 - Countdown]]></title>
      <guid>http://www.phpdeveloper.org/news/16909</guid>
      <link>http://www.phpdeveloper.org/news/16909</link>
      <description><![CDATA[<p>
<i>Eveline Kaik</i> has posted a reminder about the upcoming Symfony-related event, <a href="http://symfony.com/blog/symfony-day-cologne-2011-countdown">Symfony Day Cologne 2011</a>, happening on October 21st (and a workshop day in the 20th) happening at <a href="http://www.komed.de/home.4.en.html">Komed Im Mediapark</a>.
</p>
<blockquote>
Only one month to go: for the third time, the <a href="http://www.symfonyday.com/">Symfony Day</a> will take place in Cologne. 2011 is without a doubt an important year for our favorite framework: Symfony Live Events took place in San Francisco and Paris. A stable release of Symfony2 has been available since summer, and next month, on October 21st 2011, another Symfony Day will bring the community together at Cologne Mediapark.
</blockquote>
<p>
For more information on the event including a map to the location, information on the speakers <a href="http://www.symfonyday.com/en/conference-day.html">presenting</a> 
 and how to <a href="http://www.symfonyday.com/en/register.html">register</a>, visit the <a href="http://www.symfonyday.com">event's website</a>. The cost for a conference-only ticket is 129 Euro and a conference+workshop ticket comes in just under 250 Euro (only the "Security", "Build-Your-Own Framework" and "High Performance" workshops still available).
</p>]]></description>
      <pubDate>Mon, 26 Sep 2011 13:39:38 -0500</pubDate>
    </item>
  </channel>
</rss>

