<?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>Fri, 24 May 2013 15:49:10 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Andrew Podner: Using Stackato for PHP Applications in a Private PaaS]]></title>
      <guid>http://www.phpdeveloper.org/news/19327</guid>
      <link>http://www.phpdeveloper.org/news/19327</link>
      <description><![CDATA[<p>
In <a href="http://unassumingphp.com/using-stackato-for-php-applications-in-a-private-paas/">this new post</a> to his site <i>Andrew Podner</i> looks at using the <a href="http://www.activestate.com/stackato">Stackato</a> software from ActiveState to provide a Platform-as-a-Service environment on any cloud infrastructure.
</p>
<blockquote>
So, now it is settled, I want to stay inside the corporate firewall, but I want each application isolated from the next, and by the way, there is no budget for any of this.  I posted about three <a href="http://unassumingphp.com/php-apps-and-platform-as-a-service/">PaaS providers</a> a while back, and started thinking that what I really needed was <a href="http://en.wikipedia.org/wiki/Platform_as_a_service">PaaS</a>, but I needed to be able to host the PaaS environment inside a corporate LAN.  Off to search the web. Surprisingly, there were not just a ton of viable results in that search.  Even more surprising...hard to find one with a "download here" button.  No matter how I searched though, one company & product kept popping up: <a href="http://www.activestate.com/stackato">Stackato by ActiveState</a>.  The words "Free Micro Cloud" were a very encouraging sign.  So let's take this thing for a spin and see just how easy it is...
</blockquote>
<p>
He walks you through the installation process - downloading the VMs, setting up the initial configuration and how to use the command line tool to deploy your own applications (several come preconfigured though). He also includes an example configuration (YAML) you can use to configure custom applications and some sample code showing a database connection.
</p>]]></description>
      <pubDate>Mon, 18 Mar 2013 12:17:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Podner: PHP Apps and Platform as a Service]]></title>
      <guid>http://www.phpdeveloper.org/news/18998</guid>
      <link>http://www.phpdeveloper.org/news/18998</link>
      <description><![CDATA[<p>
<i>Andrew Podner</i> has a new post to his site today <a href="http://unassumingphp.com/php-apps-and-platform-as-a-service/">talking about platform as a service providers</a> out there that offer PHP support. He mentions three different ones, but goes into more depth on getting a site set up with <a href="http://appfog.com">AppFog</a>.
</p>
<blockquote>
There are several options out there for PHP apps using this medium for deployment, and picking one is not always the easiest thing to do.  The most interesting thing that I noticed about the various PaaS providers that I looked at was they way they differentiate their pricing models. [...] The PaaS providers do not make the choice nearly as simple [as VPS providers].  Each of them has different options to consider and different terminology that describes their particular product offering.
</blockquote>
<p>
He briefly covers the offerings of three providers - <a href="http://www.engineyard.com/">Engine Yard/Orchestra</a>, <a href="http://pagodabox.com/">PagodaBox</a> and <a href="http://www.appfog.com/">AppFog</a>. Its the final one he's most interested in, so he gets into the details and steps you'll need to create an account, set up an application and make your first push out to their platform. He also includes a hint on how to set up a .htaccess file if your application's document root is in something other than the base directory.
</p>]]></description>
      <pubDate>Mon, 07 Jan 2013 09:30:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[James Fuller: First Impressions: Cloud9 IDE + PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18960</guid>
      <link>http://www.phpdeveloper.org/news/18960</link>
      <description><![CDATA[<p>
<i>James Fuller</i> has <a href="http://www.jblotus.com/2012/12/25/first-impressions-of-cloud9-ide/">posted a review</a> of the online code editing tool <a href="https://c9.io/">Cloud9</a> and how well it works for his PHP development.
</p>
<blockquote>
At first I though Cloud9 would be a simple editor, perhaps a nice showcase of what you can do with HTML5 and some well-written javascript but it quickly became evident that this app was packing a lot of powerful features. [...] Sounds pretty awesome if you think about it. You can even connect you own server via SSH instead of using the build in sandbox (this is a paid feature). Is this the Holy-Grail? Not Really, but it's close. This is a very exciting product that almost reaches holy-grail status, but it falls short in a few key areas. 
</blockquote>
<p>
He includes a little bit about trying to use PHP 5.5 in the Cloud9 editing, and points out that while he was (eventually) able to get the PHP 5.5 alpha compiled, he wasn't able to get things like memcache compiled and working. 
</p>
<blockquote>
The Cloud9 team has done a great job removing the barriers to getting a simple idea out the door. I implemented <a href="https://github.com/jblotus/cloud9-php-fizzbuzz">FizzBuzz in PHP</a> using <a href="http://getcomposer.org/">Composer</a>, <a href="http://www.phpunit.de/manual/current/en/index.html">PHPUnit</a>, and some <a href="http://php.net/manual/en/book.spl.php">SPL interfaces</a> and got it all done , and posted to GitHub in about an hour. 
</blockquote>]]></description>
      <pubDate>Thu, 27 Dec 2012 13:41:24 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[QaFoo: Code Review Tool]]></title>
      <guid>http://www.phpdeveloper.org/news/18695</guid>
      <link>http://www.phpdeveloper.org/news/18695</link>
      <description><![CDATA[<p>
On the QaFoo site they've <a href="http://qafoo.com/blog/027_code_review_tool.html">shared a tool they use</a> for doing code reviews in a new post to their blog. The tool, just called <a href="http://github.com/Qafoo/review">review</a>, lets you run several different metrics on the code including the PHP "mess detector", PDepend and PHPCPD (copy & paste detector).
</p>
<blockquote>
We, at <a href="http://qafoo.com/">Qafoo</a>, do Code Reviews quite often together with our customers. This often focusses on dicussing metrics, browsing the associated code and discussing solutions for the issues found. We started using a bunch of shell scripts for that, like everyone else, but at some point we came up with a webinterface to do this in a more comfortable way. Now we want to share this tool with you.
</blockquote>
<p>
Included in the post are <a href="http://qafoo.com/blog/027_code_review_tool.html">several screenshots</a> showing the results of the different types of evaluations - the ones mentioned above as well as things like "methods per class", cyclomatic complexity and NPath complexity. There's also a source code browser and a visual class structure generation tool (UML). It's under a AGPLv3 license and can be found <a href="http://github.com/Qafoo/review">on their site</a>.
</p>]]></description>
      <pubDate>Mon, 05 Nov 2012 09:41:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: The Importance of Code Review]]></title>
      <guid>http://www.phpdeveloper.org/news/18431</guid>
      <link>http://www.phpdeveloper.org/news/18431</link>
      <description><![CDATA[<p>
PHPMaster.com has a new article about a practice that's becoming more popular in recent years to help increase the quality of code that comes out of development - <a href="http://phpmaster.com/the-importance-of-code-review/">code reviews</a>.
</p>
<blockquote>
Every developer knows the pain of banal mistakes. A wrong attribute here, a misspelled property there, an accidentally duplicated line of code which you missed because of the coffee-fueled 16 hour hackathon you've been on. [...] Code review is simply the act of having someone else look at your code to find the mistakes you missed.
</blockquote>
<p>
The tutorial talks about the types of code reviews (three of them with varying levels of involvement) as well as some best practices to follow in your reviews like: 
</p>
<ul>
<li>Know your common mistakes and actively fight them.
<li>Peer code review means being reviewed by someone of equal or greater skill.
<li>Collect metrics.
<li>Be mindful of the social aspect - finding bugs is good, not bad!
</ul>]]></description>
      <pubDate>Fri, 31 Aug 2012 12:08:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: PhpStorm - Review and Give Away]]></title>
      <guid>http://www.phpdeveloper.org/news/18355</guid>
      <link>http://www.phpdeveloper.org/news/18355</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new article posted that <a href="http://phpmaster.com/phpstorm-review-and-give-away/">has a review of PHPStorm</a>, an IDE from JetBrains that focuses on providing a great experience for PHP developers and tons of features.
</p>
<blockquote>
It's said the tool doesn't make the craft - a carpenter can drive a nail into a wooden plank using a hammer, a rock, another plank, or his forehead, but he'll rarely choose anything other than the hammer. [...]  I'm talking about using a text editor versus using a full-fledged PHP-dedicated project-oriented IDE for PHP application development. Both will get the job done, but productivity-wise, one is obviously a better choice than the other.
</blockquote>
<p>
<i>Bruno Skvorc</i> goes through a brief summary of what the editor is about and talks about some of the more notable features including:
</p>
<ul>
<lI>Being built on Java (good and bad)
<li>The IDE being strictly project-oriented 
<li>Supports the latest PHP version, including 5.4
<li>Smart refactoring
<li>Good intellisense support
</ul>
<p>
He also mentions the plugin architecture that's included with the product and a few of the more handy plugins available. They're also running a giveaway in collaboration with the PHPStorm folks and are giving out IDE licenses and copies of SitePoint's "PHPMaster: Create Cutting Edge Code" book (rules are included in the article).
</p>]]></description>
      <pubDate>Tue, 14 Aug 2012 09:37:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Book Review: The Grumpy Programmer's Guide To Building Testable Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/17833</guid>
      <link>http://www.phpdeveloper.org/news/17833</link>
      <description><![CDATA[<p>
On his blog <i>Brandon Savage</i> has a new post <a href="http://www.brandonsavage.net/book-review-the-grumpy-programmers-guide-to-building-testable-applications/">reviewing a book from Chris Hartjes</a>, "The Grumpy Programmer's Guide To Building Testable Applications".
</p>
<blockquote>
When most developers think about books on testing, they think about books that highlight things like "test driven development" or "how to build a test for X." [...] This is not true of Chris Hartjes' book, <a href="http://leanpub.com/grumpy-testing">"The Grumpy Programmer's Guide To Building Testable PHP Applications"</a>. When I asked Chris if I could review his book, I expected a step-by-step guide to writing tests. What I got was a step-by-step guide to building an application that COULD be tested. There's a big difference, and it's important to understand the distinction.
</blockquote>
<p>
He points out that the book provides more about good application structure than who to write the tests for it. It provides a guide to creating modular applications that can be easily pulled apart and tested as well as some practical examples. He also includes a few "wise words" quoted from the book including: "if it's not yours, wrap it up" and "testing is good; testable applications are better."
</p>
<p>
You can pick up your own copy of the book <a href="http://leanpub.com/grumpy-testing">fron its page on the Leanpub site</a>.
</p>]]></description>
      <pubDate>Wed, 18 Apr 2012 10:53:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: PHP Ajax Cookbook (Book Review)]]></title>
      <guid>http://www.phpdeveloper.org/news/17829</guid>
      <link>http://www.phpdeveloper.org/news/17829</link>
      <description><![CDATA[<p>
On Dzone.com there's a book review from <i>Ivan Ilijasic</i> covering a recently released title from Packt Publishing, the "PHP Ajax Cookbook" (by Milan Sedliak, Rajesh Jeba R. Anbiah and Roshan Bhattarai). <a href="http://php.dzone.com/reviews/php-ajax-cookbook">His review</a> gives a "one minute bottom line" about the book and its contents.
</p>
<blockquote>
I've been in PHP development for more than 10 years and this book is really useful material. I could recommend it to beginners and experienced developers. From my point of view, there are three types of developer books - complete byte-to-byte fat books, introduction books and cookbooks. I want my cookbook to have useful and simple to use recipes. This book fulfilled my expectations.
</blockquote>
<p>
He mentions some of the topics that the book covers including javascript libraries and frameworks (mostly jQuery) and recipes for things like form validation, dynamic content, pagination and drag and drop functionality. He also points out some coverage of testing and debugging content as well as web service "mashups" and mobile app development.
</p>]]></description>
      <pubDate>Tue, 17 Apr 2012 13:03:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Book Review: MongoDB and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17779</guid>
      <link>http://www.phpdeveloper.org/news/17779</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2012/book-review-mongodb-and-php">posted a book review</a> of an O'Reilly publication (by <i>Steve Francia</i>) - "MongoDB and PHP".
</p>
<blockquote>
The tone of the book is quite informal and approachable [...]. This book also does a great job of deferring to other resources where that is appropriate; in particular where some features of MongoDB will change rapidly and the online documentation is well-maintained. [...] There is no hiding from the very lovely, very technical, features available in MongoDB and although this book doesn't drill into all the possible use cases of each one, it does cover some advanced topics such as sharding and GridFS which was completely new to me.
</blockquote>
<p>
Her review of the book is positive, noting that it takes a topic that, despite possibly being overwhelming for someone new to it, makes it approachable and easy to digest. You can find out more about this book <a href="http://shop.oreilly.com/product/0636920022381.do">on the O'Reilly website</a>.
</p>]]></description>
      <pubDate>Thu, 05 Apr 2012 09:50:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[InfoWorld: Review: 2 PHP tools rise above the rest]]></title>
      <guid>http://www.phpdeveloper.org/news/17722</guid>
      <link>http://www.phpdeveloper.org/news/17722</link>
      <description><![CDATA[<p>
InfoWorld has a new article posted looking at <a href="http://www.infoworld.com/d/application-development/review-2-php-tools-rise-above-the-rest-189085">some of the PHP IDE options</a> out there and comparing some of their strengths and weaknesses including PHPStorm, Eclipse, Aptana and Zend Studio.
</p>
<blockquote>
PHP is more than just a language for junior high school kids to learn after they master balancing DIV tags in HTML. It can support enterprise-grade installations and deliver the kind of heavy lifting that brings power plants to their knees. [...] To get a flavor for the latest in PHP programming, I spent some time unpacking the current set of development tools for PHP - eight in all.
</blockquote>
<p>The IDEs he sampled were:</p>
<ul>
<li>Zend Studio
<li>PHPStorm
<li>PhpEd
<li>phpDesigner
<li>NetBeans
<li>Komodo IDE
<li>CodeLobster
<li>Aptana Studio
</ul>
<p>
He points out that, while all of these tools have their good and bad things about them, sometimes you don't need something that heavy to get the job done. Sometimes <a href="http://www.sublimetext.com/2">something simpler</a> might do just right. He recommends trying them out on your projects and seeing which is the best fit, though. He thinks that you'd probably "need to be working on a bigger PHP project" before an IDE would become really useful though.
</p>]]></description>
      <pubDate>Fri, 23 Mar 2012 10:19:22 -0500</pubDate>
    </item>
  </channel>
</rss>
