I need to create divs that will be populated by objects of a class, I have in mind that I will need to use a foreach creating a div for each object, but I do not know how to call and position these divs in html, whether it is via ajax or another way.