Link to home
Start Free TrialLog in
Avatar of kevinc29
kevinc29

asked on

ASP V.S. PHP !

I want to kown the detail comparison of ASP and PHP in linux. What are the strength and weakness of both sides!

Thanks a lot!
Avatar of gravity
gravity

Well, I'm a little bit piddled, so I'll keep it short and sweet :

PHP is fast... ASP is slow.
1,
ASP is running on M$ IIS
PHP is running on Apache

2,
ASP can use such script language as VBScript, JScript, even Perl
PHP now has its own script(the grammar is like C/C++), doesn't support more (maybe the new verison will support other scripts).

3,
ASP can use components registered on IIS, but PHP only can use Class which is defined by PHPself, can't use C/C++/Java components or classes

So:

PHP can only replace the Perl CGI or ASP. It can not replace Netscape Liveware or Javaservlet or ISAPI this kind of things.
Since it lacks of good feature like Database connection pool and fast speed.
It also lacks the function like using server Object in ASP or using liveConnect (java object) in Liveware. So, the performace is not good for PHP to call C/C++/Java function.
 
But, establish a site that originally use simple ASP can use PHP now.

BUT: 
PHP is young and open source, so it will be much more powerful than ASP in coming years, and it will be supported by more and more web server

Haha....I agree with gravity.....ASP is sooooo slowww....PHP is a hell of a lot faster, but then again we're talking about a Microsoft Product....so. ;)

Oh, and another thing, the support and manuals of php (see http://www.php.net) are a lot better than ASP.

Joseph

PS: freshmeat, good call there, my man! ;)
http://www.zend.com has infomation on the matter.
ASKER CERTIFIED SOLUTION
Avatar of dutchart
dutchart

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KNVB HK
Excuse me, I want to develop a web based database system on Linux/Unix platform.

Can anyone give me some suggestion?
Excuse me, I want to develop a web based database system on Linux/Unix platform.

Can anyone give me some suggestion?
Excuse me, I want to develop a web based database system on Linux/Unix platform.

Can anyone give me some suggestion?
php is faster than asp,because it's running on linux(or other unix OS),and not is NT!(Slow OS)^_^