Solved

PHP5 vs ASP.NET

Posted on 2004-04-26
7
1,129 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now