You are here: Re: Advantages of using classes over functions? « PHP Programming Language « IT news, forums, messages
Re: Advantages of using classes over functions?

Posted by Jacob Atzen on 05/10/05 00:21

On 2005-05-09, bissatch@yahoo.co.uk <bissatch@yahoo.co.uk> wrote:
> Im basically just wanting to know classes benefits over functions. If
> something can be better put together in a class I would like to be
> doing it that way. Any suggestions?

What you're asking is why Object Oriented Programming (OOP) is better
than procedural programming. The answer is: That wholly depends on the
task at hand. Generally speaking OOP gives you some tools for managing
complexity in larger systems. It also provides a mean for eaiser reuse
of existing code. A good example of the power of OOP can be found here:

<http://www.sitepoint.com/forums/showthread.php?t=59898#post439958>

--
Cheers,
- Jacob Atzen

 

Navigation:

[Reply to this 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

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