|
|
|
|
|
by tr4nslator
5982 days ago
|
|
Hey all, I just launched a dead-simple web framework on top of node.js. It uses (abuses?) a lot of the dynamic nature of javascript to create a jQuery-inspired DSL that's pure javascript, allowing you to create really concise web apps like this: ( fab )
( "/time", function(){ return "the time is " + (new Date).toTimeString() } )
( "/date", function(){ return "the date is " + (new Date).toDateString() } )
( fab )
I'd love to hear any feedback from the folks here, so check it out and let me know what you think. |
|
I think I can say that this is the best (ab)use of the syntax I've ever seen, well done. :)