zheadphondz
New Member
Long time lurker, first time poster...I'm now at the point where I'd almost call myself a professional grade PHP programmer and have a lot of code I re-use in various projects. Also, a lot of Open Source packages I've worked with use the MVC model and as a result I've done a lot of research recently into how it all works so I can better edit them as required.At this point, I'm considering taking a bare-bones MVC framework (from a tutorial) and extending it as required for my forthcoming programming jobs.My question is whether the MVC model with pretty much all application logic separated from the presentation layer is considered best practice over a well structured OOP website with coding on the page as necessary e.g setting function variables.Or will I run into issues when I want coding flexibility e.g.
- using something like PHPthumb for a gallery where I want different outputsizes on different pages and currently set parameters in the headof the page
- a contact form with x fields and a feedback form with y fields - will this require 2 differrent models rather than a generic form class again with some parameters set in the head of the page
- some pages requiring ob_start() and ob_flush() but not others?