2

How do I use redis as the backend for an ember-data Data Store? It looks like I may need a custom adapter?

Michael
  • 2,973
  • 1
  • 27
  • 67

1 Answers1

3

Since Ember is a client-side framework, I would say you need two adapters (server-side and client-side).

The fact is Redis is not designed to be accessed directly over a non secured network. So if your client runs in a browser, you absolutely need a server-side middle-tier between the client and Redis.

One possibility would be to use the Webdis package as a server-side adapter, and then tweak the JSON/REST client-side adapter provided in Ember data to comply with the Webdis REST-like protocol.

Didier Spezia
  • 70,911
  • 12
  • 189
  • 154