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

Implement store adapters to connect to different data sources #19

Open
drborges opened this issue Dec 15, 2017 · 1 comment
Open

Implement store adapters to connect to different data sources #19

drborges opened this issue Dec 15, 2017 · 1 comment
Labels

Comments

@drborges
Copy link
Owner

drborges commented Dec 15, 2017

This would allow a local store to connect with different remote data sources, such as a Rest API, GraphQL, or even another arbor store via a peer-to-peer connection.

Rest APIs

store.connect(new MyRestApiAdapter)

GraphQL

http://graphql.org/graphql-js/running-an-express-graphql-server

store.connect(new MyGraphQLServerAdapter)

Web Sockets

https://www.html5rocks.com/en/tutorials/websockets/basics

store.connect(new MyWebsocketChannel)

WebRTC

https://www.html5rocks.com/en/tutorials/webrtc/basics

store.connect(new MyWebRTCConnection)

Local Storage

store.connect(new LocalStorageAdapter)
@drborges
Copy link
Owner Author

drborges commented Dec 15, 2017

Useful References:

  1. Ember DS.Store (@Juraci)

@drborges drborges changed the title Implement store adapters to connect with different data sources Implement store adapters to connect to different data sources Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant