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.

What's new in Sinatra 1.4?

61 pointsby EzGraphsabout 12 years ago

4 comments

epynonymousabout 12 years ago
came from python (and tornado) to ruby, if it wasnt for sinatra, i'd have stayed with python and tornado. great work, keep up the clean syntax and lightweightness.
评论 #5355337 未加载
lysiumabout 12 years ago
I'm glad there is Sinatra because it inspired Scalatra, which seems way more lightweight than Play :-). Keep up being lightweight!<p>I don't blame the authors for discontinuing old branches (1.2.x), but it makes me hesitant using Sinatra for a production website that's meant to be there for &#62;= 2 years (though is an eon in IT).
评论 #5355876 未加载
评论 #5355105 未加载
评论 #5355561 未加载
评论 #5355028 未加载
评论 #5355933 未加载
derefrabout 12 years ago
&#62; By default, Sinatra will now only serve localhost in development mode. You should not be running your production system in development mode.<p>This "opinionated default" makes it very hard to test when you're running your development environment from a virtual machine, like Vagrant.<p>More and more people are doing this (gotta use those extra cores + memory for something, right?), so please consider us before adding a "listen 127.0.0.1". :)
评论 #5355530 未加载
hayksaakianabout 12 years ago
For static sites I use rack, for dynamic sites I use rails.<p>When do I use Sinatra?
评论 #5355894 未加载
评论 #5355108 未加载
评论 #5355441 未加载
评论 #5355015 未加载
评论 #5359920 未加载
评论 #5357922 未加载
评论 #5355027 未加载