Meryl
Meryl is a minimalist web framework for nodejs platform. It is really simple to use, fun to play and easy to modify.
It consists of only ~240 source lines of code. Here is the proof.
$ uglifyjs -b -nm --no-seqs -ns -nc meryl.js | wc -l
233
Install
Use node package manager 'npm' to install latest Meryl version.
npm install meryl
Usage
Here is simple preview.
// take the pillsvar meryl = ;// first, take it easymeryl;// not impressed? let it interfere with blood some moremeryl;// lay down and enjoy itmeryl;// now you are a 'meryl' junkiemeryl;
Meryl is Connect middleware compatible. Serve static content in seconds.
meryl;
Love (fab)? Checkout (fab) flavored meryl.
with connectmerylfabbystatic"."'GET /' {resp;}'GET /posts/{postid}' {resp;}'GET /posts/{postid}/comments/{commentid}' {resp;};
Also taste meryl with coffeescript, using coffeekup
people = 'animal''beakers''piggy''kermit'merylplug connectloggerconnectstatic"."get '/'respredirect'/people'get '/people'resprender 'layout'content: 'list'context:people: peopleget '/people/{personid}'resprender 'layout'content: 'show'context:person: peoplereqparamspersonidruntemplateExt: '.coffee'templateFunc: coffeekupadaptersmeryl
You can of course use its cgi interface.
;
Meryl has much more, please continue from the links below.
Please visit wiki page for documentation: http://github.com/kadirpekel/meryl/wiki
Also there are plenty of examples in 'examples' directory: http://github.com/kadirpekel/meryl/tree/master/examples
For updates please follow: http://twitter.com/meryljs
Contributors:
- Kadir Pekel (Author) http://twitter.com/kadirpekel
- George Stagas http://twitter.com/stagas
- Samuel Morello http://twitter.com/ouvanous
- Michael Siebert http://twitter.com/siebertm
- Vladimir http://github.com/semanticprogrammer