appjs-routers-example
appjs-routers-example copied to clipboard
Routers frameworks integration with AppJS
Use existing frameworks with AppJS
here are some example code for how to integrate an already existing web site (based on some framework) with Appjs
Integrated frameworks
- express (only 2.5.11 will be supported by this example. If you want to use express 3.0 see
express-appjs-3.js) - flatiron
- browserver-router
- simple-routing
(see example files)
Note: all examples are based on appjs 0.0.19 (tested on MacOSx)
Run with:
node --harmony flatiron-appjs.js
or
node --harmony express-appjs-2.5.11.js
(you can also see express-appjs-3.js)
or
node --harmony browserver-appjs.js
or
node --harmony simple-routing-appjs.js