<?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, 08 Sep 2008 05:09:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Free: Experience Oracle, PHP & Ruby/Rails at Oracle HQ]]></title>
      <guid>http://www.phpdeveloper.org/news/10840</guid>
      <link>http://www.phpdeveloper.org/news/10840</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> <a href="http://blogs.oracle.com/opal/2008/08/free_experience_oracle_php_rub.html">points out</a> a free event that Oracle is having at its Headquarters (in Redwood Shores, CA) - "Experience Oracle, PHP & Ruby/Rails".
</p>
<blockquote>
Oracle is running a free workshop at its Headquarters on August 25th. This is a call for developers interested in developing applications in PHP, Ruby/Rails, Java, .Net or even wanting to use Oracle's free SQL Developer tool or learn web development with Oracle's APEX product.
</blockquote>
<p>
They'll be providing lunch and the information, you just show up and soak it all in. You can find more information about the event <a href="http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=83729&src=6635701&src=6635701&Act=63">here</a> (and register to reserve your spot).
</p>]]></description>
      <pubDate>Fri, 15 Aug 2008 10:24:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zenning! Blog: Web Frameworks: Which one to learn?]]></title>
      <guid>http://www.phpdeveloper.org/news/10676</guid>
      <link>http://www.phpdeveloper.org/news/10676</link>
      <description><![CDATA[<p>
On the Zenning! blog there's a <a href="http://www.sawantshah.com/web-development/web-frameworks-which-one-to-learn/">recent post</a>, the first part of a series, that looks at various web application frameworks both PHP and not (including Ruby on Rails, Prado and Django).
</p>
<blockquote>
As of now, we are moving through the era of <a href="http://en.wikipedia.org/wiki/Web_application_framework">web application frameworks</a>. That's the landscape we are surrounded with. Plenty of frameworks have been built during these years broadly categorized under <a href="http://en.wikipedia.org/wiki/Software_framework">software frameworks</a>, <a href="http://en.wikipedia.org/wiki/Web_application_framework">web application frameworks</a> and <a href="http://en.wikipedia.org/wiki/JavaScript_library">JavaScript frameworks (or libraries)</a>, and plenty more are being developed.
</blockquote>
<p>He starts with these frameworks:</p>
<ul>
<li><a href="http://www.cakephp.org">CakePHP</a>
<li><a href="http://www.codeigniter.com">CodeIgniter</a>
<li><a href="http://www.symfony.org">Symfony</a>
<li><a href="http://www.pradosoft.com/">Prado</a>
<li><a href="http://www.djangoproject.com/">Django</a>
<li><a href="http://www.rubyonrails.org/">Ruby on Rails</a>
</ul>
<p>
He looks at the non-PHP frameworks first to see how difficult they'd be to get into. Despite reservations about the different language structure, he shows favoritism towards Ruby on Rails. He has reviewed the PHP frameworks yet, so it's not a final decision.
</p>]]></description>
      <pubDate>Thu, 24 Jul 2008 12:02:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Fred Wu's Blog: Ruby on Rails, Passenger (ModRails) vs CodeIgniter and Kohana (Benchmarks)]]></title>
      <guid>http://www.phpdeveloper.org/news/10274</guid>
      <link>http://www.phpdeveloper.org/news/10274</link>
      <description><![CDATA[<p>
On his ThisLab blog, <i>Fred Wu</i> has posted some <a href="http://thislab.com/2008/05/26/ruby-on-rails-passenger-modrails-vs-codeigniter-and-kohana/">quick benchmarks</a> comparing some of the popular frameworks out there - Ruby on Rails/Passenger versus CodeIgniter/Kohana.
</p>
<blockquote>
Last few days I have been playing with Ruby and Rails, again. Today, when someone was asking on a forum about the efficiency of web frameworks, I thought I'd give the few frameworks I work with some more benchmark testing.
</blockquote>
<p>
His benchmarking is based on basic "Hello World" page requests for each of the frameworks. His results were interesting with CodeIgniter coming out with the fewest number of requests responded to (per second) and Rails coming out on top by a margin of about eighty or ninety over CodeIgniter/Kohana. 
</p>
]]></description>
      <pubDate>Tue, 27 May 2008 08:47:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lee Blue's Blog: How To Implement A Ruby on Rails style before_filter With The PHP Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9564</guid>
      <link>http://www.phpdeveloper.org/news/9564</link>
      <description><![CDATA[<p>
<i>Lee Blue</i> has <a href="http://www.refreshinglyblue.com/2008/01/30/how-to-implement-a-ruby-on-rails-style-before_filter-with-the-php-zend-framework/">posted something</a> looking to bridge yet another gap between Ruby on Rails and PHP - a method for adding before_filter functionality to PHP.
</p>
<blockquote>
I often use this when implementing a simple login screen for a password protected section of my application. In a <a href="http://framework.zend.com/">Zend Framework</a> application you can implement a <a href="http://framework.zend.com/manual/en/zend.controller.plugins.html">preDispatch()</a> function in a Zend_Controller_Action which will run before an action is dispatched. This lets you setup your filter to check to see if the visitor is logged in or not. If the visitor is not logged in, you can redirect them to the login screen of your application.
</blockquote>
<p>
He <a href="http://www.refreshinglyblue.com/2008/01/30/how-to-implement-a-ruby-on-rails-style-before_filter-with-the-php-zend-framework/">includes example code</a> to show its usefulness - checking to see two things: is a user is logged in and to see if they're allowed to use a certain resource.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 14:36:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Rails for PHP Developers Website Launched]]></title>
      <guid>http://www.phpdeveloper.org/news/9351</guid>
      <link>http://www.phpdeveloper.org/news/9351</link>
      <description><![CDATA[<p>
<i>Mike Naberezny</i> has start up a new resource to try to bridge some of the gap between PHP and Ruby and to help developers of either to get a bit more insight into the others' side - <a href="http://railsforphp.com/">Rails for PHP Developers</a> (based on <a href="http://www.pragprog.com/titles/ndphpr">the book</a> published by the Pragmatic Programmers).
</p>
<blockquote>
Rails for PHP Developers is a new site for PHP developers who are also interested in Rails and Ruby.  PHP and Ruby are great complementary tools that are sometimes seen as adversarial, which is really unfortunate.  We use both and we'll be writing regular articles to help cross-pollinate ideas and promote collaboration between the communities. 
</blockquote>
<p>
There's already some good content there - <a href="http://railsforphp.com/2008/01/03/useful-perlisms-in-ruby/">useful perlisms in ruby</a>, a look at <a href="http://railsforphp.com/2007/12/21/accessing-attributes-in-php-objects/">PHP object attributes and some information about <a href="http://railsforphp.com/2007/12/11/beta-2-released/">the</a> <a href="http://railsforphp.com/2007/11/08/about-the-book/">release</a> of the site itself. 
</p>]]></description>
      <pubDate>Thu, 03 Jan 2008 14:52:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Reinhold Weber's Blog: From PHP to Ruby - 30 similarities and differences]]></title>
      <guid>http://www.phpdeveloper.org/news/9331</guid>
      <link>http://www.phpdeveloper.org/news/9331</link>
      <description><![CDATA[<p>
<i>Reinhold Weber</i> has <a href="http://reinholdweber.com/?p=7">posted his lists</a> of some of the similarities and differences between Ruby and PHP:
</p>
<blockquote>
If you are a PHP developer chances are you have heard some of the buzz on Ruby on Rails, an open source web framework for rapid application development. [...] These are similarities and differences of Ruby compared to PHP. If you know PHP, this should give you a good and quick insight in what Ruby is all about and how it compares to PHP.
</blockquote>
<p>
Some of the similarities include the dynamic typing, class scoping, heredoc abilities and current object references. Differences include syntax differences, method calling, naming conditions and Ruby's lack of interface/abstract classes.
</p>]]></description>
      <pubDate>Mon, 31 Dec 2007 13:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stuart Herbert's Blog: Quick Tip: Get, Set and Query in One Method]]></title>
      <guid>http://www.phpdeveloper.org/news/9232</guid>
      <link>http://www.phpdeveloper.org/news/9232</link>
      <description><![CDATA[<p>
On his blog, <i>Stuart Herbert</i> has <a href="http://blog.stuartherbert.com/php/2007/12/10/quick-tip-get-set-and-query-in-one-method/">a quick tip</a> showing how to mimic a feature of Ruby on Rails:
</p>
<blockquote>
I'm still working on the next article in my series looking at PHP on servers, so in the mean time, check out this simple way to emulate Ruby's nice way of handling separate getter, setter and state query methods in PHP.
</blockquote>
<p>
He admits <a href="http://blog.stuartherbert.com/php/2007/12/10/quick-tip-get-set-and-query-in-one-method/">his example</a> isn't as elegant as the Ruby method, but it does get the job done. Code for the method is included in his post ready for cut and pasting.
</p>]]></description>
      <pubDate>Wed, 12 Dec 2007 14:07:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Guide to PHP and Ruby/Ruby on Rails Sessions at Oracle OpenWorld 2007]]></title>
      <guid>http://www.phpdeveloper.org/news/9011</guid>
      <link>http://www.phpdeveloper.org/news/9011</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> has posted a <a href="http://blogs.oracle.com/opal/2007/11/08#a240">quick summary</a> of the PHP (and Ruby) sessions at this year's OpenWorld 2007.
</p>
<blockquote>
Next week as part of Oracle OpenWorld we have some activities dedicated to dynamic languages.  Here's the list for easy access.
</blockquote>
<p>
Included in <a href="http://blogs.oracle.com/opal/2007/11/08#a240">his list</a> are sessions like:
</p>
<ul>
<li>The Way to the Web with PHP and Oracle Database - Christopher Jones
<li>Scale Your PHP Application to Tens of Thousands of Connections - Luxi Chidambaran
<li>Digging Deeper into Dynamic Scripting Languages: Using Ruby on Rails with Oracle Database - Kuassi Mensah
</ul>]]></description>
      <pubDate>Fri, 09 Nov 2007 17:38:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly Ruby Blog: 7 reasons I switched back to PHP after 2 years on Rails]]></title>
      <guid>http://www.phpdeveloper.org/news/8709</guid>
      <link>http://www.phpdeveloper.org/news/8709</link>
      <description><![CDATA[<p>
The PHP Community is buzzing about <a href="http://www.oreillynet.com/ruby/blog/2007/09/7_reasons_i_switched_back_to_p_1.html">a new article</a>, posted on the O'Reilly Ruby blog, about how the author (<i>Derek Silvers</i> of <a href="http://www.cdbaby.com">cdbaby.com</a>) made the decision that Ruby on Rails just wasn't right for the project he was working on.
</p>
<blockquote>
<p>
Back in January 2005, I announced on the O'Reilly blog that I was going to completely scrap over 100,000 lines of messy PHP code in my existing CD Baby (cdbaby.com) website, and rewrite the entire thing in Rails, from scratch. [...] The first few months showed good progress, and Jeremy could not have been more amazing, twisting the deep inner guts of Rails to make it do things it was never intended to do.
</p>
<p>
But at every step, it seemed our needs clashed with Rails' preferences. (Like trying to turn a train into a boat. It's do-able with a lot of glue. But it's damn hard. And certainly makes you ask why you're really doing this.)
</p>
</blockquote>
<p>
Recounting the rest of the story, <i>Derek</i> mentions the turning point ("Is there anything Rails can do that PHP CAN'T do?") and the speed at which they were able to make up for the two years of lost development time. To helps others make a decision for their project, he also includes seven reasons why he made the decision to switch back, including:
</p>
<ul>
<li>Our entire company's stuff was in php: don't underestimate integration
<li>Don't want what i don't need
<li>I love SQL
<li>Programming languages are like girlfriends: the new one is better because *you* are better
</ul>
<p>
There's also been several bloggers in the PHP community that have responded to the article:
</p>
<ul>
<li><a href="http://naramore.net/blog/index.php?p=127">Elizabeth Naramore</a> - "Derek Sivers' Article on RoR vs PHP"
<li><a href="http://paul-m-jones.com/blog/?p=259">Paul Jones</a> - "Is there anything Rails can do that PHP cannot do? *No.*"
<li><a href="http://terrychay.com/blog/article/php-ruby-evil-good.shtml">Terry Chay</a> - "Why PHP triumphs over Ruby"
<li><a href="http://www.procata.com/blog/archives/2007/09/23/ruby-versus-php-or-there-and-back-again/">Jeff Moore</a> - "Ruby versus PHP or There and Back Again"
</ul>]]></description>
      <pubDate>Mon, 24 Sep 2007 08:49:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Cody Caughlan's Blog: Database Migrations for PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/8617</guid>
      <link>http://www.phpdeveloper.org/news/8617</link>
      <description><![CDATA[<p>
<i>Cody Caughlan</i> has <a href="http://blog.ruckusing.com/index.php/2007/09/03/database-migrations-for-php5/">created a project</a> that brings one of the popular features of Ruby on Rails to the world of PHP5 - database migrations.
</p>
<blockquote>
One of the cool things I like about Ruby on Rails is the use of "migrations" for maintaining your DB. Migrations have proven to be pretty handy in keeping a local database in sync with the work of other developers. [...] Because migrations are incremental and they are done in a structured manner, it is a great way of pushing out new DB changes to the production database servers.
</blockquote>
<p>
His framework, <a href="http://code.google.com/p/ruckusing/">Ruckusing Migrations</a>, is a modular framework that makes use of some of the more advanced features of PHP5. It's portable (via an adapter interface) and uses a generic task interface (task files) to load functionality into the framework. There's also plenty of API hooks to allow for a developer to easily create their own custom operations.
</p>
<p>
Check out <a href="http://code.google.com/p/ruckusing/">the project homepage</a> for more information.
</p>]]></description>
      <pubDate>Mon, 10 Sep 2007 08:46:00 -0500</pubDate>
    </item>
  </channel>
</rss>
