You are here: Re: [PHP] functions vs classes « PHP « IT news, forums, messages
Re: [PHP] functions vs classes

Posted by Domas Juknevicius / DEFORM GROUP on 09/26/93 11:13

Hello,

Quite good and short answer to your question:
http://answers.google.com/answers/threadview?id=207071

--
Domas Juknevicius

DuSTiN KRySaK wrote:
> Novice PHPer, and i am wondering why one would use a function instead of
> a class (or object)? They seem to server very similar in use.
>
> The way I see it, is a function if for repeated use in a project
> specific manner, where as a class could be used for many projects.
>
> is this correct?
>
> Although one could just include the function library in multiple projects.
>
> Thanks!
>
> Dustin
>

 

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

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