Skip to content

Model Collection

Diego van Haaster edited this page Mar 9, 2022 · 5 revisions

If you read some articles about OData on the web, you may have come across the concept of "leaky abstraction". At this point the library makes use and abuse of it. 😄

Basically the intention is to encapsulate entities with behavior in structures called models and sets of entities with behavior in structures called collections.

If you know BackboneJs, a lot of the inspiration for this part comes from there, but taking advantage of the specifications of the OData standard and the bad, bad, bad practices of leaky abstraction.

Clone this wiki locally