[eluser]waterloomatt[/eluser]
Hi,
How would this design (see attachment) be implemented in CI? It was an old school project that was implemented in JSP. As I understand it, Models are essentially Data Access Layer (DALs). Therefore, my XXYYSurveyModel wouldn't be the business object that is passed around to the view; right? So, in which folder do my business objects (XXYYSuvery, XXYYQuestion etc) get stored; the Library folder?
Most of the forum posts that I've been reading don't seem to implement OOP techniques such as passing objects around - from the Model to Controller to the View. Instead, they pass arrays of info. In my opinion, passing an object to the view is cleaner since all I need to update is the view if I want to include other information. I.e. XXYYSurvey->GetTitle();
Or am I trying to fit a square into a hole here?
Thanks!