Re: PHP4 vs PHP5 Performance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes, i agree, people wont be all-of-a-sudden ignoring php4, but the
notice on php.net says to migrate apps to 5 through the rest of the yaer.
id say thats ample time to move away from it.

pretty much all of my applications rely on php5 features except those
where the system was running on php4 when i arrived.  and then i
have to rely upon contriving mechanisms that are already integrated into 5.
plus i place comments where i could be placing keywords.  the success
of an application using objects in php4 relies heavily on communitcdation
w/in the team, whereas w/ php5 the communication can occur w/in the code
using keywords.

im sure php4 applications can be very robust, but why bother rewriting
things
that are available at the language level as they are in 5; and praying that
someone doesnt call a method because they didnt bother to read the
comments..

-nathan

On 8/25/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
>
> On Sat, 2007-08-25 at 09:38 -0400, Nathan Nobbe wrote:
> > i dont know Robert; i think it depends upon the structure of ones
> > business.
> > for instance; i work for a company full time, and have a start up of
> > my own.
> > in both of those situations there is no impact on the client in the
> > act of
> > eliminating php4 from the product implementation.  the clients never
> > use the
> > code directly.  perhaps you are in some different business??
>
> Larry used the words "anything but custom in-house", so you particular
> situation is exactly that "your particular situation". There will be
> countless non-custom-in-house applications that will continue being
> compatible with PHP4 just because it's easy.
>
> > also, there are many, many enhancements to php5 that php4 does not
> > have.
> > most notably the oop facilities.  but also, exception handling;
> > re-written XML
> > infrastructure (SimpleXML, DOM) and a host of new functions not found
> > in 4.
> > also, the __autoload feature, and even external tools such as SPL make
> > php5
> > far superior to php4, imho :)
>
> Says who? Says you and myriad of others that sell sugar and hype. Just
> because there's a big fat tasty dolop of icing on the cake doesn't mean
> you have to eat it. It's the cake that makes the cake, icing is just
> extra.
>
> > if its a little slower, i dont really care; ill be using optimization
> > techniques and
> > have them mastered w/in the next few months so any innate speed
> > difference
> > will become negligible in my projects.
>
> Optimization here isn't the issue. Neither was features. Unless you
> abolsutely must use a PHP 5 only feature, why limit yourself to PHP5?
> I've yet to find myself absolutely needing a PHP5 feature and yet my
> apps work both in PHP4 and PHP5. *shrug* I really don't care what you
> do, or what Larry does, I'm just saying that just because the gophp5
> group says php5 is the shit, doesn't mean everyone will jump on their
> bandwagon and suddenly ignore PHP4.
>
> Cheers,
> Rob.
> --
> ...........................................................
> SwarmBuy.com - http://www.swarmbuy.com
>
>     Leveraging the buying power of the masses!
> ...........................................................
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux