Re: PHP or COLDFUSION

From: Karim (karim3411_at_yahoo.moc)
Date: 11/05/03


Date: Wed, 5 Nov 2003 07:58:51 -0800

On Wed, 05 Nov 2003 11:18:19 +1100, Terence wrote:

> Karim wrote:
>
>> On Tue, 04 Nov 2003 20:14:39 +1100, Terence wrote:
>>
>>
>>>Furthermore, PHP's function library is far far far superior to any
>>>version of CF. Just check this out...
>>>http://www.php.net/manual/en/funcref.php
>>>unbeatable... this is where PHP craps all over Java and CF and .NET for
>>>web apps.
>>
>>
>> Can you be more specific on why you think PHP is better than .NET? Did you
>> actually use ASP.NET?
>>
>>
>
> I pointed out _one aspect_ where php "craps all over" ASP.NET
> I didn't say that PHP craps all over ASP.NET in every way. That aspect
> is functionality.

PHP might have more functionality but .NET is geared towars Windows only as
expected from all MS products. No.. you will not find functions that
support MySQL or Postgres but if you're on Windows, you really don't care
and if you do want to use something like MySQL, there are free drivers out
there that you can use. It's not a dead end.

I haven't used PHP but I am pretty sure it doesn't support server controls
like a datagrid where you can drag and drop a grid, set some properties and
have a grid where you can insert, edit and update values, do validation,
sort and paginate right away. I am sure PHP can do all this but it's not
going to be done in as productive way like asp.net. You will need to a ton
of code where asp.net already has it done for you and if you need to etend
on a server control, the open hooks are there.
 .NET is *fully* OO while php 5 is going there. You have visual
inheritance, code behind in a file seperated from the html file...etc.

php has a ton of functions but you're still writing spaghetti code which is
hard to maintain.

When Mono on Linux is fully ready, then the ".NET works only in Windows"
excuse is not going to fly anymore. Besides, when you create a website, it
doesn't matter where it's running on since all you care is that your site
works right under all the common browsers. If it runs in Windows only, you
hire people who know Windows and .NET to maintain it and they are plenty
and more every day. .NET is not some old legacy language/framework where
you worry that it it runs on a certain OS only. To many people and
companies, cross platform compatibility is not an issue, specially in
Windows only shops.

-- 
Karim
http://www.cheapesthosting.com - Affordable hosting since 1998


Relevant Pages

  • Re: PHP running exec() Windows program very slow in comparison to UNIX equivalent program
    ... So, by converting a VB6 DLL into a COM and calling the COM from PHP I am able to work around the speed limitations of swetest.exe, PHP, and Windows. ... I wrote a little program in VB5 that essentially does what this other compiled C Windows program does in just one of the loops that gets executed about 140 times. ... the other thing is how long it takes to to execute the program with those statements from a command prompt. ...
    (alt.php)
  • RE: phpBB Worm
    ... the getpwent function is not supported on Windows. ... it probably depends on the web server ... I looked at the decoded Perl script, ... was invoked by PHP, which should have the Web server's permissions, ...
    (Bugtraq)
  • Re: MS Access im Intranet / Internet
    ... Ich habe nichts gegen Webanwendungen, ... dass in Access als dafuer ... > MS Windows, MS IE. ... PHP oder ASP oder ASP.net ...
    (microsoft.public.de.access)
  • Re: Developing PHP under Windows - Why?
    ... Windows 2000, Apache 2, Microsoft SQL Server, and PHP. ... We went with the Windows route mainly for human resource reason. ... I knew virtually nothing about Linux at the time - and very little about Apache. ...
    (comp.lang.php)
  • Re: PHP or COLDFUSION
    ... > I have no problems with windows, and just because I think PHP is OK ... > Have you at least done some tutorials in PHP let alone read a book on it? ... > This is where it is futile trying to debate a language vs a framework. ... Web controls in ASP.NET are high productivity tools. ...
    (comp.lang.php)