<?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>Mon, 21 May 2012 09:49:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: Using git-svn with Symfony2's deps installer]]></title>
      <guid>http://www.phpdeveloper.org/news/17768</guid>
      <link>http://www.phpdeveloper.org/news/17768</link>
      <description><![CDATA[<p>
In <a href="http://www.leftontheweb.com/message/Using_gitsvn_with_Symfony2s_deps_installer">this latest post</a> to his blog <i>Stefan Koopmanschap</i> shares a quick tip about using the git-svn tool with the dependency installer in a Symfony2-based application.
</p>
<blockquote>
I work a lot with Symfony2's deps file for installing 3rd party bundles into my project (yeah I know, I should be using Composer, right?). This works really well when working with pure Git. However, when you're not using Git on it's own but instead use git-svn, you may run into some issues when issuing git svn dcommit,
</blockquote>
<p>
One issue relates to a "Failed to read object" error that could come up during the push. His solution involves a few steps (manual ones) to prepare those bundle directories and make it easier to push the rest of your changes. He also includes a few links to other resources that he found around the same topic.
</p>]]></description>
      <pubDate>Tue, 03 Apr 2012 10:52:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Henrik Bj&oslash;rnskov' Blog: Symfony2: Quick tip for your security configuration]]></title>
      <guid>http://www.phpdeveloper.org/news/17307</guid>
      <link>http://www.phpdeveloper.org/news/17307</link>
      <description><![CDATA[<p>
<i>Henrik Bj&oslash;rnskov</i> has a <a href="http://henrik.bjrnskov.dk/symfony2-security-configuration-tip/">quick new post</a> with a security tip for those using the Symfony2 framework in its configuration.
</p>
<blockquote>
Earlier when playing around with the Security component and SecurityBundle i found that for all paths you can specify a route name and the component will match it when check for the request paths. 
</blockquote>
<p>
Setting this up in your configuration gives you more control over the paths that are matched as well as more flexibility in defining them. He includes a note about a change you might have to make to the SecurityBundle's code to get the "check_path" part working correctly. You can find out more about the SecurityBundle's integration in <a href="http://tracehello.wordpress.com/2011/07/25/symfony2-securitybundle/">this blog post</a> from <i>Pablo Bandin</i>.
</p>]]></description>
      <pubDate>Tue, 27 Dec 2011 08:40:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Leasewebs Labs: Painless (well, less painful) migration to Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/17299</guid>
      <link>http://www.phpdeveloper.org/news/17299</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has written up an article on the Leaseweblabs.com blog about <a href="http://www.leaseweblabs.com/2011/12/painless-well-less-painful-migration-to-symfony2/">migrating a Symfony 1 application to Symfony2</a> in a (slightly) less painful way that making the move all at once.
</p>
<blockquote>
It is much easier to do a gradual migration. Start with one part of your application, and bit by bit migrate your logic and application. The traditional way of doing such migrations is to create a new project and have parallel development on the old and the new version of the application. The problem with this, though, is that when you make a change to your old application, you have to make the same change in the new codebase, essentially doubling the amount of work for each feature you need to implement. [...] You could wrap your old application into your Symfony2 application, and have different parts of your application be handled by different versions of your codebase.
</blockquote>
<p>
With the help of a bundle he created, <a href="https://github.com/Ingewikkeld/IngewikkeldWrapperBundle">IngewikkeldWrapperBundle</a> that handles the rerouting of your requests based on where the requested resource exists (in the Symfony 1 or 2 codebase). 
</p>]]></description>
      <pubDate>Fri, 23 Dec 2011 11:02:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dzone.com: Two Symfony2 Bundle Repositories]]></title>
      <guid>http://www.phpdeveloper.org/news/17294</guid>
      <link>http://www.phpdeveloper.org/news/17294</link>
      <description><![CDATA[<p>
On DZone.com <i>John Esposito</i> has a new post sharing <a href="http://css.dzone.com/articles/two-symfony2-bundle">two Symfony2 bundle repositories</a> you can look to to improve your development experience with the framework - KnpBundles and Symfohub.
</p>
<blockquote>
If you're using Symfony2, you already know that the framework uses '<a href="http://symfony.com/doc/2.0/book/page_creation.html#page-creation-bundles">bundles</a>', the equivalent of plugins, if the core counted as a plugin too. (The <a href="http://symfony.com/doc/2.0/book/page_creation.html#page-creation-bundles">official documentation</a> calls bundles 'first-class citizens' in Symfony2.) So far so great idea, but an ecosystem depends on a community, and a community needs some kind of organization. So how is the Symfony2 bundle community organized, and how do you find existing third-party bundles? 
</blockquote>
<p>
<a href="http://knpbundles.com/">KnpBundles</a> provides a larger resource than <a href="http://symfohub.com/bundles">Symfohub</a>, but both have handy features to help you find what you're looking for - filtering, search recommendations and rankings.
</p>]]></description>
      <pubDate>Thu, 22 Dec 2011 12:05:43 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schmitt's Blog: A New Killer Feature for Symfony2 Security]]></title>
      <guid>http://www.phpdeveloper.org/news/17065</guid>
      <link>http://www.phpdeveloper.org/news/17065</link>
      <description><![CDATA[<p>
<i>Johannes Schmitt</i> has <a href="http://blog.jmsyst.com/2011/10/new-killer-feature-for-symfony2.html">a new post</a> about his "killer feature" he's added to the security for <a href="http://symfony.com">Symfony2</a> framework (as a bundle) - a new customized expression-based query language that's compiled down to native PHP to make permissions checking simpler and faster.
</p>
<blockquote>
If you have used the Symfony2 Security Component to any modest degree, you will know that we have a quite heavy voting system which uses attributes like "IS_AUTHENTICATED_FULLY" to make authorization decisions. [...] If you are concerned about performance, then you should not be all too generous with the isGranted() calls. The second option would work as well, but writing a new voter each time you need to make a new check does not really seem ideal either. Fortunately, we can do better.
</blockquote>
<p>
He includes an example of this expression language in a direct isGranted() call, a string that checks to see if a user has three different roles, and a snippet showing the same thing in the docblock comment of a controller method. The second is a bit more complex, checking for an admin role or if the user is the one that should be deleted. You can <a href="https://github.com/schmittjoh/JMSSecurityExtraBundle/blob/master/Resources/doc/index.rst">find more doucmentation here</a>.
</p>]]></description>
      <pubDate>Mon, 31 Oct 2011 14:26:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schl&#252;ter's Blog: Symfony 2 and mysqlnd]]></title>
      <guid>http://www.phpdeveloper.org/news/16938</guid>
      <link>http://www.phpdeveloper.org/news/16938</link>
      <description><![CDATA[<p>
<i>Johannes Schl&#252;ter</i> has <a href="http://schlueters.de/blog/archives/161-Symfony-2-and-mysqlnd.html">a new post to his blog</a> today about a bundle he's created for the Symfony2 framework that integrates some of the advanced statistics <a href="http://php.net/mysqlnd">mysqlnd</a> provides back to the framework's profiler tool - <a href="http://github.com/johannes/JSMysqlndBundle">JSMysqlndBundle</a>.
</p>
<blockquote>
Symfony provides a nice feature, which is the Symfony Profilier, an extensive logging and reporting system for Symfony developers to understand what's going on. A part of it is the Doctrine query logger which lists all database queries executed by Doctrine and their execution time. This is nice but when we're using mysqlnd in our PHP build we have more information available. "So why not use that information," I thought and built a new bundle for Symfony 2 doing exactly that.
</blockquote>
<p>
His bundle takes the <a href="http://php.net/mysqlnd.stats">"150 or so" statistics</a> and <a href="http://schlueters.de/blog/uploads/screenshots/symfony_mysqlnd.png">drops them into the profiler</a>, giving you even more insight into how your script is running. The bundle is <a href="https://github.com/johannes/JSMysqlndBundle">available on github</a>, making it simpler to fork and extend to add other features (some he suggests include caching and replication decisions using information from other mysqlnd plugins).
</p>]]></description>
      <pubDate>Mon, 03 Oct 2011 09:22:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: Integrating Magento into Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/16895</guid>
      <link>http://www.phpdeveloper.org/news/16895</link>
      <description><![CDATA[<p>
On the Liip blog today, there's a quick post about <a href="http://blog.liip.ch/archive/2011/09/21/integrating-magento-into-symfony2.html">integrating Symfony2 and Magento</a>, the popular PHP-based ecommerce platform.
</p>
<blockquote>
So last week <a href="https://github.com/liip/LiipMagentoBundle/contributors">four developers</a> sat together on a regular Hackday to see what's needed to hook up Magento into Symfony. To make this short the outcome is a <a href="https://github.com/liip/LiipMagentoBundle">Magento bundle for Symfony2</a>. When we met in the morning we weren't even sure what exactly to try out but soon agreed on implementing a Symfony authentication which uses the Magento customer database.
</blockquote>
<p>
The post talks about some of the issues they came across in their work - mainly a problem with incompatible autoloaders. There were also problems getting the logins to play nicely with each other and each product's session handling. You can find the current results from their hacking in <a href="https://github.com/liip/LiipMagentoBundle">this bundle</a> posted to github.
</p>]]></description>
      <pubDate>Thu, 22 Sep 2011 12:47:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: Importing Symfony2 security settings from a bundle]]></title>
      <guid>http://www.phpdeveloper.org/news/16772</guid>
      <link>http://www.phpdeveloper.org/news/16772</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Robert Basic</i> takes a brief look at <a href="http://robertbasic.com/blog/importing-symfony2-security-settings-from-a-bundle/">importing Symfony2 security settings</a> from a bundle he's been creating back into the main configuration.
</p>
<blockquote>
I started to work on/figuring out the <a href="http://symfony.com/doc/current/book/security.html">security part</a> in Symfony2 and one part where the docs fail so far is to explain how to import security settings from a bundle. Once I put some thinking into it, it's pretty easy actually. Simply import the needed security file in your main config file.
</blockquote>
<p>
His trick is to use the "imports" key in his YAML config file to define the resource to pull from in his config.xml. More information on the format of the security file can be <a href="http://symfony.com/doc/current/book/security.html#basic-example-http-authentication">found here</a> in the Symfony documentation. It helps you define authentication mechanisms, authorization models and working with access control and roles. 
</p>]]></description>
      <pubDate>Thu, 25 Aug 2011 11:58:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: Mink library integration bundle for Symfony2 (for Behat)]]></title>
      <guid>http://www.phpdeveloper.org/news/16231</guid>
      <link>http://www.phpdeveloper.org/news/16231</link>
      <description><![CDATA[<p>
<i>Konstantin Kudryashov</i> has linked to a new tool that's adds BehatMink browser abstraction library for your Symfony2 project as a part of the <a href="http://behat.org">Behat</a> project (a BDD testing tool for PHP).
</p>
<blockquote>
You can now test your Symfony2 applications with PHPUnit and Mink, thanks to brand new MinkBundle.
</blockquote>
<p>
This new tool provides a clean API, support for Symfony2's test.client browser emulator and support for the Goutte and Sahi browser emulators as well. In <a href="https://github.com/Behat/MinkBundle#readme">the README</a> on it's github page, they've provided some sample code snippets that show how to register the namespaces, add it to your application kernel/add the config, enable the GoutteDriver and SahiDriver and, of course, write a first test.
</p>]]></description>
      <pubDate>Thu, 21 Apr 2011 11:44:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Query7.com: A Look At PHP 5.3 Frameworks - Symfony2]]></title>
      <guid>http://www.phpdeveloper.org/news/16036</guid>
      <link>http://www.phpdeveloper.org/news/16036</link>
      <description><![CDATA[<p>
On Query7.com today they've posted the first in a series looking at frameworks that are more PHP 5.3 centric. They <a href="http://query7.com/a-look-at-php-53-frameworks-symfony2">start things off</a> with a very popular framework that currently has a major update in the works - <a href="http://symfony-reloaded.org/">Symfony2</a>.
</p>
<blockquote>
Ever since PHP5.3 was released we have seen several new frameworks pop up in the PHP community. In this series of articles we will look at and evaluate some of the next generation PHP frameworks. Today we look at <a href="http://symfony-reloaded.org/">Symfony2</a>.
</blockquote>
<p>
He starts with an overview of what the framework has to offer - things like the expected MVC structure, database integration with Doctrine2 and templating with Twig - as well as its heavy use of dependency injection. He also mentions its ability to use PHP, XML or YAML for configuration files as well as other features like bundles, large support for testing and built-in HTTP caching. He also briefly mentions something that is the heart and soul of any open source project - its community.
</p>]]></description>
      <pubDate>Mon, 14 Mar 2011 08:38:22 -0500</pubDate>
    </item>
  </channel>
</rss>

