PHP Classes


Recommend this page to a friend!

      PHP Classes blog  >  Recommended PHP frame...  >  All threads  >  UCM vs MVC  >  (Un) Subscribe thread alerts  
Subject:UCM vs MVC
Summary:Recommended PHP frame...
Author:David Drake
Date:2006-07-28 10:22:09
Update:2006-07-28 19:38:33

  1. UCM vs MVC   Reply   Report abuse  
Picture of David Drake David Drake - 2006-07-28 18:42:25
I use UCM too, and I believe that this is the best methodology for php4. An eventually choice in favor of MVC can be motivated with the "recycle" advantage, common in languages as Java, but Php has not another alternative (I mean desktop application) that can re-use the model part.
(Php-GTK Excluded).

  2. Re: UCM vs MVC   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-07-28 19:38:33 - In reply to message 1 from David Drake
I am not sure what you mean by recycle. Maybe you mean re-factor.

Anyway, I use Metastorage to generate the model classes from model definition file. The model definition includes classes, variables, relationships and validation rules.

When I want to change details of the model, I just edit the model definition and Metastorage can regenerate all model classes for me in seconds. For me this has been a quantum leap in productivity.