canjs / can-connect

Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.
https://canjs.com/doc/can-connect.html
MIT License
29 stars 16 forks source link

Support Other Frameworks #42

Open justinbmeyer opened 8 years ago

justinbmeyer commented 8 years ago

It would be nice to have examples of can-connect supporting other frameworks. Backbone seems like the obvious primary candidate.

The big integration point is bindings.

janat08 commented 6 years ago

or perhaps graphql, with apollo being like the only client. https://forums.donejs.com/t/apollo-graphql-integration/896

justinbmeyer commented 6 years ago

@janat08 can you share some details of what this integration might look like? How could one map the CRUD / REST of can-connect to graphql?

janat08 commented 6 years ago

https://github.com/apollographql/apollo-codegen/blob/master/README.md I believe this responsible for the graph crud abstraction.

janat08 commented 6 years ago

I dont know what connect does now for lack of experience with rest services. But the idea with graph is that theres just one endpoint, and the commands there are parsed dynamically.

janat08 commented 6 years ago

It might be case that it would be easier to use apollo and integrate with view.

frank-dspeed commented 5 years ago

@justinbmeyer integration of apollo client is the same as with feathers its simply a framework for browser and node the server side accepts on a single endpoint queryParms in a custom formart that the apollo client creates like the feathers client does it at present.

I know that because i have done a Project with Apollo but its not generic enought as i needed to add a lot of extra stuff but the base was the feathersjs example.

extra stuff i needed to add was List and Data Managment so i used the Apollo Client Directly and Updated my Instances with manual code event based i will publish a simple generic example to https://github.com/stealify/connect-apollo