flatiron/flatiron — pull request #70 by pksunkara (2012-06-23 22:49:12+00:00)
Title: View plugin. Support for template engines

With this we now officially support jade, ejs and other template engines. The README I wrote is very descriptive. So, please read it to know what this pull request is about.

I have tested it and example apps are listed below:

* Using jade engine, https://github.com/pksunkara/flatiron-jade/tree/master/example
* Using ejs engine, https://github.com/pksunkara/flatiron-ejs/tree/master/example

#### How to test the example apps

```bash
$ git clone git://github.com/flatiron/flatiron
$ cd flatiron && npm install
$ git merge origin/view
$ npm link && cd ..
$ git clone git://github.com/pksunkara/flatiron-jade
$ cd flatiron-jade && npm install
$ node example/app.js
```

There are three routes available to test

* [http://localhost:3000](http://localhost:3000)
* [http://localhost:3000/this](http://localhost:3000/this)
* [http://localhost:3000/options](http://localhost:3000/options)