github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

jed / fab

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 419
    • 19
  • Source
  • Commits
  • Network (19)
  • Issues (0)
  • Downloads (2)
  • Wiki (4)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (2)
    • master ✓
    • v0.5
  • Switch Tags (2)
    • v0.4.0
    • v0.3.0
  • Branch List
Sending Request…

a modular async web framework for node.js — Read more

  Cancel

http://fabjs.org

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

added link to v0.5. 
jed (author)
Wed Aug 18 22:58:34 -0700 2010
commit  80a4c8e12e3738efc862
tree    2f7abf932ea70a0186f5
parent  a618ff9b73832e879161
fab /
name age
history
message
file LICENSE.txt Mon Mar 15 01:11:06 -0700 2010 first commit for v3 [jed]
file README.md Wed Aug 18 22:58:34 -0700 2010 added link to v0.5. [jed]
directory apps/ Thu Jul 01 05:59:32 -0700 2010 added the host to the url object. [jed]
directory builds/ Sun Apr 25 11:31:14 -0700 2010 modified builds to include list of app names. [jed]
directory examples/ Sun Apr 25 13:37:43 -0700 2010 changed fab.nodejs.listen into a ternary app. [jed]
file index.js Mon Apr 26 06:26:59 -0700 2010 prevent higher namespace override, ie so that f... [jed]
file package.json Sun Jun 20 03:11:08 -0700 2010 updated package.json for npm. [jed]
directory utils/ Fri Apr 23 08:33:14 -0700 2010 made all tests async, changed build process. [jed]
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.

Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文