TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Juno: A Lightweight and Simple Web Framework

43 pointsby jamongkadabout 16 years ago

3 comments

thomasflabout 16 years ago
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.
评论 #506617 未加载
评论 #506505 未加载
评论 #506597 未加载
jrockwayabout 16 years ago
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.)
评论 #507593 未加载
评论 #506995 未加载
评论 #506832 未加载
SingAlongabout 16 years ago
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