<?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:25:35 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Using Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/17350</guid>
      <link>http://www.phpdeveloper.org/news/17350</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial posted about <a href="http://phpmaster.com/using-phing/">using the Phing build tool</a> to automate a process, usually a build for a website launch. In his example, he shows a simple "Hello World" example and how to work with multiple targets in the same build file.
</p>
<blockquote>
Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. [...] Phing helps overcome [human error] issues by automating tasks like running unit tests, applying database changes, deploying application code, etc. In this article I'll show you some of the basics of working with Phing.
</blockquote>
<p>
He includes the commands you'll need to install Phing (if it's not already) via the PEAR installer and a basic "build.xml" file. He explains the parts of the file - tags for "project", "target" "echo" and "property - and includes a more complex build example with multiple targets (and how to call one specifically from the command line).
</p>]]></description>
      <pubDate>Thu, 05 Jan 2012 10:41:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Marshall's Blog: Traits in PHP 5.4 - HelloWorld with Logging Trait]]></title>
      <guid>http://www.phpdeveloper.org/news/16685</guid>
      <link>http://www.phpdeveloper.org/news/16685</link>
      <description><![CDATA[<p>
<i>Dave Marshall</i> is already looking ahead to the next major release of PHP, version 5.4, and one of the features it will include - traits. In <a href="http://www.davedevelopment.co.uk/2011/08/06/traits-in-php-5-4-helloworld-with-logging-trait/">this new post</a> to his blog, he introduces a "logging trait" he's come up with to make logging simpler in your (Zend Framework) application.
</p>
<blockquote>
One of the 'traits' I find myself constantly adding to library files is optional logging of it's behaviour. The library class has it's own log method, that checks to see if the instance has had a logger injected and if so, logs the message. I see this as a perfect candidate for becoming a reusable trait, as I tend to have the same code copy/pasted throughout my library classes. The problem is, according to the <a href="https://wiki.php.net/rfc/traits">rfc</a>, traits aren't supposed to have state/properties, which makes it difficult to have a DI setter method in a trait. 
</blockquote>
<p>
He includes the code for his trait example (noting that it may or may not end up working correctly in the 5.4 final release) that sets a logger on a sample class and logs a few values out to the console. It's a simple example, but it shows you one of the most useful things about traits - the "drop in resuability" nature they allow in your libraries and classes.
</p>]]></description>
      <pubDate>Mon, 08 Aug 2011 10:24:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Holmes' Blog: Hello World Azure in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14013</guid>
      <link>http://www.phpdeveloper.org/news/14013</link>
      <description><![CDATA[<p>
For anyone wanting to take those first steps into running PHP applications on an Azure platform, you should check out a new post from <i>Josh Holmes</i>. He <a href="http://www.joshholmes.com/blog/2010/02/10/HelloWorldAzureInPHP.aspx">describes the process</a> of getting it working from a command-line approach.
</p>
<blockquote>
I thought we could kick it up a notch [from his <a href="http://www.joshholmes.com/blog/ct.ashx?id=9982ec05-59ea-4d01-b20c-254288d2a23d&url=http%3a%2f%2fwww.joshholmes.com%2fblog%2f2010%2f02%2f05%2fWindowsAzureCommandLineTools.aspx">previous post</a>] and get PHP running in Azure leveraging the command line tools. The primary thing that we need to do is to copy the PHP bits up with the rest of your deployment and configure the FastCGI handler to know where the PHP interpreter can be found.
</blockquote>
<p>
Once you get PHP <a href="http://windows.php.net/download/">installed</a> testing it out is just a matter of getting his test page in the right directory, updating one of the configuration files (web.roleconfig), creating the Config/Definition files and packaging it all up with cspack. All of the contents for the sample configuration files and a screenshot of the fnal output are included.
</p>]]></description>
      <pubDate>Thu, 11 Feb 2010 13:25:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: A PHP 'Hello World' Script Using Zend Core for i5]]></title>
      <guid>http://www.phpdeveloper.org/news/13277</guid>
      <link>http://www.phpdeveloper.org/news/13277</link>
      <description><![CDATA[<p>
New on the Zend Developer Zone is <a href="http://devzone.zend.com/article/10055-A-PHP-Hello-World-Script-Using-Zend-Core-for-i5">a tutorial</a> showing a "Hello World" setup, configuration and testing of the Zend Core for the IBM i5 series from start to finish.
</p>
<blockquote>
You've successfully installed the Zend Core for i5. Now what? The process of developing PHP scripts may not be obvious to System i developers familiar with RPG and COBOL. Let's take a look at the basic steps needed to start writing PHP scripts on System i.
</blockquote>
<p>
They look at where the parts of the application are located, the steps to take to ensure it's running correctly, setting up Zend Studio and a personal development space and creating two simple scripts - one "Hello World" and the other that makes a DB2 connection to the local instance.
</p>]]></description>
      <pubDate>Thu, 24 Sep 2009 08:16:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Adobe Developer Connection: Integrated PHP and Flex Development with Zend Studio and Flex Builder]]></title>
      <guid>http://www.phpdeveloper.org/news/11688</guid>
      <link>http://www.phpdeveloper.org/news/11688</link>
      <description><![CDATA[<p>
On the Adobe Developer Connection site <i>Richard Bates</i> has recently <a href="http://www.adobe.com/devnet/flex/articles/integrated_php.html">posted a tutorial</a> covering the integration of PHP and Flex as developed in Zend Studio/Flex Builder.
</p>
<blockquote>
Tight integration between Flex and a server-side language means that your users will have an intuitive, engaging user experience with all the functionality they need. For developers, tight integration between PHP and the Flex development environments can provide big benefits by ensuring a smoother workflow for coding, debugging, and managing a project. You can make the most of such a unified environment by using Adobe Flex Builder and <a href="http://www.zend.com/en/downloads/">Zend Studio for Eclipse</a> together. 
</blockquote>
<p>
He starts with the basics - <a href="http://www.adobe.com/devnet/flex/articles/integrated_php_02.html">installing everything</a> and getting it all up and running, then making a sample "Hello World" application on both the PHP (backend) and the Flex (frontend) sides. Included in the tutorial is <a href="http://www.adobe.com/devnet/flex/articles/integrated_php_05.html">a look</a> at sending XML out to the Flex application from PHP.
</p>]]></description>
      <pubDate>Wed, 07 Jan 2009 08:41:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Abhinav Singh's Blog: PHP Extensions - How and Why?]]></title>
      <guid>http://www.phpdeveloper.org/news/11562</guid>
      <link>http://www.phpdeveloper.org/news/11562</link>
      <description><![CDATA[<p>
<i>Abhinav Singh</i> has <a href="http://abhinavsingh.com/blog/2008/12/php-extensions-how-and-why/">posted a guide</a> to PHP extensions - what they are and how to write a simple "hello world" one.
</p>
<blockquote>
Assuming you have read the <a href="http://abhinavsingh.com/blog/2008/11/how-does-php-echos-a-hello-world-behind-the-scene/">previous post</a>, lets discuss on how to build our first PHP extension: every PHP extension is built out of minimum of 2 files, a configuration file (config.m4) which tells us what files to build and what external libraries are needed and source File(s) which will contain the actual functionality.
</blockquote>
<p>
He builds up an example skeleton for an extension (the config.m4) and explains how the file will be phpized and configured. Next up is the php_sample.h header file where the needed modules are loaded and the sample.c file to define them. Last, but not least, comes the extension code itself that calls the printf function to output the "hello world" message.
</p>]]></description>
      <pubDate>Fri, 12 Dec 2008 11:17:23 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Marc Gear's Blog: How to learn a new PHP framework]]></title>
      <guid>http://www.phpdeveloper.org/news/11553</guid>
      <link>http://www.phpdeveloper.org/news/11553</link>
      <description><![CDATA[<p>
In <a href="http://www.onekay.com/blog/archives/35">this new blog entry</a> <i>Marc Gear</i> suggests a few things that you can do to help learn a new framework quickly and easily:
</p>
<blockquote>
There are dozens of PHP frameworks around now, some attracting more attention than others. I am no expert on these frameworks and have not used a single one extensively so I wouldn't dream of recommending one over the other, nor do I want to enter the debate about what is or is not a framework (I'll work on the assumption that anything calling itself a framework is a framework).  Instead I'm going to concentrate on how you can get started with a new framework as quickly as possible.
</blockquote>
<p>
He <a href="http://www.onekay.com/blog/archives/35">suggests</a> four examples that can help you get more familiar with each framework and how they're structured - a "hello world" as a first step, creating a simple calculator, making a guestbook and making a simple script to parse and paginate a remote RSS feed.
</p>]]></description>
      <pubDate>Thu, 11 Dec 2008 10:20:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Labor Day Benchmarks]]></title>
      <guid>http://www.phpdeveloper.org/news/10939</guid>
      <link>http://www.phpdeveloper.org/news/10939</link>
      <description><![CDATA[<p>
Since there was such a good response to his previous framework benchmarking post, <i>Paul Jones</i> has come up with a <a href="http://paul-m-jones.com/?p=315">fresh batch</a> of statistics for the latest versions of several frameworks including the Zend Framework, Solar and CakePHP.
</p>
<blockquote>
By popular request, here is an update of my web framework benchmarks report. [...] In the interest of putting to rest any accusations of bias or favoritism, the entire project codebase is available for public review and criticism <a href="http://code.google.com/p/web-framework-benchmarks/">here</a>.
</blockquote>
<p>
Follows the same methods <a href="http://paul-m-jones.com/blog/?p=238">as before</a>, creating "hello world" controllers in each and running the stats against them with the Apache ab tool. A baseline non-framework example is created and tests are run against different versions (including release candidates) of each framework.
</p>
<p>
I won't spoil the results - you'll just need to check out <a href="http://paul-m-jones.com/?p=315">his post</a> to see who ranked where.
</p>]]></description>
      <pubDate>Tue, 02 Sep 2008 07:56:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Solar System]]></title>
      <guid>http://www.phpdeveloper.org/news/10896</guid>
      <link>http://www.phpdeveloper.org/news/10896</link>
      <description><![CDATA[<p>
<i>Paul Jones</i> <a href="http://paul-m-jones.com/?p=305">points out</a> a new system for the <a href="http://www.solarphp.com">Solar framework</a> that will help those new to using it get started - a sample application that you can grab from <a href="http://svn.solarphp.com/system/trunk">Subversion</a> in the traditional "hello world" style.
</p>
<blockquote>
In the spirit of some other framework projects, the <a href="http://solarphp.com/">Solar Framework for PHP 5</a> now offers a ready-to-use Solar system to get new users off to a quick start. It's not prepared as a tarball just yet, but it is available for checkout or export using Subversion from <a href="http://svn.solarphp.com/system/trunk">http://svn.solarphp.com/system/trunk</a>.
</blockquote>
<p>
The sample installation creates a front controller, an authentication system and a "bookmarks" application to give you an idea of how everything fits together. You can get more information on each of these parts and how they all work on the <a href="http://solarphp.org/manual:getting_started:skeleton_system">Solar manual/wiki</a>.
</p>]]></description>
      <pubDate>Tue, 26 Aug 2008 07:54:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Avent Labs Blog: PHP framework comparison benchmarks]]></title>
      <guid>http://www.phpdeveloper.org/news/10527</guid>
      <link>http://www.phpdeveloper.org/news/10527</link>
      <description><![CDATA[<p>
The Avent Labs blog has done some <a href="http://www.avnetlabs.com/php/php-framework-comparison-benchmarks">basic benchmarking</a> on some of the more popular PHP frameworks out there today. The post includes the tools they used and the full results.
</p>
<blockquote>
In response to Wil's comment regarding the PHP framework performance comparisons I made in my <a href="http://www.avnetlabs.com/php/php-frameworks-revisited-codeigniter-vs-zend-framework">previous post</a>, I have decided to post the results I got. My decision not post them initially was due to the benchmarks not being done in complete isolation (a separate client and server machine) but the scores relative to each should still be accurate and that's what I am testing for.
</blockquote>
<p>
He used a machine with a 1.8Ghz sempron chip (running Ubuntu) to run the tests through <a href="http://www.hpl.hp.com/research/linux/httperf/">httperf</a>. His method involved creating the same sort of "hello world" sort of controller to gauge the framework's performance and a baseline procedural version of the same as a guide. His full results are available as a <a href="http://avnetlabs.com/frameworks/frameworks.tar.gz">tar file</a> and as <a href="http://avnetlabs.com/frameworks/frameworks.zip">a zip archive</a>. 
</p>]]></description>
      <pubDate>Wed, 02 Jul 2008 08:41:42 -0500</pubDate>
    </item>
  </channel>
</rss>

