PHP和ASP.NET将HEAD改为HEAD [英] PHP and ASP.NET go HEAD to HEAD

查看:51
本文介绍了PHP和ASP.NET将HEAD改为HEAD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PHP和ASP.NET直接对决

By Sean Hull
http://otn.oracle.com/pub/articles/hull_asp.html

BOTTOM概要

速度和效率。正如我之前提到的,ASP.NET是一个框架

,允许您使用各种编程语言。此外,它被吹捧为

,因为它具有出色的面向对象模型。所有这一切都是真的,但就速度而言,它会变得不利于b
。为了所有这些优势,有一个额外的代码可以运行来执行相同的ASP页面,而不是你需要在PHP引擎中为同等的PHP页面执行
。 PHP是一种快速而肮脏的解决方案,是完成工作的解决方案。虽然从2.0和3.0天开始就增加了很多稳健性,但它仍然保持了这种核心优化的高速方法。

速度不是唯一的考虑因素。内存使用也很重要。


安全比较

ASP.NET正式要求您使用IIS。不幸的是,IIS有一个很长的

漏洞历史,这使得许多管理员不愿意将b
部署它来处理他们的网站。这些弱点是否是因为微软的无能或因为IIS对黑客来说是一个真正的红旗是无关紧要的:这些系统有被黑客攻击和入侵的历史。

PHP也运行在Apache上,这是快速和开源的,具有良好的

安全跟踪记录。另外,正如我所提到的,Apache在许多平台上运行。

因此,PHP真的比ASP.NET快,还是某些未优化的

页面?他们是将它与DataGrid进行比较,而不是使用asp.net的内联代码渲染

块,< %% >


评论?

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?

推荐答案

这是一个公平的观点,但要公平OO方面的目的是帮助加快开发速度,而不是加快执行速度。大多数网站都不需要起泡

速度和处理器变得越来越快。


速度问题变得越来越少大部分

网站。我说这是许多大型网站的网络主机,包括国际

机场


只有我们的一个网站需要双2.4 xeon机器


我们的数据库服务器也是双xeon。


哦,php是丑陋的imho


让火焰开始


:-)
Its a fair point, but to be fair the OO aspect is aimed at helping speed
development rather than speed execution. Most sites don''t need blistering
speed and processors are getting faster and faster.

The speed issue is becoming less and less of an issue for the majority of
sites. I say this as a web host for many large sites including international
airports

Only one of our sites requires a dual 2.4 xeon machine

Our database server is also dual xeon.

Oh, and php is ugly imho

Let the flames begin

:-)


可悲的事实是,在某些时候你必须看看你的东西

拥有自己的想法,就像你选择汽车一样(包括理性和无关的论点)。这就是生活。


Patrice


-


" showme" < SH **** @ hotmail.com>一个écritdansle message de

新闻:%2 ****************** @ TK2MSFTNGP09.phx.gbl ...
The sad truth is that at some point you have to look at things against your
own requirements to make your own mind as you would do for choosing a car
(including both rational and unrelational arguments). That''s life.

Patrice

--

"showme" <sh****@hotmail.com> a écrit dans le message de
news:%2******************@TK2MSFTNGP09.phx.gbl...
PHP和ASP.NET直接对决
作者:Sean Hull
http://otn.oracle.com/pub/articles/hull_asp.html

BOTTOM概要
速度和效率。正如我之前提到的,ASP.NET是一个允许您使用各种编程语言的框架。另外,它是b $ b被吹捧为具有出色的面向对象模型。所有这一切都是正确的,但就速度而言,它会变成
。为了所有这些优势,有一些代码要运行以执行相同的ASP页面,而不是在PHP引擎中执行相同的PHP页面。 PHP是快速而肮脏的解决方案,是完成工作的解决方案。尽管自从2.0和3.0天以来,b $ b已经增加了很多稳健性,但是b $ b仍然保留了核心优化的高速方法。
速度不是唯一的考虑因素。内存使用也很重要。

安全性比较ASP.NET正式要求您使用IIS。不幸的是,IIS有一个
长的漏洞历史,这使得许多管理员不愿意部署它来处理他们的网站。这些弱点是因为微软无能为力的b $ b还是因为IIS对黑客来说是一个真正的红旗无关紧要:这些系统有被黑客攻击和入侵的历史。
PHP运行Apache也是快速开源的,具有良好的安全跟踪记录。另外,正如我所提到的,Apache运行在许多
平台上。

因此,PHP真的比ASP.NET快,还是某些未经优化的页面?他们是将它与DataGrid进行比较而不是使用
转发器控件,甚至是使用asp.net的内联代码
渲染块的最快方式,< %%>

评论?

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?



>评论?


考虑来源。另请注意,许多比较标准仅仅被忽略,例如开发速度/成本。

开发中最昂贵的方面是开发人员的成本(开发时间的工时)。虽然ASP.Net

消耗了大量的内存和处理器,但RAM很便宜;硬件是便宜的b $ b;程序员很贵。 ASP.Net旨在为

实施者提供更高的投资回报率。这是

软件开发的底线。这就是为什么Oracle在财务上遇到这么多麻烦。

使用它需要花费更多。


-

HTH,

Kevin Spencer

..Net开发人员

微软MVP

大件物品组成

很多小东西。


" showme" < SH **** @ hotmail.com>在消息中写道

新闻:#A ************** @ TK2MSFTNGP09.phx.gbl ...
> comments?

Consider the source. Also note that a number of comparison criteria are
simply ignored, such as development speed/cost. The most expensive aspect of
development is the cost of developers (man-hours of dev time). While ASP.Net
consumes a large chunk of memory and processor, RAM is cheap; hardware is
cheap; programmers are expensive. ASP.Net is designed to give the
implementers a greater ROI. This is the bottom line when it comes to
software development. That is why Oracle is in so much trouble financially.
It costs more to use it.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"showme" <sh****@hotmail.com> wrote in message
news:#A**************@TK2MSFTNGP09.phx.gbl...
PHP和ASP。 NET Go To-to-Head
来自Sean Hull
http://otn.oracle.com/pub/articles/hull_asp.html

BOTTOM概要
速度和效率。正如我之前提到的,ASP.NET是一个允许您使用各种编程语言的框架。另外,它是b $ b被吹捧为具有出色的面向对象模型。所有这一切都是正确的,但就速度而言,它会变成
。为了所有这些优势,有一些代码要运行以执行相同的ASP页面,而不是在PHP引擎中执行相同的PHP页面。 PHP是快速而肮脏的解决方案,是完成工作的解决方案。尽管自从2.0和3.0天以来,b $ b已经增加了很多稳健性,但是b $ b仍然保留了核心优化的高速方法。
速度不是唯一的考虑因素。内存使用也很重要。

安全性比较ASP.NET正式要求您使用IIS。不幸的是,IIS有一个
长的漏洞历史,这使得许多管理员不愿意部署它来处理他们的网站。这些弱点是因为微软无能为力bb b还是因为IIS对黑客来说是一个真正的红旗无关紧要:这些系统有被黑客攻击和入侵的历史。
PHP运行Apache也是快速开源的,具有良好的安全跟踪记录。另外,正如我所提到的,Apache运行在许多
平台上。

因此,PHP真的比ASP.NET快,还是某些未经优化的页面?他们是将它与DataGrid进行比较而不是使用
转发器控件,甚至是使用asp.net的内联代码
渲染块的最快方式,< %%>

评论?

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?



这篇关于PHP和ASP.NET将HEAD改为HEAD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆