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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Express: A Node.js web development framework

124 点作者 adamhowell大约 15 年前

5 条评论

frankus大约 15 年前
I guess I'm about the last person in the world to recognize this (<i>cough</i> Steve Yegge <i>cough</i>), but it really is starting to look like the next big server-side language is going to be JavaScript.<p>It's got a non-intimidating C-like syntax, has some powerful features (e.g. being able to use anonymous functions as closures), is garbage collected, and can run client side. And you've got three or four well-funded organizations full of smart people duking it out over who can make the fastest implementation.<p>The syntax is a bit ugly if you're used to something like Ruby. Comparing Express to Sinatra, I miss the block syntax and the implicit returns (although JS handles passing in multiple blocks quite elegantly).<p>Maybe what we'll see are a number of languages that compile down to JavaScript, sort of RJS on steroids.
评论 #1204571 未加载
评论 #1204511 未加载
toisanji大约 15 年前
I wonder if any startups are using this tchnology. What kinds of advantages could a js stack like this have over something like ruby on rails?
评论 #1203623 未加载
评论 #1204475 未加载
评论 #1203550 未加载
olsonjeffery大约 15 年前
This would look a lot nicer in coffee-script, oh wait...<p><a href="http://twitter.com/tjholowaychuk/status/9314981876" rel="nofollow">http://twitter.com/tjholowaychuk/status/9314981876</a><p>Seriously though: JavaScript is a great language, but I'd prefer a sub-dialect to smooth the syntax over a bit. It is not-at-all DSL friendly and, frankly, Express' route syntax looks like shit when stacked up against Sinatra or even bottle.py
adamhowell大约 15 年前
For anyone in the Charlotte, NC area who's interested, Aaron Heckmann (one of the contributors) will be giving a presentation on Express April 15th:<p><a href="http://www.meetup.com/CharlotteJS/calendar/12929151/" rel="nofollow">http://www.meetup.com/CharlotteJS/calendar/12929151/</a>
rbranson大约 15 年前
I think this proves that our notion of "ultra high performance" is severely distorted.
评论 #1203764 未加载
评论 #1203607 未加载