I've had experience working with the osCommerce shopping cart and I like how they use "require" to just add different boxes to either the left or right side columns of the website.
require(DIR_WS_BOXES . 'shopping_cart.php');
I'm having a programmer create a new website for me and he is doing it in CakePHP. I asked him if he could use the same logic when creating boxes like osCommerce uses this way I can just "require" these boxes on different pages fairly easy.
He tells me that in frameworks like CakePHP it is not easy to work on the pages code like it is in smarty ones; I'm guessing by smarty is he is referring to osCommerce.
Is this true? With CakePHP will creating separate box php files and just requiring them on different pages like osCommerce not work?
Thank you!