What techniques or tools have you used in enterprise apps to get around Angular's lack of data modeling?
Someone pointed me to http://www.webdeveasy.com/angularjs-data-model/ as an approach, essentially placing each constructor in a factory and another factory to keep track of the "pool" of models, search for, retrieve, load from the server, prevent duplicates of the same model. This approach is not particularly DRY or scalable because if you have multiple types of models, it does not account for inheritance among them, where methods that model types have in common are abstracted out. Nor does it address relationships between models (like one-to-many). I've also seen the alpha release of Bonegular <https://github.com/tkambler/bonegular>, which takes its inspiration from Backbone models and collections. Are there more established libraries or solutions for this? What are you using? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
