REST + Backbone vs Now

79 views
Skip to first unread message

Andrew Seddon

unread,
Jun 12, 2011, 5:59:20 PM6/12/11
to nowjs
I'm writing an app that is very client heavy (essentially a desktop
app). The back end is a thin veneer over MongoDB (using Mongoose).
I've started using Backbone on the front end and a REST API.

I'm considering dumping Backbone + REST and just letting Now directly
sync my Mongoose models up to the front end;

Mongo <-> Mongoose + Middleware <-> ??? <-> Now <-> ??? <--> DOM

Thoughts?

Vladimir Dronnikov

unread,
Jun 13, 2011, 12:52:29 AM6/13/11
to no...@googlegroups.com
>
> I'm considering dumping Backbone + REST and just letting Now directly
> sync my Mongoose models up to the front end;
>
> Mongo <-> Mongoose + Middleware <-> ??? <-> Now <-> ??? <--> DOM
>
> Thoughts?

Any security measures?

Andrew Seddon

unread,
Jun 13, 2011, 4:02:27 AM6/13/11
to nowjs
Mongoose has some nice middleware to take care of security, obviously
you couldn't directly expose the db.

http://batmanjs.org/ mentions using Now and seems to have an easy way
to persist client side models. Not a lot of info at the moment tho.
Reply all
Reply to author
Forward
0 new messages