You are here: Re: OO PHP « PHP Programming Language « IT news, forums, messages
Re: OO PHP

Posted by Erwin Moller on 11/14/05 13:17

Smitro wrote:

> Hi all,
>
> I have spent the last couple of days getting my code up to scratch with
> PHP 5 and MySQL 5. (I still don't quite understand why we had to change
> to mysqli from mysql)
>
> Just a question, Object Orientated PHP? Is it the way that PHP is
> heading, or is it just an addon for those that want to use it.
>
> I started using php because to me it made so much sence. When I look at
> the example of Object Orientated PHP I get totally lost. Do I have to
> start looking at moving all my code this way, or is this just an addon
> for those that are use to coding in this way? What are my chances of
> running procedual code in PHP 6?

Hi,

Stay cool. :-)
You CAN use OO if you want, but nobody is forcing you to do so.
Many hackers like PHP the way it is, and do not use OO.

Because OO offer some very serious advantages, you can expect to see more
OO-PHP-code, but of course it is up to you if you want to use it.

And PHP is not heading in a direction that forces you to use OO, it is just
offering you the option.

Mind however that many usefull add-ons, like PEAR, are coded in an OO
fashion. If you find you have some time left, use it to study OO.
PHP's implementation of OO is easy to learn (compared to Java eg), and you
might find yourself in the future in the situation you see that
very-handy-impossible-to-resist-package, but it uses OO.


Regards,
Erwin Moller

 

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

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