MVC architecture, routers and other stuff

Posted by Madfish on 1554951096
<p>I've been looking into the MVC pattern, and came across a programming blog that has some very interesting articles about MVC and a couple of its descendants - MVVM and MVVMC. Also has some cool stuff about how to build a front end controller to handle routing.</p>

<p>https://r.je/</p>

<p>It took me a few reads to get my head around it. I thought I had been doing MVC, but it turns out not in a very strict sense. Anyway, I'm trying to build something using a front controller and the MVVMC pattern, which is basically MVC except the view gets split into two components (a view plus a 'viewmodel') to decouple the view from the model and allow each component to be substituted or re-used. Together with the front end controller/router it gives you a lot of flexibility.</p>

<p>Worth a read if you have time (see the section 'MVC Related Articles').</p>
<!-- input filtered -->

This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=5871&post_id=50609