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

Slim Framework Blog: Lumen

Stefan Mischook's Blog: PHP Video: Controllers in MVC

Bill Karwin's Blog: ActiveRecord does not suck

Gonzalo Ayuso's Blog: Building a small microframework with PHP (Part 2). Command line interface

International PHP Magazine: Poll Question: What Do You Look for in Frameworks?


Community Events

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


php7 api example yii2 podcast laravel part2 interview opinion series composer symfony project programming community framework language application introduction list

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