Client and Server Form Validation using the YUI 3 based View engine for ExpressJS
JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead, 13 commits behind davglass:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
modules
views
LICENSE
README
config.js
server.js
server_fugue.js

README

This is an extended Version of Dav Glass' Code that runs: http://express.davglass.com/

I added a form validation example that completely reuses the javascript to do form validation on the frontend and on the backend thanks to the power of yui3 on both ends.

You must have git, NodeJS 0.2.1 and npm 0.2.0 installed

To use it, follow these simple steps:

    npm install yui3
    npm install yui3-gallery
    npm install yui3-2in3

    git clone git://github.com/ginader/yui-express.git

    cd yui-express

For a normal run:
    ./server.js

Visit: http://localhost:3200/

To use Spark: http://github.com/senchalabs/spark

Install spark via:

    npm install spark
    spark

Visit: http://localhost:3200/