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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

(fab) - A pure javascript DSL for building async web apps

86 点作者 tr4nslator超过 15 年前

4 条评论

tr4nslator超过 15 年前
Hey all,<p>I just launched a dead-simple web framework on top of node.js. It uses (abuses?) a lot of the dynamic nature of javascript to create a jQuery-inspired DSL that's pure javascript, allowing you to create really concise web apps like this:<p><pre><code> ( fab ) ( "/time", function(){ return "the time is " + (new Date).toTimeString() } ) ( "/date", function(){ return "the date is " + (new Date).toDateString() } ) ( fab ) </code></pre> I'd love to hear any feedback from the folks here, so check it out and let me know what you think.
评论 #1084430 未加载
评论 #1085214 未加载
评论 #1084470 未加载
评论 #1084874 未加载
评论 #1084849 未加载
cmelbye超过 15 年前
What's the ratio of node.js web frameworks to sites that actually use them?
评论 #1084766 未加载
评论 #1084932 未加载
评论 #1084972 未加载
uggedal超过 15 年前
Unfortunate name: The Fabric Python deployment tool uses the <i>fab</i> binary and uses <i>fab</i>files for configuring deployments: <a href="http://docs.fabfile.org/" rel="nofollow">http://docs.fabfile.org/</a>
评论 #1084607 未加载
amix超过 15 年前
Stuff like (fab) and CoffeeScript* show how easy it is to build on top of the V8 and node.js platform. And these toy languages/frameworks also have great perfomance given the non-blocking nature of node.js and the optimizations of V8. Amazing and happy to see more of these projects :)<p>* <a href="http://jashkenas.github.com/coffee-script/" rel="nofollow">http://jashkenas.github.com/coffee-script/</a>
评论 #1084657 未加载