<?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, 20 May 2013 02:16:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brandon Savage: Compiling PHP 5.5 From Scratch]]></title>
      <guid>http://www.phpdeveloper.org/news/19587</guid>
      <link>http://www.phpdeveloper.org/news/19587</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has a new post to his site today showing you how to <a href="http://www.brandonsavage.net/compiling-php-5-5-from-scratch/">compile and install PHP 5.5</a>, the next major upcoming release for the language (in RC status as of the time of this post though).
</p>
<blockquote>
There's always a lag behind new releases of PHP and releases of packages for operating systems such as Ubuntu. This lag time means that you could be kept from upgrading to the latest and greatest PHP for a year or more, unless you use an outside repository like Dotdeb. [...] Instead, I roll my own version of PHP. It's simple and easy to do, and something that any developer can do. Here's my instructions for doing so on a fresh Ubuntu installation.
</blockquote>
<p>
He gives a reason or two why you might want to "roll your own" installation and helps you get the environment prepared via some "aptitude" install commands for supporting software. Commands are included for installing needed dependencies, configuring/building PHP and updating Apache to use this new install. He finishes it up with a few smaller things to do like making the php.ini and enabling the Zend opcode caching extension.
</p>
Link: http://www.brandonsavage.net/compiling-php-5-5-from-scratch]]></description>
      <pubDate>Wed, 15 May 2013 09:48:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Maven and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19569</guid>
      <link>http://www.phpdeveloper.org/news/19569</link>
      <description><![CDATA[<p>
PHPMaster.com has a new tutorial posted that introduces you to a build tool that's more common in the Java world but can <a href="http://phpmaster.com/maven-and-php/">easily support PHP projects</a>, Apache's Maven.
</p>
<blockquote>
Apache Maven is a build automation tool with the purpose of building, reporting, and creating documentation of projects. It builds projects using a Project Object Model (POM) and a set of plugins shared by all projects using Maven, thus providing a uniform build system. Once you familiarize yourself with how one Maven project builds, you automatically know how all Maven projects build. [...] Through this article you will gain familiarity with Maven for PHP, and how to install and use the PHP-Maven plugin from the command line and in Eclipse.
</blockquote>
<p>
The tutorial walks you first through the basic install of Maven and get you started with an example "settings.xml" file helping to set up the PHP-Maven plugin. They help you create your first project using the <a href="http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html">Archetype</a> plugin and its related "pom.xml" file. The project already has a defined structure (similar to what you might see in a Composer-loadable PHP repo on Github) for the source of your app and the tests. They show you how to hook in PHPUnit and phpDocumentor for testing/dcumentation builds and, finally, how to integrate it all into Eclipse to allow for easier, in-IDE interactions.
</p>
Link: http://phpmaster.com/maven-and-php]]></description>
      <pubDate>Thu, 09 May 2013 12:42:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Daniel Cousineau: Using Symfony Console From Scratch]]></title>
      <guid>http://www.phpdeveloper.org/news/19419</guid>
      <link>http://www.phpdeveloper.org/news/19419</link>
      <description><![CDATA[<p>
<i>Daniel Cousineau</i> has posted a guide to <a href="http://dcousineau.com/blog/2013/03/28/using-symfony-console-from-scratch/">using the Symfony Console component</a> as a part of your application. It introduces you to some of the basics of using the component and has plenty of sample code to get you started.
</p>
<blockquote>
CLI applications are extremely useful for many, if not most web projects. The Symfony framework even goes so far as to include an extensible CLI console used for everything from running cache cleanup/warmup tasks, to user account management. Many CLI scripts for web projects consist of just a static .php file which works fine but grow unweildy over time. Thankfully, the aforementioned Symfony Console component is released as a decoupled standalone that can be installed and setup easily and provide us with structure and organization (and some powerful features).
</blockquote>
<p>
He walks you through the installation of the component via Composer and includes the code to make a simple CLI script using it. He shows how to make new commands (like his "TestCommand") and how to attach it to the application. He talks about output and input handling with arguments and options. He also shows an integration with an existing application with a base command class that helps to set up and configure the command objects that inherit it.
</p>
Link: http://dcousineau.com/blog/2013/03/28/using-symfony-console-from-scratch/]]></description>
      <pubDate>Fri, 05 Apr 2013 12:46:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: First Phing Plugin]]></title>
      <guid>http://www.phpdeveloper.org/news/19358</guid>
      <link>http://www.phpdeveloper.org/news/19358</link>
      <description><![CDATA[<p>
In the latest post to her site, <i>Lorna Mitchell</i> walks you through the creation of <a href="http://www.lornajane.net/posts/2013/first-phing-plugin">a first Phing plugin</a>, an extension to the popular PHP-based build tool.
</p>
<blockquote>
I'm a huge fan of <a href="http://phing.info/">Phing</a> and use it regularly for build and deployment tasks. Often, I'll ask about a plugin that I wish existed, and get a very courteous "patches welcome" from the nice people in the #phing channel on freenode. This has happened a few times, so I thought I should probably look at how to make a new phing plugin, this article shows you how to make the simplest thing I could think of: a simple "hello world" plugin.
</blockquote>
<p>
She points you to the location to grab the latest version of the tool (the github repository) and how to define a configuration file for your test runs. Then she includes the sample code showing how to create the "HelloTask" plugin. It takes an input value of "name" and displays a greeting when executed. She shows the syntax for defining this in the XML build file and the sample result when executed.
</p>]]></description>
      <pubDate>Mon, 25 Mar 2013 10:49:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones: Using PHP 5.5's New "Opcache" Opcode Cache]]></title>
      <guid>http://www.phpdeveloper.org/news/19324</guid>
      <link>http://www.phpdeveloper.org/news/19324</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post to his Oracle blog today talking about the <a href="https://blogs.oracle.com/opal/entry/using_php_5_5_s">new "opcode" opcode caching</a> that's going to be built into future PHP versions This is the implementation of the Zend Optimizer+ opcode caching in a native language interface. The latest <a href="http://snaps.php.net/">PHP 5.5 snapshots</a> have it included.
</p>
<blockquote>
The new "opcache" can be seen as substitute for the venerable <a href="http://pecl.php.net/package/APC">APC cache</a>, the maintenance of which had become an issue. Note: although opcache is now readily available, there is currently nothing preventing you from using any available (working!) opcode cache in PHP 5.5.
</blockquote>
<p>
He gives you a quick guide to getting this new opcode caching enabled and compiled into a shiny new download of the PHP 5.5.x branch. You'll need a special command line flag on the compile and to update your php.ini to load the needed shares module. You can also use it if you're on PHP 5.2 or higher either by <a href="https://github.com/zend-dev/ZendOptimizerPlus">compiling this source</a> or <a href="http://pecl.php.net/package/ZendOptimizerPlus">using this PECL extension</a>.
</p>]]></description>
      <pubDate>Mon, 18 Mar 2013 09:42:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jordi Boggiano: Composer: an update on require-dev]]></title>
      <guid>http://www.phpdeveloper.org/news/19266</guid>
      <link>http://www.phpdeveloper.org/news/19266</link>
      <description><![CDATA[<p>
<i>Jordi Boggiano</i> has a new post to his site about a recent update to the Composer tool that can help make <a href="http://seld.be/notes/composer-an-update-on-require-dev">managing development-only dependencies</a> a bit easier.
</p>
<blockquote>
Using require-dev in Composer you can declare the dependencies you need for development/testing. It works in most simple cases, but when the dev dependencies overlap with the regular ones, it can get tricky to handle. In too many cases it also tends to just fail at resolving dependencies with quite strange error messages. Since this was quite unreliable, I set out to rework the whole feature this week-end. The <a href="https://github.com/composer/composer/pull/1644">patch</a> has been merged, and it fixes six open issues which is great.
</blockquote>
<p>
Additionally, to make it easier to work with the development dependencies, they'll by default be installed when you run an "update" in your repository. If you don't want them, you can still use "--no-dev". Also, Composer will manage them in a seperate section from the normal "require" packages. If you're not using Composer to manage your application's dependencies, look over on <a href="http://getcomposer.org">getcomposer.org</a> for more details.
</p>]]></description>
      <pubDate>Mon, 04 Mar 2013 12:38:33 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Aaron Pollock: Setting up a PHP development environment on a VPS]]></title>
      <guid>http://www.phpdeveloper.org/news/19106</guid>
      <link>http://www.phpdeveloper.org/news/19106</link>
      <description><![CDATA[<p>
<i>Aaron Pollock</i> has posted <a href="http://aaronpollock.co.uk/setting-up-a-php-development-environment-on-a-vps/">a detailed guide</a> that will help you get a full PHP development environment set up on a VPS, complete with a domain name and self-signed certificate.
</p>
<blockquote>
I've been developing PHP apps for over eleven years. PHP remains 85% of what I do on a daily basis. Over that time, I've tried lots of WAMP packages to run sites on my Windows computers and, since going Mac, I've used the native Apache install that comes with Mac OS X. Six months ago, I decided to try out a remote VPS for my development. The results have been so good that I forget the pain I used to experience on a daily basis doing it any other way.
</blockquote>
<p>
He walks you through the entire process (you'll need a VPS first) - it uses an Ubuntu-based setup, but the instructions are relatively easy to port over to other distributions. He helps you set up the system's hostname, install all needed packages/tools and generate the wildcard self-signed SSL certificate. Finally, he shows how to configure Apache's virtual hosts and set up a basic site.
</p>]]></description>
      <pubDate>Tue, 29 Jan 2013 12:57:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones: Quick Debugging of PHP Scripts in Emacs with Geben and Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/19085</guid>
      <link>http://www.phpdeveloper.org/news/19085</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post showing how you can <a href="https://blogs.oracle.com/opal/entry/quick_debugging_of_php_scripts">use Emacs and Xdebug for debugging</a> with the help of the <a href="http://code.google.com/p/geben-on-emacs/">geben</a> plugin.
</p>
<blockquote>
When you want to test a PHP code snippet quickly, it's handy to do it within your day-to-day environment. For me, this environment is Emacs. The geben package for Emacs provides an interface to the DBGp protocol, such as used by Derick Rethans's standard Xdebug extension for PHP. With the combination of geben and Xdebug, I can quickly and efficiently step through execution of local files, examining code flow and data values.
</blockquote>
<p>
He includes a ten step process (step 11 is basically "use it") that walks you through the installation of the full stack - PHP, Xdebug and geben - and the configuration changes you'll need to make to get them all working together. Some basic usage instructions are included, but if you want more details on using geben, check out <a href="http://code.google.com/p/geben-on-emacs/">the project's site</a>.
</p>]]></description>
      <pubDate>Thu, 24 Jan 2013 11:19:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: What's New in Zend Framework 2]]></title>
      <guid>http://www.phpdeveloper.org/news/18948</guid>
      <link>http://www.phpdeveloper.org/news/18948</link>
      <description><![CDATA[<p>
On PHPMaster.com there's a new tutorial <a href="http://phpmaster.com/whats-new-in-zend-framework-2/">introducing you</a> to Zend Framework v2:
</p>
<blockquote>
When I started writing for PHPMaster, <a href="http://phpmaster.com/setting-custom-error-messages-for-zend_form_element/">my first article</a> was about Zend Framework. Since then, the framework has released version 2 stable. Apart from the name, version 2 is really a new project compared to the older version; ZF has been totally rewritten. In this article I'll give you an overview of the new features and the changes that have been introduced.
</blockquote>
<p>
The article talks about introductory things like getting the framework installed (via a few methods, like Composer) and how the autoloader works with the file/namespace structure. They also talk about the dependencies that come with the framework and the event manager, one of the most powerful parts of the framework.
</p>]]></description>
      <pubDate>Tue, 25 Dec 2012 20:31:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell: Managing PHP 5.4 Extensions on Ubuntu]]></title>
      <guid>http://www.phpdeveloper.org/news/18820</guid>
      <link>http://www.phpdeveloper.org/news/18820</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2012/managing-php-5-4-extensions-on-ubuntu">this new post</a> to her site <i>Lorna Mitchell</i> shares a handy tip for those using Ubuntu (or a Debian-based distribution) about how to manage your PHP 5.4 extensions and the "php5enmod" tool.
</p>
<blockquote>
My shiny new VPS* runs Ubuntu 12.10 (official subtitle: Quantal Queztal. Local nickname: Quirky Kestrel) and therefore has PHP 5.4 installed. It's very new so every command I type is missing, and today I realised that included a <a href="http://pecl.php.net/">PECL</a> module (pecl_http, of course). [...] What's happened here is that all debian-flavoured unixes have adopted this standard for their PHP 5.4 packages, so if you're using debian, ubuntu, or any of their relatives with PHP 5.4, you'll see a directory structure like this. When you add a module to PHP, you'll add a file to the mods-available directory enabling the module and adding any config specific to it. 
</blockquote>
<p>
She points out that the "phpenmod" command, accompanied by the PECL extension to install, is the newer way to correctly get these extensions downloaded and configured correctly. 
</p>]]></description>
      <pubDate>Thu, 29 Nov 2012 11:08:44 -0600</pubDate>
    </item>
  </channel>
</rss>
