jed / fab
- Source
- Commits
- Network (19)
- Issues (0)
- Downloads (2)
- Wiki (4)
- Graphs
-
Branch:
master
fab /
| name | age | message | |
|---|---|---|---|
| |
LICENSE.txt | Mon Mar 15 01:11:06 -0700 2010 | |
| |
README.md | Wed Aug 18 22:58:34 -0700 2010 | |
| |
apps/ | Thu Jul 01 05:59:32 -0700 2010 | |
| |
builds/ | Sun Apr 25 11:31:14 -0700 2010 | |
| |
examples/ | Sun Apr 25 13:37:43 -0700 2010 | |
| |
index.js | Mon Apr 26 06:26:59 -0700 2010 | |
| |
package.json | Sun Jun 20 03:11:08 -0700 2010 | |
| |
utils/ | Fri Apr 23 08:33:14 -0700 2010 |
README.md
(fab) - a modular async web framework
(fab) is a lightweight toolkit that makes it easy to build asynchronous web apps. It takes advantage of the flexibility and functional nature of javascript to create a concise "DSL", without pre-compilation or magic scope hackery.
Here's an example of a "hello world" app:
with ( require( "fab" ) )
( fab )
( listen, 0xFAB )
( /^\/hello/ )
( tmpl )
( "Hello, <%= this %>!" )
( /^\/(\w+)$/ )
( capture.at, 0 )
( "world" )
( 404 );
See more examples, learn how to make your own apps, or see the apps that (fab) provides for you.
Note that subsequent development on (fab) breaks the current API, and is happening over at the v0.5 branch, so check there to see where things are heading.