<?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>Sat, 18 May 2013 06:02:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Blitz Agency Blog: REST Service Routing with PHP and Apache]]></title>
      <guid>http://www.phpdeveloper.org/news/15464</guid>
      <link>http://www.phpdeveloper.org/news/15464</link>
      <description><![CDATA[<p>
New on the Blitz Agency blog <i>Adam Venturella</i> <a href="http://labs.blitzagency.com/?p=2494">walks you through his process</a> of creating a simple REST service routing system with the PHP and Apache combination that has the same concepts as <a href="http://www.sinatrarb.com/">Sinatra</a> routing.
</p>
<blockquote>
This is just a quickie.  I had spent some time creating a routing system in PHP for services.  The goal was to bypass .htaccess or a vhost configuration file.  Basically, I wanted to map endpoints (HTTP methods + paths) to PHP methods. My goal at the time was something similar to Sinatra and/or MVC2 routes.
</blockquote>
<p>
He shows examples from both the Sinatra documentation and a code example from a <a href="http://www.asp.net/mvc">MVC2</a> project that uses the same ideas. His first show with PHP proved to not quite be the right way, so he opted for a combination of Apache mod_rewrite and some PHP to take the mapped values and execute. It also includes support fo rthe "X-HTTP-Method-Override" header if you happen to need it.
</p>]]></description>
      <pubDate>Fri, 19 Nov 2010 12:12:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Staw Dogs Blog: PHP Sinatra Clones]]></title>
      <guid>http://www.phpdeveloper.org/news/15362</guid>
      <link>http://www.phpdeveloper.org/news/15362</link>
      <description><![CDATA[<p>
From the Straw Dogs blog there's <a href="http://www.straw-dogs.co.uk/10/19/php-sinatra-clones/">a recent post</a> looking at some of the PHP frameworks out there have the same kind of philosophy behind them as the <a href="http://www.sinatrarb.com/">Sinatra</a> framework for Ruby - a small, light framework that's easy to use.
</p>
<blockquote>
I'm currently looking for a good PHP framework to do a new project. I recently used Kohana 3 at on a project for a client but I needed something lighter and having used <a href="http://www.sinatrarb.com/">Sinatra</a> and <a href="http://www.padrinorb.com/">Padrino</a> previously but needing it PHP based I did the next natural step - searched for PHP Sinatra clones.
</blockquote>
<p>
There's four frameworks that made the list - all in varying states of development:
</p>
<ul>
<li><a href="http://www.limonade-php.net/">Limonade</a>
<li><a href="http://fatfree.sourceforge.net/">Fat Free Framework</a>
<li><a href="http://slim.joshlockhart.com/">Slim</a>
<li><a href="http://autonomousmachine.com/2008/11/21/fitzgerald-a-sinatra-clone-in-php">Fitzgerald</a>
</ul>]]></description>
      <pubDate>Mon, 01 Nov 2010 11:14:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Linux Magazine: Micro-Frameworks: Big Things in Small Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/12489</guid>
      <link>http://www.phpdeveloper.org/news/12489</link>
      <description><![CDATA[<p>
<i>Martin Streicher</i> has written up <a href="http://www.linux-mag.com/id/7324">a new article</a> for the Linux Magazine website looking at microframeworks - one in Ruby and the other in PHP (<a href="http://sofa-design.net/limonade/">Limonade</a>).
</p>
<blockquote>
Indeed, the quality of Rails, CakePHP, Django, and Catalyst notwithstanding, some developers have rebuffed the large frameworks, citing bulk and complexity, to create smaller and simpler alternatives. Dubbed micro-frameworks-think microcomputer versus mainframe-the tools shape incoming requests into something manageable and leave the rest up to you. Choose your design pattern, object-relational mapper (ORM), and rendering technology, and off you go. As you'll see, a working Web application can be composed in less than ten lines of code in a single source file.
</blockquote>
<p>
He covers the Ruby framework first (<a href="http://www.sinatrarb.com/">Sinatra</a>) and <a href="http://sofa-design.net/limonade/">Limonade</a> next. The framework takes incoming requests and maps them into the developed code. It works like a basic MVC-formatted framework - the request comes in with an action and is sent to a method by the same name. You can use wildcards in the URI, regular expression matching, views, templates and it includes error handling support and configuration option support.
</p>]]></description>
      <pubDate>Mon, 11 May 2009 10:26:12 -0500</pubDate>
    </item>
  </channel>
</rss>
