Will php have any advantage to asp.net

I am a newbie here.
May you give a brief introduction of php.
Will php have any advantage to .net, such as cope with large number of clients.
 
Thanks a lot.
turbot_yuAsked:
Who is Participating?
 
Sam PanwarSr. Server AdministratorCommented:
1. It's free.
2. It works great with MySQL (which is also free)
3. Totally cross platform. Write once, run anywhere (almost without exception anyway).
3. Personally, I found it pretty easy to learn. As for as difficulty goes, I think it is on par with ASP (using VB Script).
4. The user community of PHP is extremely helpful. People who code in PHP tend to be more passionate about their language of choice which usually means they'll go out of their way to help you.
5. There is a tremendous amount of free or dirt cheap PHP/MySQL applications out there you can use and customize for your own use.

Finally, if you go with PHP and MySQL I highly recommend PHPmyadmin. It is a Web based GUI for MySQL that makes building and maintaining your databases a breeze.
0
 
Sam PanwarSr. Server AdministratorCommented:
PHP is better then ASP.net if you many client because its work on both the OS like Linux and window its free and its take minimum operating resources then the ASP.

But its depend on you

PHP is easy its have maximum 62 function but asp is deficult then the ASP

1. They're both very good programs, but PHP is picking up more popularity because
it's free, it's powerful, it's easy to learn and it works on almost every
system.

 ASP.NET has a little more power in some areas, but there's additional costs that you'll incur. .NET is also more prone to attacks (simply because it's MS IIS) but is more of a standard platform for business applications.

2 .PHP is best for simple applications (quickier to build, but harder to maintain). ASP.NET is better for more complex applications (takes slightly longer to build simple stuff, but ASP.NET has better maintainability).

http://www.oracle.com/technology/pub/articles/hull_asp.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnas...
l/phpvsaspnet.asp
0
 
Sam PanwarSr. Server AdministratorCommented:
Another advantage of PHP is that it already has basically anything you may want to do. Here are some examples
based on php vs. asp

PHP
You want to email some1: use mail(); function
You want to connect to an FTP, you can use several ftp functions of php
You want to develop a chat application, you can use php functions to connect to an IRC server.

ASP
You want to email someone: purchase a third party component
You want to connect to an FTP: purchase component
You want to develop chat application: purchase component

Based from above, is also the money factor

Apache + mysql + php == free (unless you buy unix on a cd but you can get all for free)

asp + odbc + iis == cost something as you need a lisence to get access to various ressources and support. and
odbc can't do cross platform withtout some bugs.

My conclusion for both costs and ease of use is PHP along with MySQL, no matter the platform you develop, you can
take it anywhere you want, and given the option that the versions of PHP and MySQL are similar and use similar
configurations, the script will work without needing to change one line of code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.