Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Other Frameworks #42

Open
justinbmeyer opened this issue Oct 28, 2015 · 6 comments
Open

Support Other Frameworks #42

justinbmeyer opened this issue Oct 28, 2015 · 6 comments

Comments

@justinbmeyer
Copy link
Contributor

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
Copy link

janat08 commented May 31, 2018

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

@justinbmeyer
Copy link
Contributor Author

@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
Copy link

janat08 commented Jun 2, 2018

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

@janat08
Copy link

janat08 commented Jun 2, 2018

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
Copy link

janat08 commented Jun 2, 2018

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

@frank-dspeed
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants