You are here: Re: [PHP] Re: Zend + Eclipse + Standized Framework « PHP « IT news, forums, messages
Re: [PHP] Re: Zend + Eclipse + Standized Framework

Posted by Jochem Maas on 11/22/05 18:24

Roman Ivanov wrote:
> Greg Donald wrote:
>
>> Maybe Zend will get it right where all the previous attempts I've
>> seen/used are less than great.
>
>
> Personally, I would start creation of PHP framework by cleaning up PHP
> sytax. It's freakin' impossible to make complex OOP clean:

there is plenty wrong with php, but none of your comments are
even vaguely relevant.

btw you can 'clean up the syntax' - just don't expect it
to ever make it into the official build.

>
> $this->output(array('dir', 'template'), &new BlaBla($this->bla));

this is supposed to prove what exactly? apart from the fact that OO in
php is not something you are very familiar with, for starters if you
want to do OO in php these days you should be using php5 (assuming you
don't have a mountain of existing php4 OO code you have to work with -
if you do then moaning about syntax is completely pointless... php4 is
is 'bugfix only')

the '&' sign for passing objects around in php5 is unnecessary because objects
are always passed around as references. and if you really know that you
need a reference to a reference you skill level should at the very least
be such that 'freakin' impossible' is not relevant at all.

>

 

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

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