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.

0 comments:

Post a Comment