I have several objects and a "template" to display these objects in:
Name: $name Description: $description Price: $price Picture: $image
Since the number of objects varies, how can I display these according to the MVC pattern? Should I wrap the template in a function and call it for each object?