Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does it mean to be a micro framework? [closed]

Ruby Sinatra and PerlDancer are called "Micro web framework"?
What does it mean to be a micro framework?

Are micro web frameworks suitable for large projects (say Stackoverflow, e-shopping, real estate management or ...)?
What are the best usage cases for micro web frameworks?

like image 303
Chiron Avatar asked Jul 21 '11 23:07

Chiron


1 Answers

A micro definition: To me, a micro framework does less for you and leaves more freedom on how you write and organize your code.

When using Rails, you pretty much have to use a relational DB and use the conventional naming and directory structure it builds on. It also includes much more functionality out-of-the-box.

Sinatra, on the other hand, lets you have the flexibility you want and pick-and-choose your functionality. For example, I used Sinatra to create a CouchDB-backed website/service while doing so in Rails would have been much more complex.

like image 85
Félix Saparelli Avatar answered Oct 21 '22 21:10

Félix Saparelli