Re: PHP or COLDFUSION
From: Matthew Woodward (mpwoodward_at_hotmail.com)
Date: 11/10/03
- Next message: Alexandre Lahure: "Re: PHP, RegEx and Objects"
- Previous message: Darren: "Installation/Run problem (solaris!)"
- In reply to: Terence: "Re: PHP or COLDFUSION"
- Next in thread: Terence: "Re: PHP or COLDFUSION"
- Reply: Terence: "Re: PHP or COLDFUSION"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 10 Nov 2003 07:20:23 -0600
On 11/10/03 3:58 AM, in article 3FAF613A.9070807@fastmail.fm, "Terence"
<tk.lists@fastmail.fm> wrote:
> Lester Horwinkle wrote:
> If all you want is some basic forms in a largely static site, the CF is
> the way to go, not because it's "clickier", but because it's a piece of
> cake to slap up some <cfquery/> and <cfoutput/> tags -- very useful
> stuff indeed.
>
> For larger apps, PHP is ideal because it has the ease-of-use of a
> scripting language, but the behaviour potential of an OO language --
> allowing you to do some decent modelling.
You say that as if you can't do OO programming in CF, which you certainly
can. CF is far more capable than mere form processing on simple sites. I
do a lot of PHP programming as well, and have done OO programming with PHP
on several projects, and your characterization of PHP as OO while CF is not
isn't accurate. I'd prefer not to get into the argument of "which is more
OO" which we've had here before; my point is that in large part CF is just
as OO as PHP, and in some cases (e.g. the way objects are handled
internally) CF is better than PHP, so arguing PHP's superiority based on its
OO capabilities isn't really a valid argument. Both languages allow you to
do object modeling equally well, and IMO using objects in CF is a lot less
klunky than it is in PHP. Based on what I've read about PHP 5 it looks like
they're fixing a lot of things so I'll definitely check that out for my next
PHP project, but you're selling the OO capabilities of CF (and the
capabilities of the language in general) very short in your
characterization.
Matt
-- Matthew Woodward mpwoodward@hotmail.com
- Next message: Alexandre Lahure: "Re: PHP, RegEx and Objects"
- Previous message: Darren: "Installation/Run problem (solaris!)"
- In reply to: Terence: "Re: PHP or COLDFUSION"
- Next in thread: Terence: "Re: PHP or COLDFUSION"
- Reply: Terence: "Re: PHP or COLDFUSION"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|