Skip to content

Commit

Permalink
added link to blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
paulosuzart committed Mar 26, 2012
1 parent b53ba86 commit d4249ef
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Expand Up @@ -2,11 +2,12 @@

A Leiningen template for projects using [Webnoir](http://www.webnoir.org/) plus [enlive](https://github.com/cgrand/enlive).

Enlive lets you work with `css` selectors agains your views, what IMO is a big advantage. It allows for working with pure html instead of hiccup - a great framework - vectors.
Enlive lets you work with `css` selectors against your views, what IMO is a big advantage. It allows for working with pure html instead of hiccup - a great framework though - vectors.

It comes with sample snippets as well as a main template to help you setup you own.
This template comes with sample snippets as well as a main template to help you setup you own.

In future versions of this template, it will offer more common functions and view helper. Maybe korma or other persistence mecanism will be put together here.

In future versions it will offer more common functions and view helper functions. Maybe korma or other persistence mecanishm.

## Usage

Expand All @@ -19,11 +20,11 @@ Don't forget to use either [lein2](http://leiningen.org/) or [lein-newnew](https

Done!

See the instructions in `myproj/README.md`
See the instructions in `myproj/README.md`. You can also find a blog post about noir + enlive and this template: [Web Noir Plus Enlive Template](http://paulosuzart.github.com/blog/2012/03/25/web-noir-plus-enlive-template/).

## Caveats for enlive

You may notice in the sample `_login` snippet that it takes as argument, the error list coming from `webnoir.validation/get-errors` instead of accessing it directly. Noir dynamic are not bound during the processing of the snippet.
You may notice in the sample `_login` snippet that it takes as argument, the error list coming from `webnoir.validation/get-errors` instead of accessing it directly. Noir dynamic variables are not bound during the processing of the snippet.

The same happens with cookies.

Expand Down

0 comments on commit d4249ef

Please sign in to comment.