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.

Strata Web Framework

66 pointsby telemachosover 13 years ago

10 comments

clyfeover 13 years ago
I find it similar to connect/express <a href="http://expressjs.com/guide.html" rel="nofollow">http://expressjs.com/guide.html</a> but a less tasty DSL and nothing new, or am I missing something? I'm sure one inspired the other since the API is strikingly similar (app.use app.get etc), strange that no comparison is given. Anyway, kudos to the devs for free software!
评论 #3023306 未加载
评论 #3023294 未加载
kainosnoemaover 13 years ago
To be honest, this doesn't look like much of a web framework. The examples show views being built up using string concatenation... reminds of my pre-templating days building snippets for jQuery.<p>Really though, everything shown can be easily replicated with a bit of Connect middleware, and it'd be cleaner. I don't see the point?
评论 #3022280 未加载
评论 #3023351 未加载
评论 #3022097 未加载
评论 #3022250 未加载
moominover 13 years ago
I guess the obvious question is: what does this offer that you don't get from connect/express?
评论 #3021881 未加载
评论 #3022641 未加载
评论 #3023148 未加载
Roboprogover 13 years ago
I'm still pretty new to the <i>idea</i> of node.js, but a couple things stand out to me. This framework uses a session cookie as a way to store some data, not just as a user/session id/authentication. Thus, they seem to be strongly pushing you towards an external session store such as memcached or a database. (I suppose that is an inherit limitation of node.js, at least as commonly used)<p>From what I understand, a Node/V8 instance really only utilizes a single CPU, yes? As a request does I/O, some other piece of code is executed until (some time after) the async I/O completes. A CPU can be effectively timesharing over several pseudo-threads, but to use a SMP chip/server, you have to run multiple instances, with a front-end load balancer. I guess this would drive one towards an external session data solution, barring some kind of sticky session and a reason to <i>be</i> sticky.
评论 #3021850 未加载
评论 #3021938 未加载
评论 #3022613 未加载
joeyespoover 13 years ago
At first glance, looks like it's a Flask for JavaScript.
评论 #3022310 未加载
tlrobinsonover 13 years ago
It's unfortunate this doesn't just use JSGI, which is much closer to Rack/WSGI than Connect, and has a fair amount of usage in Node (<a href="https://github.com/joyent/node/wiki/modules#wiki-middleware-jsgi" rel="nofollow">https://github.com/joyent/node/wiki/modules#wiki-middleware-...</a>), as well as other server-side JavaScript platforms (Ringo, Akshell, Pintura, Narwhal)<p>I'd love to hear the reasoning for the differences between the two.<p>(Disclaimer: I started JSGI)
评论 #3022483 未加载
pkulakover 13 years ago
A callback just to get the request parameters out of the environment? What could they possibly be doing in there that blocks?
评论 #3023273 未加载
frenchfriesover 13 years ago
looks pretty cool to me, nice job
wavephormover 13 years ago
<p><pre><code> Server nginx/0.7.67 </code></pre> I can't tell if it's the case here, but I get a little unnerved when a web framework doesn't even use it for their website.
评论 #3022562 未加载
评论 #3022440 未加载
评论 #3023923 未加载
foobarbazetcover 13 years ago
performant is not a word.