<?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>Thu, 23 May 2013 22:02:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Adam Bard: The Same App 4 Times: PHP vs Python vs Ruby vs Clojure]]></title>
      <guid>http://www.phpdeveloper.org/news/19370</guid>
      <link>http://www.phpdeveloper.org/news/19370</link>
      <description><![CDATA[<p>
<i>Adam Bard</i> has written up a post that takes the same small application (a "Nurblizer") and writes it as a web application <a href="http://adambard.com/blog/PHP-ruby-python-clojure-webapps-by-example/">in four different languages</a> - PHP, Python, Ruby and Clojure. His point is less about which is "best" but more to show the differences between them.
</p>
<blockquote>
Here's a toy program I wrote implemented in PHP, Python, Ruby, and Clojure. I hope it's helpful for someone who knows at least one of those and wants to learn another.
The program is called "Nurblizer", and it does one thing: Accept free-form text, and attempt to replace all words but the nouns in said text with the word "nurble". It's up and running at <a href="http://nurblizer.herokuapp.com">http://nurblizer.herokuapp.com</a>
</blockquote>
<p>
He includes the source for each language's version using Sinatra for Ruby and Flask for Python but for PHP and Clojure it's just straight code. For each he briefly explains what its doing and a bit about how it relates to the examples from the other languages. He also points out <a href="https://news.ycombinator.com/item?id=5440170">a Hacker News discussion</a> that's popped up about the examples.
</p>]]></description>
      <pubDate>Wed, 27 Mar 2013 09:13:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[/Dev/Hell Podcast: Episode 28: Canadian Twinkie Smuggler]]></title>
      <guid>http://www.phpdeveloper.org/news/19195</guid>
      <link>http://www.phpdeveloper.org/news/19195</link>
      <description><![CDATA[<p>
The <a href="http://devhell.info/">/Dev/Hell podcast</a>, as hosted by PHP community members <i>Chris Hartjes</i> and <i>Ed Finkler</i>, has posted their latest episode - <a href="http://devhell.info/post/2013-02-16/canadian-twinkie-smuggler/">Episode 28</a>, "Canadian Twinkie Smuggler".
</p>
<blockquote>
You can blame Chris's tomfoolery for how crappy he sounds, because his computer pooped all over himself and he had to call in on his iPhone. Nevertheless, we were able to discuss in detail the smuggling of mass-produced pastries of the Twinkie and Tastykake varieties. We also get framework security in the context of recent Rails vulnerabilities, and how PHP developers seem to have a heightened awareness of potential vulnerabilities. Ed's details his experiences starting a local user group, and then discusses his efforts to speak at developer/tech conferences about his struggles with mental illness.
</blockquote>
<p>
You can listen to this latest episode either through the <a href="http://devhell.info/post/2013-02-16/canadian-twinkie-smuggler/">in-page player</a>, by <a href="http://devhell.s3.amazonaws.com/ep28-64mono.mp3">downloading the mp3</a> directly or by <a href="http://feeds.feedburner.com/devhell-podcast">subscribing to their feed</a> and getting this and other recent episodes.
</p>]]></description>
      <pubDate>Mon, 18 Feb 2013 12:33:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lee Blue: PHP vs Ruby :: 2012 Year End Review]]></title>
      <guid>http://www.phpdeveloper.org/news/18712</guid>
      <link>http://www.phpdeveloper.org/news/18712</link>
      <description><![CDATA[<p>
In <a href="http://leehblue.com/php-vs-ruby-2012-year-end-review/">this new post</a> <i>Lee Blue</i> has gone through and compared Ruby and PHP in a "year end review" of their current statuses and what each of them have to offer:
</p>
<blockquote>
Now that I've been working with Ruby in much more depth and both PHP and Ruby have matured dramatically over the past five years it is time to reevaluate the comparison. The previous article was primarily centered around the languages themselves and was not a showdown between any particular frameworks. In this review we will touch a bit more on frameworks, but in the context of a high level review of the two different landscapes of PHP vs Ruby for web development. We will not be getting down to feature-by-feature detail.
</blockquote>
<p>
He talks a bit about the history and purpose of each of the languages and a good bit about the web frameworks that are available for each (hint: the PHP options are quite a bit more). He also talks about web hosting vs web application hosting and then compares the two languages with a "score card". 
</p>
<blockquote>
The bottom line, as always, is pick the solution that is right for you and your development team. My hope is that this article was helpful in shedding some light on the strengths of both PHP and Ruby, spreading the word about what is available to both languages, and helping you decide what is right for your next project.
</blockquote>]]></description>
      <pubDate>Wed, 07 Nov 2012 13:35:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Automatic Testing for TDD with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18400</guid>
      <link>http://www.phpdeveloper.org/news/18400</link>
      <description><![CDATA[<p>
If you practice the TDD (test-driven development) methodology in your work, you know that sometimes switching back and forth between a terminal and your IDE can be distracting. In <a href="http://net.tutsplus.com/tutorials/php/automatic-testing-for-tdd-with-php/">this new tutorial</a> from NetTuts.com, they show you how to streamline things a bit with a simple Ruby script.
</p>
<blockquote>
Traditional test-driven development can, at times, be cumbersome. You have to stop writing code in order to run your tests. Luckily, there are solutions, which provide the ability to automatically run your tests as you code. In this tutorial, you will learn how to use a Ruby gem, called watchr, to monitor your code and automatically run the appropriate tests whenever you save your work.
</blockquote>
<p>
The IDE doesn't matter in this case because the "watchr" tool keeps an eye on when things change in the watched directory and automatically fires off a script when it sees an update. They include the few short lines of Ruby to make it all happen and even have the "notify-send" command built in to give you a popup about the pass/fail status.
</p>]]></description>
      <pubDate>Fri, 24 Aug 2012 09:09:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: The standard PHP setup]]></title>
      <guid>http://www.phpdeveloper.org/news/17826</guid>
      <link>http://www.phpdeveloper.org/news/17826</link>
      <description><![CDATA[<p>
On DZone.com <i>Giorgio Sironi</i> shares what he describes as his "<a href="http://css.dzone.com/articles/standard-php-setup">standard PHP setup</a>" - the tools and standards he commonly uses when developing his projects.
</p>
<blockquote>
Last week I passed a day speeding up a Java and Ruby oriented team which started developing a PHP application: not only a standard project structure was required, but also some hints on the default tools and process to work with it. Here's what I thought was crucial during the setup, based on the question of my Rubyist colleague. Of course one of the most visible differences is the language itself, but there is a lot more tacit knowledge to share.
</blockquote>
<p>
Things mentioned in the post include: development tools (like IDEs), the language itself and similarities to other languages, a standardized project setup, a good testing methodology and a bit of discussion about using external libraries.
</p>]]></description>
      <pubDate>Tue, 17 Apr 2012 10:10:54 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Gardner's Blog: PHP Deployment with Capistrano]]></title>
      <guid>http://www.phpdeveloper.org/news/17547</guid>
      <link>http://www.phpdeveloper.org/news/17547</link>
      <description><![CDATA[<p>
<i>Dave Gardner</i> has <a href="http://www.davegardner.me.uk/blog/2012/02/13/php-deployment-with-capistrano/">put together a guide</a> to deploying PHP applications with the help of <a href="https://github.com/capistrano/capistrano/wiki/">Capistrano</a>, a Ruby-based deployment tool (including some example "recipes").
</p>
<blockquote>
<a href="https://github.com/capistrano/capistrano/wiki/">Capistrano</a> is written in Ruby and offers up a basic DSL from which you can craft quite flexible deployment scripts. [...] That said, it's very flexible. In my current setup I have it deploying to multiple environments (dev, staging, production), building code (think Phing), running tests on the servers before finalising the deploy and then restarting worker processes on completion.
</blockquote>
<p>
He starts by introducing some of the commands that you can perform with the "cap" command line client and links to <a href="https://github.com/namics/capistrano-php/blob/master/lib/capistrano/php.rb">an example PHP project structure</a> you cn base your deployment off of. He also includes a bit about multi-stage deployments, tag (version) selection and the full source of his build script.
</p>]]></description>
      <pubDate>Wed, 15 Feb 2012 12:11:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Wojciech Sznapka's Blog: Always use most latest versions for benchmarks]]></title>
      <guid>http://www.phpdeveloper.org/news/17452</guid>
      <link>http://www.phpdeveloper.org/news/17452</link>
      <description><![CDATA[<p>
In response to some criticism about his <a href="http://phpdeveloper.org/news/17420">previous post</a> with some framework benchmarks, <i>Wojciech Sznapka</i> has <a href="http://blog.sznapka.pl/always-use-most-latest-versions-for-benchmarks/">posted updated results</a> using the latest versions of each framework.
</p>
<blockquote>
In my previous post Modern framework comparison I presented performance tests, which compared Ruby On Rails, Django and Symfony2. After recieving a feedback in comments I decided to run this benchmark one more time on my own laptop (instead of on my hosting). The reason was simple: enviroment was outdated.
</blockquote>
<p>
There were some overall performance increases were seen, but some statistics were higher - the "time per request" for all of them grew, some by quite a bit. He presents these benchmarks with a caveat, though:
</p>
<blockquote>
You should never choose framework based on benchmarks. Those shows them from one point of view, but there are plenty of other aspects, such as support, community, maturity, number of ready to use components.
</blockquote>]]></description>
      <pubDate>Thu, 26 Jan 2012 10:13:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Udemy Blog: Code Wars: PHP vs Ruby vs Python - Who Reigns Supreme [Infographic]]]></title>
      <guid>http://www.phpdeveloper.org/news/17380</guid>
      <link>http://www.phpdeveloper.org/news/17380</link>
      <description><![CDATA[<p>
On the Udemy blog there's <a href="http://www.udemy.com/blog/modern-language-wars/">a new post</a> with a large infographic showing "who reigns supreme" comparing Ruby, Python and PHP (don't worry, this isn't flamebait...it's actual good stats comparing the state of these three languages). 
</p>
<blockquote>
Just as the Japanese, Spanish and French languages are uniquely different, programming languages also have their variations, some more popular and easier to use than others. With the recent introduction of some new ones, there is a 'war' of modern day languages. What's easier and faster to use is not always the best option.
</blockquote>
<p>The graphic includes stats like: </p>
<ul>
<li>Usability ratings
<li>Popularity in the TIOBE index
<li>How much it's discussed (from the IEEE Spectrum, IRC)
<li>The number of open job postings
<li>Average run time/lines of code
</ul>
<p>
Check out <a href="http://www.udemy.com/blog/modern-language-wars/">the full post</a> for more interesting data.
</p>]]></description>
      <pubDate>Wed, 11 Jan 2012 13:13:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: Easy Package Management for CodeIgniter with Sparks]]></title>
      <guid>http://www.phpdeveloper.org/news/17170</guid>
      <link>http://www.phpdeveloper.org/news/17170</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a new tutorial showing off a package management system for the <a href="http://codeigniter.com">CodeIgniter</a> framework, Sparks, that makes <a href="http://net.tutsplus.com/tutorials/php/easy-package-management-for-codeigniter-with-sparks/">installing and using packages</a> similar to Ruby's gems.
</p>
<blockquote>
<a href="http://getsparks.org/">Sparks</a> is a new package-management system for CodeIgniter that extends the core with support for gem-like sparks. This tutorial interweaves an entry-level overview of the architecture and usage of the sparks system with the creation of dovecote-a simple spark for managing RSS data.
</blockquote>
<p>
The tutorial introduces you to the Sparks system and helps you get it installed and configured to work with a first basic package - a dovecote example. He helps organize and write the first spark as well as set up any dependencies and autoloading it might need. He follows this by adding some functionality to the package to make pushing output to the view simpler.
</p>
<p>
You can <a href="http://nettuts.s3.amazonaws.com/1092_sparks/source.zip">download the source</a> for the complete tutorial's code.
</p>]]></description>
      <pubDate>Fri, 25 Nov 2011 11:00:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Creating a virtual server with Vagrant: a practical walkthrough]]></title>
      <guid>http://www.phpdeveloper.org/news/17145</guid>
      <link>http://www.phpdeveloper.org/news/17145</link>
      <description><![CDATA[<p>
On DZone.com there's a new post from <i>Giorgio Sironi</i> looking at how to <a href="http://css.dzone.com/articles/creating-virtual-server">automate a build of a virtual server with Vagrant</a>, setting up a LAMP-based development instance.
</p>
<blockquote>
Vagrant ia a tool for building virtual machines (in VirtualBox's format) that conforms to a specification. It's written in Ruby, but it makes really no assumptions over the environments that you're gonna build; in this article, we will setup a virtual server for PHP applications running inside Apache.
</blockquote>
<p>
The end result is a virtual machine based on <a href="http://css.dzone.com/articles/using-virtual-machine-play">VirtualBox</a> images and can be built in a few easy steps:
</p>
<ul>
<li>install the vagrant gems on the build system
<li>add a new virtual box instance pointed to a .box file
<li>create the Vagrant config (including the commands to run post-create)
<li>set up a little port forawrding
<li>creating a <a href="http://php.net/phpinfo">phpinfo</a> file and starting up Apache
</ul>
<p>
One suggested place for grabbing images (some with pre-defined software) is <a href="http://bitnami.org/stacks">Bitnami</a>'s "Stacks" repository.
</p>]]></description>
      <pubDate>Fri, 18 Nov 2011 08:18:45 -0600</pubDate>
    </item>
  </channel>
</rss>
