2 ms·
One thing I have started to note is that MVC is a fractal pattern. For a non-trivial app, you can define almost every component as an MVC framework. Not only
by einhverfr 14y ago
One thing I have started to note is that MVC is a fractal pattern. For a non-trivial app, you can define almost every component as an MVC framework.
Not only is there an MVC on the web server and a MVC in the web browser, but there is an MVC in the db as well, if it is well designed and well encapsulated. For example a well normalized db may have a model (physical table structure), a view (logical table structure) and controller logic (which essentially maps these two together and may enforce other things like audit trails and app-level replication).