TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What's new in Sinatra 1.4?

61 点作者 EzGraphs大约 12 年前

4 条评论

epynonymous大约 12 年前
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 未加载
lysium大约 12 年前
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 未加载
derefr大约 12 年前
&#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 未加载
hayksaakian大约 12 年前
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 未加载