FacultyCreative / ngActiveResource

Connects business objects and REST web services for Angular.js
255 stars 34 forks source link

Using a Serializer & Adapter to interact with custom APIs #57

Closed jonkoops closed 5 years ago

jonkoops commented 10 years ago

I'm currently looking to implement ngActiveResource, but am unable to make it communicate with our API because ours greatly deviates from the conventions assumed in the docs. Which would basically force me to fork the repo and change the code to comply with the structure we're using.

Some kind of Adapter & Serializer base class would be an ideal situation. This would allow developers to write a minimal amount of code to make their APIs work with ngActiveResource. These would essentially be the same concept used in Ember Data, see Adapter & Serializer from the Ember docs.

AlJohri commented 10 years ago

Duplicate #18