Juno: A Lightweight and Simple Web Framework
brianreily.com
brianreily.com
I ranted about this in detail here:
http://blog.jrock.us/articles/Ernst,%20Angerwhale,%20the%20F...
(My thoughts about web frameworks start near the middle.)
"Nature calls", so to say.
To suggest creating a framework that does less than other frameworks is the soup du jour isn't quite on. I'm loving Sinatra because it does what I need: routing. I'm using other tools to bite into git as a data store and Haml for views. It makes me giddy. Each part works the way I think or the problem I needed to solve. To expect one framework to fit all criteria is a tall order.
Compared to getting started in, say PHP, the learning curve in python is absurdly high
karrigell.sourceforge.net/
is the Python framework most similar in style and ease of starting to PHP.
Suppose I want to do mydomain.com/username, Sinatra supports doing:
get '/:name' do #matches /username end
but in Juno the route is set earlier itself, and hence seems like can't be done without a controller name (as it's called in cakephp)
@route('/hello/:name/') def hello(web, name): return 'Hello, %s' % name
Or if I'm wrong... can I do this? @route('/:name/') def index(web, name): return 'Hello, %s' % name
Also, i've been used to PHP and would like to use Django or Juno or Sinatra or Rails or anyother language's framework. But the thing that puts me off is how do I start the webserver when using Sinatra or Django?
P.S: I love the routing system in Sinatra and Juno. Too friendly and no tinkering with regex directly