Showing posts with label serverside-javascript. Show all posts
Showing posts with label serverside-javascript. Show all posts

Monday, April 23, 2012

How would MVC-like code work in Node.js?


I'm starting to get my head around node.js, and I'm trying to figure out how I would do normal MVC stuff. For example, here's a Django view that pulls two sets of records from the database, and sends them to be rendered in a template.