Re: PHP and ASP.NET go HEAD to HEAD
From: Bob Grommes (bob_at_bobgrommes.com)
Date: 07/09/04
- Next message: Steven Cheng[MSFT]: "Re: viewstate?"
- Previous message: Randy Howard: "Re: Estimate of hours to be spent on a project"
- In reply to: showme: "PHP and ASP.NET go HEAD to HEAD"
- Next in thread: Jerry Pisk: "Re: PHP and ASP.NET go HEAD to HEAD"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 8 Jul 2004 19:20:15 -0700
What is "head to head" about his comparison? I don't see the detailed
analysis that "head to head" implies. In fact I don't see much analysis at
all. I wouldn't be impressed even if I were a PHP partisan; indeed, I'd be
worried.
The author of this article is preaching to the choir, giving them some ammo
to use in proselytizing and encouraging the faithful, and some flip
dismissive statements on flash cards to use against doubters. Which is to
say, it's not at all deep reasoning.
He makes bold assertions about performance but makes no effort at all to
support them.
Of course even if he offered code examples and benchmarks, everyone's
mileage (and evaluation criteria) would vary. But at least you would have
some idea what he is basing his statements on.
All in all, this struck me as someone writing to arrive at a predetermined
conclusion but with enough skill to give some appearance of even-handedness
by saying some Nice Things about ASP.NET (just before dismissing it in so
many words as obviously inferior).
Others have already made good points that many cost factors beyond runtime
performance must be considered in comparing platforms -- and ASP.NET is no
performance slouch anyway. Another point for me is that I *like* having all
the core pieces of the platform come from one vendor. I hate the
finger-pointing that goes on when you try to get various products to
interoperate with each other. Say what you will about MSFT development
platforms -- the quality is generally very good and the end-to-end
integration is wonderful, especially if you're a smaller shop.
I don't miss building non-trivial sites in classic ASP. I probably wouldn't
want to take half a step backwards and build one in PHP either, unless PHP
addresses something interesting relative to ASP.NET besides raw runtime
performance.
--Bob
"showme" <showme@hotmail.com> wrote in message
news:%23A4l%23xNZEHA.3692@TK2MSFTNGP09.phx.gbl...
> PHP and ASP.NET Go Head-to-Head
> By Sean Hull
> http://otn.oracle.com/pub/articles/hull_asp.html
>
>
> SUMMARY at the BOTTOM
> Speed and efficiency. As I mentioned earlier, ASP.NET is a framework
> allowing you to use various programming languages. In addition, it is
touted
> as having a great object-oriented model. All this is true, but it becomes
a
> detriment as far as speed is concerned. For all that advantage, there is a
> lot more code to run through to execute the same ASP page than you have to
> execute in the PHP engine for an equivalent PHP page. PHP is the
> quick-and-dirty type of solution, the one to get the job done. And though
a
> lot of robustness has been added to it since its 2.0 and 3.0 days, it
still
> retains that core optimized high-speed approach.
> Speed is not the only consideration. Memory usage is also important.
>
>
>
> SECURITY COMPARISON
> ASP.NET officially requires that you use IIS. Unfortunately, IIS has a
long
> history of vulnerabilities, which makes many administrators reluctant to
> deploy it to handle their web site. Whether these weaknesses are because
of
> Microsoft's ineptness or because IIS is a real red flag to hackers is
> irrelevant: Those systems have a history of being hacked and compromised.
> PHP runs on Apache, too, which is fast and open source and has a good
> security track record. Also, as I mentioned, Apache runs on many
platforms.
>
>
> So is PHP really faster than ASP.NET or is that for certain unoptimized
> pages? And are they comparing this against the DataGrid instead of the
> repeater control or even the fastest way using asp.net's inline code
render
> block, <% %>
>
> comments?
- Next message: Steven Cheng[MSFT]: "Re: viewstate?"
- Previous message: Randy Howard: "Re: Estimate of hours to be spent on a project"
- In reply to: showme: "PHP and ASP.NET go HEAD to HEAD"
- Next in thread: Jerry Pisk: "Re: PHP and ASP.NET go HEAD to HEAD"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|