hi, we use a quite similar setup with mongodb and backbone, and we try to share as much code b/w the browser and the server as possible. As a result we have released two node packages: https://github.com/ToolPartTeam/backbone-mongodb https://github.com/nagyv/backbone-validation
The first one handles schema-less mongodb-backbone operations really well + we are trying to extend it to support nested and linked documents too. The latter is a port of backbone.validation from thedersen to node(+browser). This way we are quite fast is validating our code. We have 2-3 post already about our setup at http://dev.estisia.com, as it seems you follow quite similar paths as we do, you might find them useful. Viktor On márc. 8, 18:57, Sebastian Patten <[email protected]> wrote: > I am highly interested in reducing the time taken for me to build web apps > in Node.js. I'd be interested in learning any beneficial modules or tips > that would speed up my development. > It might be some modules that encourage convention over configuration or it > might be some best practices or tips. Anything is appreciated. > > *Side note/Off topic* > I've been working on a Node.js project for 4-5 months and have done the > following to speed up my development: > > - MongoDB as a database. My domain objects have a toJson method that > serialize them to json. I then place this json straight into mongodb. This > saves time playing around with traditional schema creation, field types of > int/varchar etc... > - My domain objects are shared between client and server, I don't have > to write code for both the server and client to validate. > - I use knockout.js on the client side. I wrote some quick code to > automatically wire domain object fields to form fields so validation can > happen automatically. > > Thanks for any info. -- 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
