<?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, 19 Jun 2013 02:11:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Setting up EC2 for Drupal with Puppet]]></title>
      <guid>http://www.phpdeveloper.org/news/17539</guid>
      <link>http://www.phpdeveloper.org/news/17539</link>
      <description><![CDATA[<p>
In <a href="http://matthewturland.com/2012/02/13/setting-up-ec2-for-drupal-with-puppet/">this new post</a> to his blog <i>Matthew Turland</i> shows how to set up a <a href="http://docs.puppetlabs.com/guides/introduction.html">puppet</a> configuration to deploy and set up an EC2 environment for Drupal.
</p>
<blockquote>
I'm currently working on a project that involves running <a href="http://drupal.org/">Drupal</a> on <a href="http://aws.amazon.com/ec2/">Amazon EC2</a>. To save time in setting up future new VM instances, I decided to take the opportunity to learn <a href="http://docs.puppetlabs.com/guides/introduction.html">puppet</a>. For the time being, I'm using a single VM to run the full LAMP stack and running puppet <a href="http://docs.puppetlabs.com/#part-one-serverless-puppet">without a server</a> by copying my puppet manifest to the VM and using <a href="http://docs.puppetlabs.com/guides/tools.html#puppet-apply-or-puppet">puppet's apply command</a> to apply it locally. However, this manifest can easily be adapted for a multi-VM environment.
</blockquote>
<p>
He includes the full configuration in the post that does a few things including setting up the correct PHP timezone, starting up the Apache instance, installing a few PHP modules (like PDO, MySQL and GD) and setting up the MySQL server. He also includes the commands needed to run the configuration and point it at the correct EC2 instance.
</p>]]></description>
      <pubDate>Tue, 14 Feb 2012 11:14:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Larry Garfield's Blog: PHP project structure survey]]></title>
      <guid>http://www.phpdeveloper.org/news/17401</guid>
      <link>http://www.phpdeveloper.org/news/17401</link>
      <description><![CDATA[<p>
<i>Larry Garfield</i> has posted the results of some of his research into popular PHP frameworks and projects and <a href="http://www.garfieldtech.com/blog/php-project-structure">see how they handle their structure</a> as it relates to the PSR-0 standard.
</p>
<blockquote>
As <a href="http://drupal.org/">Drupal</a> is in the process of considering how to restructure code to best leverage the PSR-0 standard, I figured it would be wise to take a quick survey of how some other major projects organize their code bases. This is not a complete rundown of every project, simply roughly comparable notes for those areas Drupal is currently discussing. I am posting it here in the hopes that it will be useful to more than just Drupal.
</blockquote>
<p>The projects he looked to for his examples were:</p>
<ul>
<li><a href="http://cakephp.org/">CakePHP</a>
<li><a href="http://symfony.com/">Symfony2</a>
<li><a href="http://silex.sensiolabs.org/">Silex</a>
<li><a href="http://codeigniter.com/">CodeIgniter</a>
<li><a href="https://github.com/zendframework/zf2">Zend Framework 2</a>
<li><a href="http://packagist.org/">Composer</a>
</ul>]]></description>
      <pubDate>Mon, 16 Jan 2012 13:08:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Drupal using Symfony2 HttpFoundation is huge]]></title>
      <guid>http://www.phpdeveloper.org/news/16820</guid>
      <link>http://www.phpdeveloper.org/news/16820</link>
      <description><![CDATA[<p>
As <i>Lukas Smith</i> mentions in his <a href="http://pooteeweet.org/blog/0/1985#m1985">latest post</a>, the <a href="http://drupal.org/">Drupal</a> project has made a switch to use the HttpFoundation component of the <a href="http://symfony-project.org">Symfony2</a> project as a integral part of their HTTP handling.
</p>
<blockquote>
[...] The fact that Drupal8 will use Symfony'2 <a href="https://github.com/symfony/HttpFoundation">HttpFoundation</a> component is huge, because it will make integration a breeze. Basically Symfony2 converts a Request instance to a Response. So if both Symfony2 and Drupal8 use the same <a href="https://github.com/symfony/HttpFoundation/blob/master/Request.php">Request</a> and <a href="https://github.com/symfony/HttpFoundation/blob/master/Response.php">Response</a> classes it means that creating a sub-request and handing the response from Drupal8 into Symfony2 (or vice versa) will require no conversion at all.
</blockquote>
<p>
He also points out Drupal's use of the <a href="https://github.com/symfony/ClassLoader">ClassLoader</a> component will make integration even easier. This is great news for Symfony fans out there that have been needing to work directly with a Drupal install (or even those wanting to create new Drupal additions in the environment they're familiar with). You'll have to wait for Drupal 8 to get these benefits, though.
</p>]]></description>
      <pubDate>Tue, 06 Sep 2011 11:37:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Artur Graniszewski's Blog: Drupal 7: HipHop for PHP vs APC - benchmark]]></title>
      <guid>http://www.phpdeveloper.org/news/16362</guid>
      <link>http://www.phpdeveloper.org/news/16362</link>
      <description><![CDATA[<p>
<i>Artur Graniszewski</i> has written up a comparison of the performance of a standard Durpal 7 installation using <a href="http://php.webtutor.pl/en/2011/05/17/drupal-hiphop-for-php-vs-apc-benchmark/">HipHop versus APC</a> to handle the optimization of the application.
</p>
<blockquote>
There have been many suggestions on improving Drupal performance, some of them recommend the use of APC module, data caching, or even compilation of the entire system through HipHop for PHP. While the first two solutions have been successfully implemented, no one was able to perform the build process. After many battles with the the compiler and the Drupal code, I present you results of the first successful translation of Drupal 7 to C++ language
</blockquote>
<p>
He introduces the methods he used and the statistics of the platform (hardware) he tested with. He also includes the software used and compile commands used to create the compiled Drupal version. Included in the post are graphs showing CPU usage comparing the two types of testing (HipHop and APC) versus a normal PHP-based installation. It also briefly touches on concurrency levels and the different optimizations that could be made with the gcc compiler.
</p>]]></description>
      <pubDate>Thu, 19 May 2011 11:01:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Drupal and the Future of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16192</guid>
      <link>http://www.phpdeveloper.org/news/16192</link>
      <description><![CDATA[<p>
On the Zend Developer Zone <i>Cal Evans</i> has <a href="http://devzone.zend.com/article/13773-Dries-Buytaert-Staking-our-future-on-PHP">posted some encouragement</a> about sharing your own thoughts about the post from <i>Dried Buytaert</i> about the <a href="http://buytaert.net/staking-our-future-on-php">future of PHP and Drupal</a>.
</p>
<p>
As <i>Dries</i> says in <a href="http://buytaert.net/staking-our-future-on-php">his blog</a>:
</p>
<blockquote>
It seems that we have arrived at a point in which there is a symbiotic relationship between PHP and the most popular PHP applications. A relationship that did not exist when PHP was created. Symbiotic relationships are obligatory: we depend entirely on each other for survival. And yet, I feel like we've been living apart. It makes sense for us (i.e, application developers) to contribute to the development of PHP, and for the PHP core developers to work more closely with the developers of the most popular PHP applications.
</blockquote>
<p>
He points out that, in <a href="http://acquia.com/">Acquia</a>'s case, 
 there's just not enough time for the group to contribute back to the PHP project. Other posts surrounding this same discussion have also noted that there's not a good mechanism for people to "give back" to the PHP project and that getting involved requires a certain skillset that lots of developers don't have.
</p>]]></description>
      <pubDate>Wed, 13 Apr 2011 14:02:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Till Klampaeckel's Blog: A roundhouse kick, or the state of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16186</guid>
      <link>http://www.phpdeveloper.org/news/16186</link>
      <description><![CDATA[<p>
Inspired by some of the recent discussions in the PHP community about the future of the language and the software that uses it, <i>Till Klampaeckel</i> has posted some of <a href="http://till.klampaeckel.de/blog/archives/150-A-roundhouse-kick,-or-the-state-of-PHP.html">his own thoughts</a> on the matter.
</p>
<blockquote>
Last week the usual round of PEAR-bashing on Twitter took place, then this morning Marco Tabini asked if PHP (core) was running out of scratches to itch. He also suggests he got this idea from Cal Evan's blog post about Drupal forking PHP.
</blockquote>
<p>
<i>Till</i> talks about a few different points others have made in their comments and tries to clear a few things up - the state of PECL, Drupal and PHP (and forking), PEAR and how some of this infighting might be doing more harm than good for the community.
</p>]]></description>
      <pubDate>Wed, 13 Apr 2011 08:23:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: Four reasons why Drupal should fork PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16176</guid>
      <link>http://www.phpdeveloper.org/news/16176</link>
      <description><![CDATA[<p>
In a recent post <i>Cal Evans</i> shares his opinion on why he thinks the <a href="http://blog.calevans.com/2011/04/07/four-reasons-why-drupal-should-fork-php/">Drupal project should fork PHP</a> and what benefits he sees for them in doing it.
</p>
<blockquote>
Obviously moving the functionality [of Drupal] - not to mention the existing userbase - to a new language would be a herculean task; but what if the new language was just a version of the old. What if Drupal forked PHP and began working on its own version? With that thought in mind, I began to think hard about reasons they would want to do this. Here are the four best I came up with.
</blockquote>
<p>
<i>Cal</i> list of advantages include an improved development process based on Drupal practices, the creation of a tailor made language they could tweak to just their needs, tighter integration between language and application and, of course, the ability to control the future of the language according to their needs.
</p>]]></description>
      <pubDate>Mon, 11 Apr 2011 13:05:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cal Evans' Blog: A List of Drupal Podcasts]]></title>
      <guid>http://www.phpdeveloper.org/news/15973</guid>
      <link>http://www.phpdeveloper.org/news/15973</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> has a new post to his blog today listing some of the <a href="http://blog.calevans.com/2011/02/26/drupal-podcasts/">more popular Drupal podcasts</a> that he's found for his wife to listen to on her way in to work. 
</p>
<blockquote>
The <a href="http://kathyevans.biz/">lovely and talented Kathy</a> has been working with <a href="http://drupal.org/">Drupal</a> now for a year and has decided that she really likes it. Since I believe in using commute time to learn, I decided to see what I could find for her to listen to on her daily commute. I found several active Drupal podcasts and vidcasts. Here's the list I gave to her, if you are into Drupal, give them a listen and quit wasting that morning commute waiting for the shock-jocks to actually say something funny.
</blockquote>
<p>
The podcasts on his list include the <a href="http://itunes.apple.com/us/podcast/acquia-podcast-series/id283528188">Acquia Podcast Series</a>, the <a href="http://itunes.apple.com/us/podcast/lullabot-drupal-podcast/id117672529">Lullabot Drupal Podcast</a> and the <a href="http://itunes.apple.com/us/podcast/learn-by-the-drop-videos/id287918893">Learn By The Drop Videos</a>.
</p>]]></description>
      <pubDate>Mon, 28 Feb 2011 13:55:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly Broadcast: Getting Drupal and mod_security to Play Nicely Together on Red Hat 5.x Servers]]></title>
      <guid>http://www.phpdeveloper.org/news/15389</guid>
      <link>http://www.phpdeveloper.org/news/15389</link>
      <description><![CDATA[<p>
One of the ways you can help to secure your web application is to use the Apache module <a href="http://www.modsecurity.org/">mod_security</a>. It allows you to specify extra rules and settings to help prevent issues that would normally pass on through. Unfortunately, it may not play nicely with all web-based applications. In <a href="http://broadcast.oreilly.com/2010/11/getting-drupal-and-mod-securit.html">this new article</a> on the O'Reilly Broadcast, <i>Caitlyn Matrin</i> describes some of the steps she took to get mod_security and <a href="http://drupal.org/">Drupal</a> to cooperate.
</p>
<blockquote>
Deploying <a href="http://drupal.org/">Drupal</a> on an <a href="http://www.apache.org/">Apache</a> web server with mod_security or adding <a href="http://www.modsecurity.org/">mod_security</a> to an Apache server with Drupal running should be as easy as installing the relevant packages. Unfortunately, on <a href="http://www.redhat.com/rhel/server/">Red Hat Enterprise Linux</a> (RHEL) 5.4 and 5.5 servers it just isn't so. This is due to a combination of a bug and an outdated <a href="http://www.owasp.org/index.php/Category:OWASP_ModSecurity_Core_Rule_Set_Project">Core Rule Set</a> (CRS) in the current mod_security package in the <a href="http://fedoraproject.org/wiki/EPEL">EPEL (Extra Packages for Enterprise Linux)</a> repository. I've seen lots of posts online where people were struggling with this combination so I decided a how-to article was in order. 
</blockquote>
<p>
She walks you through the install process for mod_security (assuming you already have Apache and Drupal installed), what settings to change, directories and permissions to add and how to replace the old Core Rule Set with a newer version.
</p>]]></description>
      <pubDate>Fri, 05 Nov 2010 09:31:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Larry Garfield's Blog: Architectural priorities]]></title>
      <guid>http://www.phpdeveloper.org/news/15197</guid>
      <link>http://www.phpdeveloper.org/news/15197</link>
      <description><![CDATA[<p>
<i>Larry Garfield</i> has <a href="http://www.garfieldtech.com/blog/architectural-priorities">a recent post to his blog</a> that outlines what he thinks are some of the top priorities you should take into consideration when architecting your next application - small or large - and lays that structure on top of what the <a href="http://drupal.org">Drupal</a> project is doing.
</p>
<blockquote>
Understanding architecture, and the trade-offs that different architectures imply, is an important part of any software project. [...] To be able to speak and think about the design of your system properly, though, you need to understand the trade-offs that come with it. There is no such thing as a free lunch, and designing a system to be powerful in one way invariably tends to harm it in another. It is important to know what your priorities are before you start building; and in a distributed collaborative environment like Drupal to all agree what those priorities are, at least to a large extent.
</blockquote>
<p>
Talks about software architecture design patterns (like Model-View-Controller or Naked objects) including one that's not so much a pattern as an evolution - monolithic architecture. Among the list of things he suggests considering are subjects like:
</p>
<ul>
<li>Modifiability
<li>Testability
<li>Performance
<li>Scalability
<li>Usability
<li>Maintainability
</ul>
<p>
He compares this list to how the Drupal project is run and finds a large emphasis on extensibility, modularity, scalability. These came at the cost of testability, verifiability and understandability however.
</p>]]></description>
      <pubDate>Tue, 28 Sep 2010 10:48:44 -0500</pubDate>
    </item>
  </channel>
</rss>
