kurtmilam/Backbone.dualStorage — comment on commit f20ca9ced1c55bc42572a06441aff6615f967ef9
File:  line 0
By chrisben:

It worked in my test on models both with and without the parseBeforeLocalSave function.

From what I understand of backbone-coudb.. it creates a "couchdb server" on the client side and manages replication of data with the real server, is that correct? So in order to implement local storage, you just need to plug this library and point the database connection to this local server instead. Is that correct?
Unfortunately I can't afford to change all my server code to move to couchdb.

One question though, server code is often more than just a simple bridge between the data in the database and the view (client) : data has to be processed/re-organised when submitted or retrieved from the db.
Where does this process fit in this direct couchdb-to-web-client model? Does the client have to do all the hard work in this case? Or does couchdb allow some coding (much like relational database procedures)?