This looks a bit like Sinatra <a href="http://www.sinatrarb.com" rel="nofollow">http://www.sinatrarb.com</a> and Camping <a href="http://camping.rubyforge.org/files/README.html" rel="nofollow">http://camping.rubyforge.org/files/README.html</a> for Ruby.
I am not sure why people are spending their time developing web frameworks that only let you do less than existing web frameworks.<p>I ranted about this in detail here:<p><a href="http://blog.jrock.us/articles/Ernst,%20Angerwhale,%20the%20Future%20of%20Perl%20Web%20Frameworks,%20and%20Deleted%20Email.pod" rel="nofollow">http://blog.jrock.us/articles/Ernst,%20Angerwhale,%20the%20F...</a><p>(My thoughts about web frameworks start near the middle.)
I was just checking the Sinatra docs and the Juno examples on the homepage.<p>Suppose I want to do mydomain.com/username,
Sinatra supports doing:<p>get '/:name' do
#matches /username
end<p>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)<p>@route('/hello/:name/')
def hello(web, name):
return 'Hello, %s' % name<p>Or if I'm wrong... can I do this?
@route('/:name/')
def index(web, name):
return 'Hello, %s' % name<p>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>P.S: I love the routing system in Sinatra and Juno. Too friendly and no tinkering with regex directly