I'm only 2 months old to node and have been looking for the perfect setup,
and Sebastian your post caught my eye about using code on both front and
back seamlessly for quick development.  I have been looking for a framework
to work with that is express, redis, socket.io, underscore and backbone
that uses the code seamlessly on the front and back and found this module

https://github.com/sorensen/backbone-dnode

and installing this module looks to be the cleanest way to do it?

Also read the Henrik's &yet article that was posted over a year ago,
describing how we should be using both code both for client and server,
which is what he describes as making node so awesome.  Especially for me
since I specialize as a front-end engineer and have grown to love backbone.
http://andyet.net/blog/2011/feb/15/re-using-backbonejs-models-on-the-server-with-node/

Henrik goes on to say that they will be developing a framework for this but
haven't been able to locate it.  I'm just wondering if there is a good
boilerplate out there that does this, one with not too much magic like
railway or tower.   Or is it best to build my own by installing modules
like the one above.

Matthew

On Fri, Mar 9, 2012 at 10:20 AM, Bika <[email protected]> wrote:

> 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
>

-- 
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

Reply via email to