News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Linux Magazine:
Micro-Frameworks Big Things in Small Packages
May 11, 2009 @ 10:26:12

Martin Streicher has written up a new article for the Linux Magazine website looking at microframeworks - one in Ruby and the other in PHP (Limonade).

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.

He covers the Ruby framework first (Sinatra) and Limonade 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.

0 comments voice your opinion now!
microframework sinatra limonade mvc small light


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Create REST applications with the Slim micro-framework

Chris Hartjes' Blog: “My framework is more MVC than *your* framework!”

Gonzalo Ayuso's Blog: Building a small microframework with PHP

Oren Solomianik's Blog: Zend Framework Database Admin

Stefan Mischook's Blog: Setting up an MVC structure with the Zend Framework - part 2


Community Events











Don't see your event here?
Let us know!


code security facebook composer unittest language framework install opinion symfony2 performance package introduction hhvm release component hack podcast overview application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework