News 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

VideoPHPBlog.com: Create your own MVC

Lukas Smith's Blog: My take on the MicroPHP manifesto buzz

Padraic Brady's Blog: The M in MVC: Why Models are Misunderstood and Unappreciated

TheWorkAround.com: Determining, what makes a good framework?

Andrew Podner: CodeIgniter: Keeping M-V-C straight


Community Events





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


community language code install developer framework laravel list podcast unittest opinion testing interview release introduction symfony2 api threedevsandamaybe experience series

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