3 ms·
Similar thing with the web frameworks I use. I don't need MVC, but in reality I end up using something similar anyway. I render a template (essentially a view,
by TazeTSchnitzel 14y ago
Similar thing with the web frameworks I use. I don't need MVC, but in reality I end up using something similar anyway. I render a template (essentially a view, Jinja2's pretty powerful), request functions are essentially controllers, and I have a set of functions and classes for manipulating data and performing operations that essentially form the models.
- eterps 14y agoI think that's what is really important; understanding what concerns need to be separated instead of blindly creating models, views and controllers because that's how it is supposed to be done.
- TazeTSchnitzel 14y agoYep. This design is partly because of lessons learned from experience: PHP development showed me that mixing things together and code duplication is a bad idea.
- datashaman 14y agoGrr, generators. They leave so much cruft lying around.