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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

ExpressJS 4.0 has been released

169 点作者 tbassetto大约 11 年前

21 条评论

zzzaim大约 11 年前
And here are the new features in Express 4.x: <a href="https://github.com/visionmedia/express/wiki/New-features-in-4.x" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visionmedia&#x2F;express&#x2F;wiki&#x2F;New-features-in-...</a>
nailer大约 11 年前
I love you Express, but my next project is going to be based on TJ&#x27;s own Express successor: <a href="http://koajs.com/" rel="nofollow">http:&#x2F;&#x2F;koajs.com&#x2F;</a>
评论 #7573333 未加载
评论 #7573697 未加载
评论 #7573005 未加载
评论 #7573156 未加载
batuhanicoz大约 11 年前
I have been looking&#x2F;thinking for the best way to implement something like the new Router functionality for 3 days now.<p>This is very good news for me.<p>Also, how to migrate guide can be found here: <a href="https://github.com/visionmedia/express/wiki/Migrating%20from%203.x%20to%204.x" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visionmedia&#x2F;express&#x2F;wiki&#x2F;Migrating%20from...</a>
beck5大约 11 年前
Express has been at the core of everything we have done, a great little framework. Going forward though its worth keeping an eye on <a href="http://koajs.com" rel="nofollow">http:&#x2F;&#x2F;koajs.com</a>, like express it is built by visionmedia&#x2F;tj but uses the new generators that are starting to become available in node.
评论 #7572638 未加载
philjackson大约 11 年前
The latest commit message on (the now completely seperate) body-parser module is &quot;asdf&quot;. Makes me nervous.
评论 #7574243 未加载
评论 #7573830 未加载
评论 #7574434 未加载
评论 #7573832 未加载
评论 #7573831 未加载
jpdlla大约 11 年前
If you&#x27;re also wondering about what the changes were for 4.0 <a href="https://github.com/visionmedia/express/blob/master/History.md#400--2014-04-09" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visionmedia&#x2F;express&#x2F;blob&#x2F;master&#x2F;History.m...</a>
sgy大约 11 年前
Most of the middlewares (like logger) are no longer bundled with Express and must be installed separately.<p><a href="https://github.com/senchalabs/connect#middleware" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;senchalabs&#x2F;connect#middleware</a>
sgy大约 11 年前
3.x to 4.x Migration guide:<p><a href="https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;visionmedia&#x2F;express&#x2F;wiki&#x2F;Migrating-from-3...</a>
ollysb大约 11 年前
I had a play with express&#x2F;node a whole back but found it quite low level (useful in some cases). Is there anything closer to rails in node or is there a preference for piecing everything together with libraries?
评论 #7572859 未加载
评论 #7573436 未加载
评论 #7575870 未加载
评论 #7572940 未加载
fauria大约 11 年前
Nice guide on Express 4: <a href="http://scotch.io/bar-talk/expressjs-4-0-new-features-and-upgrading-from-3-0" rel="nofollow">http:&#x2F;&#x2F;scotch.io&#x2F;bar-talk&#x2F;expressjs-4-0-new-features-and-upg...</a>
Jacqued大约 11 年前
The changes make express even cleaner than before. The new routing system, allowing handling different verbs with chained functions, is pretty slick.<p>Also, decoupling default middleware and putting them into their own modules seems like the way to go, and more &#x27;node-y&#x27; than packing everything together.<p>I&#x27;ll be glad to get rid of the connect warnings too !<p>Although there&#x27;s koajs, it&#x27;s nice to see express is still getting some love
rubiquity大约 11 年前
Does anyone know where I can find discussion about the Express team&#x27;s decision to completely detach from connect? I&#x27;m also curious about what type of middleware design they went with, or if they just reimplemented connect in their own way, which wouldn&#x27;t surprise me due to the prevalence of Not Invented Here syndrome in the Node community.
评论 #7572892 未加载
评论 #7576314 未加载
评论 #7573286 未加载
jamescun大约 11 年前
I love the new Router design, but I mainly use Restify[1] to build REST APIs for SPAs. How easy would it be to use port Express&#x27;s new Router to Restify?<p>[1] <a href="https://github.com/mcavage/node-restify" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mcavage&#x2F;node-restify</a>
评论 #7573700 未加载
评论 #7575275 未加载
iamartnez大约 11 年前
One thing express doesn&#x27;t do is manage URLs for you. I wrote a simple module that does this[0]. It helps, especially when you have a large number of URLS.<p>[0] <a href="https://github.com/artnez/urltree" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;artnez&#x2F;urltree</a>
jdc0589大约 11 年前
Very cool. Interestingly enough, a lot of Express features are starting to align with Bogart (<a href="https://github.com/nrstott/bogart" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nrstott&#x2F;bogart</a>) features, and vice versa unintentionally.
ika大约 11 年前
I really like this new <a href="http://expressjs.com/4x/api.html#router" rel="nofollow">http:&#x2F;&#x2F;expressjs.com&#x2F;4x&#x2F;api.html#router</a> feature.<p>This will help me build better architecture for application on top of express
bricss大约 11 年前
Hapi.js to everyone <a href="http://spumko.github.io/" rel="nofollow">http:&#x2F;&#x2F;spumko.github.io&#x2F;</a>
tegeek大约 11 年前
Another complete web framework in NodeJS world.<p><a href="http://www.partialjs.com/" rel="nofollow">http:&#x2F;&#x2F;www.partialjs.com&#x2F;</a><p>Its a bit high level than Express but same performance wise. I like it becoz you get started in 2 minutes.
findjashua大约 11 年前
Any particular reason to choose Express over Koa?
评论 #7576300 未加载
kayoone大约 11 年前
Partly unrelated but i have read strong evidence[1] suggesting that the ExpressJS author (TJ) does not even exist as a real person and is an entirely constructed online identity who is portrayed by different people. Not that it matters too much though, still interesting ;)<p>[1] <a href="http://www.quora.com/TJ-Holowaychuk-1/How-is-TJ-Holowaychuk-so-insanely-productive" rel="nofollow">http:&#x2F;&#x2F;www.quora.com&#x2F;TJ-Holowaychuk-1&#x2F;How-is-TJ-Holowaychuk-...</a>
评论 #7573677 未加载
评论 #7573784 未加载
评论 #7573951 未加载
评论 #7574286 未加载
评论 #7573702 未加载
bright_day大约 11 年前
finally i am really excited