Hi, Hi, We recently used nodejs with express for building a web app. While working on it, we built a small framework on top of express to organize our code better. The framework forces you to write separate handlers (Presenters) for GET requests and Commands for POST requests. (See http://martinfowler.com/bliki/CQRS.html). The framework also forces Post-Redirect-Get pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get) by only allowing redirects from Commands. The code is available at https://github.com/unmeshjoshi/expressmvp and npm package is expressmvp (https://www.npmjs.org/package/expressmvp).
I will like to get comments/feedback to see if everyone finds this useful. Thanks, Unmesh -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
