I wanna restrict model to calling to db only while controller will call model, libraries or helpers.
I do not want to put logic in controller nor in the model to prepare data for views. Now the logic for preparing all the arrays for views are done in controller. I am creating a library to separate this part as sometimes i feel it is overloading the controller
Hence, i want to create a library class and make controller build the view data before throwing it to the view. It is not exactly templating.
The thing is i do not know how to name it.. Any good suggestion ? I am thinking view_builder, ui_builder, ui_components?
Cheers