WardCunningham / Smallest-Federated-Wiki

This wiki innovates by: 1. federated sharing, 2. drag refactoring and 3. data visualization.
http://wardcunningham.github.com/
GNU General Public License v2.0
1.21k stars 178 forks source link

Sfw as couchapp #302

Closed spencermountain closed 12 years ago

spencermountain commented 12 years ago

Hi ward and all, I like the idea of applications with no middleware, no internal serverside api to data. Sfw seems like an app where the data ought to marry the client side, it gets heavily manipulated, and tossed about a great deal. An abstraction between it and the db could be avoided, and it would make sfw edgy as an installable app without additional baggage. You get offline replication for free and you can run it on a phone. What do you think about sfw as a couchdb app? Keep up the interesting project.

WardCunningham commented 12 years ago

There is already a couch binding for the sinatra server implemented via a "storage" abstraction. There is also a storage abstraction emerging on the client side that makes browser local storage and sever side storage look similar.

If the client side abstraction were made more plugable, then a direct couch storage plugin would be very interesting. I'm not ready to make couch the only storage mechanism. It would have to be an option.

spencermountain commented 12 years ago

thanks! you're the best!