<?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 13:33:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gilles Mergoil: Laravel 4 on Google AppEngine for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19740</guid>
      <link>http://www.phpdeveloper.org/news/19740</link>
      <description><![CDATA[<p>
Since Google recently announced that they'd be supporting PHP on their App Engine service, developers have been trying out various setups to see how well they'd work. In <a href="http://blog.neoxia.com/laravel-4-on-google-appengine-for-php/">this recent post</a> <i>Gilles Mergoil</i> shares some of his experience with getting a Laravel 4-based application up and running in App Engine.
</p>
<blockquote>
Now that Google App Engine opens to the PHP world and that the 4th version of the Laravel framework is officialy launched, we wanted to test these two promising technologies together at Neoxia. This blog post is the result of our tests whose goal was to have a standard Laravel 4 application on the Google App Engine PHP runtime up and running Given that an application without a database is not very useful, we also tested the Google Cloud SQL service which is the Google flavour of the MySQL database in the cloud.
</blockquote>
<p>
He works through some of the steps for his first attempt at getting it set up, but notes that the seemingly working setup wasn't actually cooperating like it should. Thanks to some log analysis (and debugging) he found a few issues - missing functions, the lack of the mcrypt extension and session/cache/logging problems. He shows how to correct each of these and then moves on to connecting the app to a Google Cloud SQL database.
</p>
Link: http://blog.neoxia.com/laravel-4-on-google-appengine-for-php]]></description>
      <pubDate>Wed, 19 Jun 2013 12:35:40 -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[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[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[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[Pablo Viquez: PHP Step by Step Debugging with JMeter, XDebug & Eclipse PDT]]></title>
      <guid>http://www.phpdeveloper.org/news/18852</guid>
      <link>http://www.phpdeveloper.org/news/18852</link>
      <description><![CDATA[<p>
In a <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">previous post</a> <i>Pablo Viquez</i> talked about integrating JMeter and Zend Debugger for testing your PHP applications. In <a href="http://www.pabloviquez.com/2012/12/php-step-by-step-debugging-with-jmeter-xdebug-eclipse-pdt/">this new post</a> he goes one more step in and talks about integrating Eclipse, JMeter and using XDebug this time for the debugging.
</p>
<blockquote>
In a <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">previous post</a> I wrote about doing step by step debugging using Zend Debugger and Zend Studio making the calls from JMeter, however not everyone has Zend Server or Zend Studio installed, and since XDebug is an awesome project I though that will be awesome to do the same using XDebug. [...] As <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger/">explained previously</a>, using the browser for API debugging can be pretty hard or nearly impossible unless you build some sort of UI, which normally I do not have time to do, so JMeter is perfect for the job!
</blockquote>
<p>
He includes the configuration changes that'll need to be made to Apache and how to set up and configure the new project in Eclipse. He also includes the setup of the jMeter plan (using his <a href="http://www.pabloviquez.com/wp-content/uploads/2012/12/JMeterXdebug.zip">example</a>) and executing it to execute the script/get the debugging information.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2012 09:47:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Debugging and Profiling PHP with Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/18795</guid>
      <link>http://www.phpdeveloper.org/news/18795</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial showing you how to effectively <a href="http://phpmaster.com/debugging-and-profiling-php-with-xdebug/">debug your applications with Xdebug</a>, a handy tool that provides more detail around your errors just by installing it.
</p>
<blockquote>
Xdebug is a free and open source project by <a href="http://derickrethans.nl/">Derick Rethans</a> and is probably one of the most useful PHP extensions. It provides more than just basic debugging support, but also stack traces, profiling, code coverage, and so on. In this article you'll see how to install and configure Xdebug, how to debug your PHP application from Netbeans, and how to read a profiling report in KCachegrind.
</blockquote>
<p>
He walks you through the installation process (installing it from a package, not compiling) and how to enable it in your "php.ini" configuration file. He also shows how to hook it into the debugger on your IDE (in this case Netbeans) to receive debug messages and be able to step through the code to easily locate the issues. Also included is some basic information about profiling your application and viewing the resulting data in something like <a href="http://kcachegrind.sourceforge.net/html/Home.html">Kcachegrind</a> or <a href="http://code.google.com/p/webgrind/">Webgrind</a> 
</p>]]></description>
      <pubDate>Fri, 23 Nov 2012 12:58:31 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Pablo Viquez: PHP debugging with JMeter and Zend Debugger]]></title>
      <guid>http://www.phpdeveloper.org/news/18633</guid>
      <link>http://www.phpdeveloper.org/news/18633</link>
      <description><![CDATA[<p>
<i>Pablo Viquez</i> has <a href="http://www.pabloviquez.com/2012/10/php-debugging-with-jmeter-and-zend-debugger">a new post to his site</a> today showing you how to debug your PHP code with the help of <a href="http://jmeter.apache.org/">JMeter</a> (an Apache project) that tests functional behavior and performance and the Zend Debugger.
</p>
<blockquote>
Now, I think JMeter is awesome, no doubt about it, however what if I want to test something while developing a new API Endpoint? well I used to be accustom to the nasty var_dump(); exit; combination or if the API was already completed I used to do error_log() everywhere and figure out the results. [...] I love the easy integration that Zend Server has with Zend Studio for debugging and I though to myself, why not just change the client that triggers the debugging console so instead of the browser use JMeter, at the end both uses HTTP so it should work, well guess what, IT DOES, and It's awesome. No more print_r, error_log, var_dump in the API, lets do the Step by Step debugging with JMeter!
</blockquote>
<p>
He walks you through the steps needed to get it all set up and working together, complete with screenshots. Really, you can use whatever debugger setup you prefer (with something like <a href="http://xdebug.org/">Xdebug</a>) and have jMeter execute on top of that - there's no interface directly between the debugger and jMeter.
</p>]]></description>
      <pubDate>Fri, 19 Oct 2012 10:15:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Do It Yourself Web Development: Setting Up Composer PHP Dependencies Manager in Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/18621</guid>
      <link>http://www.phpdeveloper.org/news/18621</link>
      <description><![CDATA[<p>
New on the "Do It Yourself!" web development site, there's a post showing you how to <a href="http://diywebdev.com/setting-up-composer-php-dependencies-manager-in-windows/">setup Composer on Windows</a> to manage the dependencies in your applications.
</p>
<blockquote>
Composer exists to overcome the problem [with PECL and PEAR being system-wide], composer is a dependencies manager that come in a form of command utilities, composer make it possible to 'plug and play' PHP packages across application no matter what frameworks we are using as long as the packages follow the shared format. With composer we can define our project dependencies simply in a 'composer.json' file, and later on we can install and update these dependencies automatically.
</blockquote>
<p>
He introduces the <a href="http://getcomposer.org">Composer</a> tool and then shows how to set it up via the <a href="https://github.com/johnstevenson/composer-setup/raw/master/Composer-Setup.exe">Windows installer</a> (with screenshots). There's two ways to set it up - "Basic" that does the install in one project and "Global" that installs it somewhere outside of the current project, available to all projects.
</p>]]></description>
      <pubDate>Wed, 17 Oct 2012 11:23:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juan Treminio: Composer Namespaces in 5 Minutes]]></title>
      <guid>http://www.phpdeveloper.org/news/18546</guid>
      <link>http://www.phpdeveloper.org/news/18546</link>
      <description><![CDATA[<p>
<i>Juan Treminio</i> has a new post to his site today talking about <a href="http://jtreminio.com/2012/10/composer-namespaces-in-5-minutes/">Composer and namespacing</a> and shows you how the two work together to make using 3rd party tools easy.
</p>
<blockquote>
You've heard of Composer, right? The nifty new tool for PHP that aims to centralize and streamline package management? Do you also know of, but don't really understand how namespaces work in PHP? Then let's set you straight! In 5 minutes you'll learn how Composer's autoloader and namespaces work!
</blockquote>
<p>He's broken it up into a few sections:</p>
<ul>
<li>Getting Composer up and running
<li>Making a basic "composer.json" file
<li>Going through what the "install" creates (including the "autoload_namespaces.php" file)
<li>Using the vendor/ autoloader
</ul>
<p>
As a bonus, he also shows how to implement your own namespacing in the "composer.json" file if you have a special case - just use the "autoload" section in the configuration (examples included).
</p>]]></description>
      <pubDate>Tue, 02 Oct 2012 15:47:32 -0500</pubDate>
    </item>
  </channel>
</rss>
