You are here: Can someone wxplain classes to me please - the why not what or how? « PHP Programming Language « IT news, forums, messages
Can someone wxplain classes to me please - the why not what or how?

Posted by colin on 01/21/08 18:07

I understand what a class is but am confused as to why so many people are
using them for what appear to be very simple PHP applications. I guess I
dont know enough about how they are useful.

for example I've just seen a "who is" application thats just 2 files
and a few dozen lines of very simple code

But the author put the thing into a class. This just seems to complicate
the code without providing any benefits as far as I can see.

Can someone explain what the advantage of this is please? And any advice
on when or when not to use classes would be helpful?

cheers

Col.

 

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

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