Solved

PHP5 vs ASP.NET

Posted on 2004-04-26
7
1,128 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

757 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

19 Experts available now in Live!

Get 1:1 Help Now