> -----Original Message-----
> From: Bob McConnell [mailto:r...@cbord.com]
> Sent: Friday, February 27, 2009 9:56 AM
> To: PHP General list
> Subject: [PHP] Development methods (was: "use strict" or similar in
> From: Boyd, Todd M.
> > Well, take care of all of your logic before you display anything.
> > not that difficult, to be honest... especially if you're already
> > an MVC design pattern/framework or a template system.
> That's an interesting string of buzzwords, but it carries no meaning
> me. Would you care to elucidate further?
> As far as the code I am working with, I inherited over 160 files of
> mixed HTML and PHP, where the logic and presentation are intermingled
> (mangled) throughout. My initial toolset was TextPad4, WinSCP and
> on a WinXP workstation, with Apache on RHEL 5 as the server. (The
> original coder used vi on a clone of the server until they took it
> from him.) The chances of re-implementing the entire project are
> equivalent to a zero with the edges rubbed out. I already have a six
> month to-do list just adding the new features already requested by
> current clients.
* MVC = Model-View-Controller 
* Template = Basically just the display (View) with variables injected
* Output Buffer = Output isn't sent to the browser until you deem it so
As far as inheriting more than 160 files with logic and presentation
intermingled... I think you're pretty much SOL with regard to converting
it to a framework or a new design pattern. It's possible, but that's
going to be quite a bit of work.
2. http://www.smarty.net/ (just an example of one templating system)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php