Re: [PHP-DB] OOP vs Functions and includes

2004-11-16 Thread M Saleh EG
I agree with Bruno. It depends on the project and project's situation. Your request for clarification is about Prcedural Programming VS OOP It realy depends on the situation and project scope. And this is general not only in PHP but in all the programming languages where prcedural programming is

Re: [PHP-DB] OOP vs Functions and includes

2004-11-16 Thread Jonel Rienton
Hi Pablo, The 3 main strong points of using OOP are: 1. Encapsulation 2. Inheritance 3. Polymorphism I like using OOP instead of includes because of these points. It helps me alot in doing maintenance releases using this technique instead of having to deal with thousands of codes which can be a

[PHP-DB] OOP vs Functions and includes

2004-11-16 Thread Pablo Fernandez Stearns
Hi, This is my first post. English is my 2nd language so I apologize for any mistakes I might have. I would describe myself as an intermediate self-thaught PHP programmer, which means I can do lots of stuff but probly my coding techniques sucks :P Anyway, Im reading a lot about OOP lately, an

[PHP-DB] oop?

2004-08-02 Thread Steve Morgan
For awhile i didn't touch OOP PHP, classes etc... because people talked about how slow it was, but now i'm working on a site that has to do things the exact same on page to page, but i think that going with classes and funcitons might be better, because we have to carry a lot of data from funct