Swinging Hammers (was Re: Form Validation Issues)

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

 



On Wed, 2007-05-23 at 11:51 -0500, Greg Donald wrote: 
> On 5/23/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
> > Robert Cummings:
> >
> >     "if every problem can be described as a nail, then all you
> >      need is a hammer."
> 
> Don't you ever get the urge to swing a different hammer?
>
> I sure do.

I swing other hammers, but don't always have time to muck around with
the latest hammer in the store. At any rate, we're still talking
hammers ;) The point of my comment is that there's a gray area between
approaching a problem as a nail and using another tool. Sometimes being
able to fit a problem into an existing paradigm makes it that much
simpler to solve since you already have the tool and experience at hand.

> As I watch PHP de-evolve into Java, I find myself wanting something
> lighter weight and with a smaller syntax.  PHP seems fine for most web
> development projects, but if PHP's SPL and the Zend Framework are a
> sign of things to come from the core PHP developers, my interest in
> using other hammers is only going to increase.  Possibly to the point
> of putting my PHP hammer down.

I think for me it will depend. I found PHP4's feature set to be almost
perfect for any web work I needed to do. I only lament that PHP4 doesn't
have PHP5's object assignment semantics and destructor support. The rest
of the OOP features really don't get me going. The question is how much
those extra features cost a lightweight script that doesn't use them. In
the past I consistently benched PHP4 as faster for my framework... but
I've yet to test against 5.2.2.

It will be interesting to see if indeed no more bug/security fixes will
be released for PHP4 at the end of this year when it reaches it's
decided end-of-life. More interesting will be if it still has the
greater market share over PHP5 when they declare it dead *lol*.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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