Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good write up - keep them coming! We've done our experiments as well and plan on moving more to this direction.

Would love to hear how you end up dealing with more nested collections and model loading / persistence.



Thanks! RE: Nested collections, we ended up playing around with Backbone relational as an extension to backbone ( https://github.com/PaulUithol/Backbone-relational) to deal with nested and multi relational collections. In short, whenever faced with a more complex relation, we took the easiest path possible which was normally a matter of creating another collection relating two entities. As far as client side persistence, we did not address that. Its on our backlog, but for right now we are just relying on our API to serve up the right subset of data with every call.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: