Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

PHP5 vs ASP.NET

Posted on 2004-04-26
7
1,131 Views
Last Modified: 2007-12-19
Where PHP5 lacks ASP.NET
0
Comment
Question by:Nazarelfadil
7 Comments
 
LVL 4

Expert Comment

by:BrianPap22
ID: 10924078
I know, right?
0
 
LVL 6

Expert Comment

by:aolXFT
ID: 10927488
Where is the question?
0
 
LVL 1

Author Comment

by:Nazarelfadil
ID: 10927959
hi,
the question is : does asp.net have any advantage over php5
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

Expert Comment

by:leavitt76
ID: 10930221
Both are very powerful web languages.

To my mind, the advantages are:

ASP.net Advantages:

1) Scalability.  ASP.net is generally faster, but this is only an advantage on VERY high traffic web sites.  PHP is also considered very fast, just not quite as scalable as ASP.net.  Unless you are building the next Ebay/Amazon/Google this isn't of much importance.

2) ASP.net code can be compiled which will help to protect source code if you plan to distribute your web application.  PHP is a scripting language so your source code is in the open if distributed (although there are ways to make it far less readable).

PHP advantages:

1) Cross platform.  PHP can run on nearly all web server platforms.  ASP.net is currently restricted to IIS webservers.

2) Open source/Free.  PHP has free support through a huge community.  PHP can run on free platforms such as Linux.  PHP itself is free.  ASP.net has far less free code samples or community support (although it's growing).  And Windows Server/IS is not cheap.

As far as the actual functionality, both are extremely capable.  Comparing PHP to ASP.net is a lot like comparing Linux/Apache to Windows Server/IIS.  
0
 
LVL 6

Accepted Solution

by:
aolXFT earned 125 total points
ID: 10930682
PHP, and ASP.NET are two different tools aimed at two different 'markets'. They can't really be compared.

To answer your question yes. ASP.NET does have advantages over PHP5. PHP5 also has advantages over ASP.NET.

Check out this discussion on sitepoint.

http://www.sitepoint.com/forums/showthread.php?t=67474

0
 
LVL 6

Expert Comment

by:aolXFT
ID: 10930852
BTW: I think I should just point two things:

ASP.NET can run on Linux/apache using Mono.

PHP can interact with other languages, using its Java, Perl, Python, FFI and Mono Connections. See http://pecl.php.net/packages.php?catpid=25&catname=PHP
0
 
LVL 14

Expert Comment

by:ThG
ID: 10943929
leavitt76, despite yours was not the accepted answer, it is nice and i like it. For what is worth.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
comma true 6 37
writing a post to a file that is on same folder and same webserver 5 45
does post require a form or curl to be post 4 55
Ahax pagination 9 32
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question