Relative Content

Tag Archive for collections

Filtering a List

I will try to simplify my problem. Let say I have a collection (more specifically a List) with different types of elements, for explanation purpose let say we have objects “Person” with different age of birth and an ID. I will represent a person like this: {<id>,<year>}

Models, collections…and then what? Processes?

I’m a LAMP-stack dev who’s been more on the JavaScript side the last few years and really enjoying the Model + Collection approach to data entities that BackboneJS, etc. uses. It’s helped me organize my code in such a way that it is extremely portable, keeping all my properties and methods in the scope (model, collection, etc.) in which they apply.