Reply to Re: Object-Oriented Design in PHP

Your name:

Reply:


Posted by White Echo on 10/21/05 20:36

OO programming is great if you do not want to constantly re-invent the wheel
and also work with other programmers.

You have teams where some programmers are responsible for programming
classes and others the main code.

It's just good programming technique, overall.

> I have been developing procedural, PHP-based apps for about 2 years
> now- mostly payroll and client-management systems. Recently, however, I
> have begun to research the object-oriented features available in PHP as
> I felt I was "falling behind" in my programming skills, as OO is
> supposed to be the future. For the life of me, however, I can not see
> the value in using OO design for the type of apps I have been creating.
> Here are some examples:
>
> -Why would I need for an html form (ex: an Add Client Contact form) to
> be an object when there will only be one copy of this form ever
> created, on one page (ex: the Add Client Contact page).
>
> -Why would I want each client in a list of clients to be an object,
> when they are just being displayed for the user to view, or click on
> for more detailed information? This is really just a database table
> dump.
>
> Can anyone shed some light on the true, real benefits of using OO
> design in PHP? I really feel as though I am missing something here.
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация