Posted by peterdi on 06/30/07 07:10
On Jun 27, 2:19 am, macca <ptmcna...@googlemail.com> wrote:
> Hi, ive been working with PHP for about a year and a half now, and
> have always been able to do everything i need with procedural code and
> a nice UD function include.
>
> However, i have always worked for myself (freelance) on my projects
> and never in a developmental job but was thinking of changing this.
>
> Is it likely that i will have to start coding using OOP to fit in?
>
> Cheers.
I love to use OOP in my PHP projects because I believe in separating
logic from design and an OOP approach really helps.
A lot of PHP frameworks use an MVC design pattern and without OOP this
would not be easily accomplished.
It is much easyer to debug JUST php or JUST html/css with a little php
in it then a mish mash of html and php.
Just my 2 cents. :)
[Back to original message]
|