ASP will be easier on the server. PHP is easier to work with. Your choice, I guess.
2006-08-22 18:47:16
·
answer #1
·
answered by biggy4269 3
·
0⤊
0⤋
Well, if you just want a dynamic page, I recommend PHP. ASP will tie you to the Microsoft platform on the server-side. Your PHP code could run on either UNIX or Windows server. And most ISPs are likely to support PHP at no cost - makes any code you write easily transferrable between ISPs and clients. But I have not developed any ASP applications so I can't detail all the benefits of ASP. Here's a quick easy-to-use tutorial on ASP:
http://www.w3schools.com/asp/default.asp
"ASP Compatibility
* ASP is a Microsoft Technology
* To run IIS you must have Windows NT 4.0 or later
* To run PWS you must have Windows 95 or later
* ChiliASP is a technology that runs ASP without Windows OS
* InstantASP is another technology that runs ASP without Windows"
I hope this helps.
-Leon S
2006-08-23 01:50:21
·
answer #2
·
answered by Leon Spencer 4
·
0⤊
0⤋
Sample Comparison
PHP 4 PHP 5 ASP.NET
Software price free free free
Platform price free free $$
Speed strong strong weak
Efficiency strong strong weak
Security strong strong strong
Platform strong strong weak (IIS only)
Platform any any win32 (IIS only)
Source available yes yes no
Exceptions no yes yes
OOP weak strong strong
Speed
PHP is relatively much more faster and stable than ASP, ASP is built on a COM-based architecture so when ever a program tries to connect to a database or he calls a COM object there is an overhead on the server, All this COM overhead adds up and slows things down.
Under PHP, everything runs in PHP's memory space. This means that PHP code will run faster because there is no overhead of communicating with different COM objects in different processes. Again ASP is slower and more memory intensive applications than PHP's model because each ASP language compiler runs in its own process.
Price
PHP installtions are definetly cheaper to install, PHP runs great on Linux which is free, on the other hand ASP runs on the IIS Server (Internet Information Server) which need's Windows N.T/2000/2003 Servers.
Apart from that ASP mostly uses MS-SQL Server as the back end which again is expensive, Where as PHP programmes mostly use MySQL which is again FREE!
No Hidden Cost
With ASP if you need to upload files, then you would need a third party component like ASPuplod, similarly if you need to send mail you need another component and so on.
In PHP common tasks like ftp, encrypt passwords in MD5, or send email from a web page all are built in no hidden cost, and as PHP is Open source there is a lot of free code available for PHP.
Cross Platform compatablily
As stated earlier PHP programms run on Unix, Linux, Solaris and Window's with ASP you are mostly stuck with Windows.
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.
If you are considering ASP.NET but you want to use Apache for your front-door to the Internet, you are fortunate to have a few options. First, you can use Apache to relay requests to IIS running internally on another machine. Apache then handles static content and passes aspx content on to the IIS server, which isn't exposed to the internet.
Database Coding
With ASP.NET, however, it's a little more complicated,
Open source opportunity.
Open source is not just some philosophical torch idealistic programmers, or companies wanting to save a few bucks on licensing costs, are carrying. When you're dealing with bugs in the software itself, open source can be a serious godsend.
In either case, with PHP or ASP.NET, you have a large user base using the software and possibly encountering bugs. With ASP.NET, those bugs have to go through a bureaucratic process to get acknowledged, fixed, tested, and rolled out in a new patch or release. PHP fixes, however, can get fixed quickly and rereleased. Anyone who has watched open-source development knows new releases and patches often come out in days rather than in weeks or months, as with commercial software. If that's not fast enough, you can always fix a problem yourself if you have to.
By Sean Hull
One developer's view of the pros and cons of the two most popular means of building web applications
Sean Hull is the senior consultant at his firm, iHeavy Inc., in New York City. He focuses on integrating open source technologies with commercial technologies such as Oracle, and has serviced many successful New York companies
Collected For you
By ALok Tiwari
2006-08-23 01:51:27
·
answer #3
·
answered by mralokkp 3
·
0⤊
0⤋