is there ViewModels in CakePhp like .Net MVC?

Wednesday, November 4, 2015

I'm developing a web application with Cakephp and i have a complex view with complex forms, i come from .net mvc world and i used something called 'ViewModels' they are very friendly to make extremely custom views well formed and supported for back end validations. i understand that in cakephp i can use non persistent models using



$useTable = false; 


but i would like to make relationship between that non persistent model with another model (persistent or not) to make validation and have custom validations.



i hope to have explained it well,



Thank you for your answers

0 comments:

Post a Comment