What's New in Sinatra 1.2?
sinatrarb.com
sinatrarb.com
Is it a mini-framework? un-framework? lightweight framework? Please folks, give me some good ideas for the best quick term to capture what sintra and its ilk are.
By its ilk, I mean 'frameworks' that really do 1 or 2 things for you, do them well ( like routing ) and get out of your way. Others I've used that fit into the same idea... compojure & seaside...
So please, terminology suggestions?
[1] http://flask.pocoo.org/ [2] http://sheddingbikes.com/posts/1289384533.html
However I believe the emphasis of microframework that Camping was trying to put across was more on its code size which came in at or under 4K [1]. So perhaps frameworks which also accomplish a small code footprint, for eg. Squatting (http://search.cpan.org/dist/Squatting/), are best called microframeworks [2]
However happy to use microframework for Sinatra, Dancer, Flask, etc in lieu for something better? (nepenthe suggestion in the comments of "convenience framework" seems good to me - http://news.ycombinator.com/item?id=2286376).
[1] https://github.com/camping/camping/blob/master/lib/camping.r...
[2] https://github.com/beppu/squatting/blob/master/lib/squatting...
I consider something like Perl's Dancer and Python's Flask(based out of Werkzeug) as very similar frameworks to Sinatra.
for me what you describe above would be heavy in my mind.
as i'm trying to come up w/ terminology that will convey my general idea to the widest range of people possible and yours is so far the farthest afield from what i was thinking of, you have really peeked my interest.
I don't have time to do simple request/response building although if I did Python's Paste/Webob would be my choice so I choose frameworks that I can add in the usual "extra" requirements that I do need.
This blog post is a couple of years old but sheds some light on the abundance of frameworks in the Python world at least. The closing section sums up the difference between full stack frameworks and lighter frameworks.
http://bitworking.org/news/Why_so_many_Python_web_frameworks
Another term I've seen around is "utility library" instead of framework. Perhaps that is better?
When I hear utility library, I think more low level than microframework.
I've never found that it causes any problems, but since I have been primarily in the .NET world lately, it's pretty rare for people to be all that familiar with anything elsewhere, and if they are, they generally get what I am going for when I say it.
Their frontpage, while humorous, doesn't explain this very well at all. A line or two about what Sinatra does and some examples what to use it for would increase usability of the page enormously.
See http://neovigator.heroku.com for an example sinatra app.