Re: [fw-general] Object oriented programming with Zend

2009-09-28 Thread netlynx
Sudheer Satyanarayana wrote: It is next to impossible to write all the benefits of using OOP in this email. You should read books about OOP to learn more about it. The sample you snippet posted appears to demonstrate how to encapsulate database access in your models. And

Re: [fw-general] Object oriented programming with Zend

2009-09-26 Thread Sudheer Satyanarayana
On Saturday 26 September 2009 06:57 PM, PHPScriptor wrote: Hello there, I worked for different companies and saw different ways of programming websites. Now everybody is talking about OO programming. But my question is: why? Let me give you an example one of the ways I saw it done: a class

[fw-general] Object oriented programming with Zend

2009-09-26 Thread PHPScriptor
Hello there, I worked for different companies and saw different ways of programming websites. Now everybody is talking about OO programming. But my question is: why? Let me give you an example one of the ways I saw it done: a class member Class Member { protected $_id;