Open marcelklehr opened 10 years ago
There has been a lot of discussion of a client-side adapter. Geddy's (somewhat embryonic) realtime support uses the model definitions on the client-side, so it's definitely doable. I'd start by looking at the in-memory and filesystem adapters, and go from there. I'd love to see this happen, and I'm happy to provide help to anyone who wants to work on it.
This would be awesome, especially if there was a way to sync.
The Model lib is now cleanly Browserify-able. Another step toward getting this to work. I think @der-On has done some work already in this area.
@der-On Is anyone still working to bring Model to the front-end?
@jrhicks yes. I'm currently using the rest-adapter in my second production project. I need to write an example on how to integrate it correctly. It's not as straight forward as on the server.
@jrhicks I've now added docs about how to use the rest-adapter in the browser: https://github.com/geddy/model#using-rest-adapter-in-browser
thanks @der-On
It would be nice to switch an app's backend from server-side to client-side more or less seamlessly.
This allows one to switch to unhosted stuff like grimwire, and remotestorage!