I'm building a timeline similar to Facebook's...with different types of posts, all sorts of data involved with each, but still highly templatized.
I am wondering if it's better to pass large multidimensional arrays into each sub-view (each item on the timeline), or if it's better to simply pass objects in (such as a "user" object), so that the sub view can use the functions of the object?
Is one more flexible than the other, and does anybody know how Facebook handles this?