PHP vs ASP .Net

tinyprogram's Avatar, Join Date: Jan 2011
Go4Expert Member
Hi frndz...

I have interest in PHP & ASP .Net...and I am learning both...

Please let me know which one is best among these...and in which can I get a good job easily ?

Thankx in advance
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
If you search any job site you will see how many openings you have for both and that will give you fair idea. As of now I see PHP has almost 10 times more job openings than ASP in major job portals.
jennyjackson's Avatar, Join Date: May 2011
Go4Expert Member
Both are good. You can get good jobs in both but it depends upon u in which you have interest.
lionaneesh's Avatar, Join Date: Mar 2010
Invasive contributor
If you'll learn languages for earning money ! I dont think you reach the peak! Actually i think programming should be pursuied not as a payment option but as a passion , as a problem solver as the leet Programmers did! Like one of the legends Linux Torvalds
pein87's Avatar
Ambitious contributor
ASP is more of an all you can eat fast food deal while php is more of a home cooked meal. ASP like RAILS is an all in one deal with the whole bells and whistles that you may need. Php doesn't encompass that much aside from basic need functions that are faster when implemented in pure C then in php. If you look at ASP.NET which is a framework build on C# and Visual Basic it has so many different built in features like master pages(very useful I might add), custom controls that map to custom markup,uneditable content via master page declarations, buttons, fully OOP, etc...Php doesn't have that and thats why so many people turn to the all in ones like ASP.NET and RAILS because they can't code an algorithm to save their life and need an out of the box solution. I'd say pick PHP for the middle level coding experience or if you use .NET use C# so you get some idea of strong types and could progress to system level coding easier and other C like languages. ASP.NET may be semi faster just because the code is compiled before its ran and not just turned to byte code at run time like php. I agree with Lionaneesh though coding should be done because you love it with getting paid to code being a bonus. I will stress the importance though of learning middle or low level coding so you actually understand whats really going on. Also the basics, those are all important, if you know the basics then you can learn any language. In my book if you want faster development and turn around then use .NET, but if you want fully control(not stuck using built in components), and a better understanding of coding then use PHP. Not to say that using C# wouldn't get you good with mid level its just you'd probably opt for using built in components and controls versus in Php writing your own.
Rocky11's Avatar, Join Date: Jun 2011
Newbie Member
Both these are powerful scripting languages on their own. Usage of these languages depends on the developers choice and his expertise.If you want to learn programming language then search in the internet for online tutorials.Learning through online tutorials is better as it saves lot of time and also few bucks.
alia123's Avatar, Join Date: Jan 2016

PHP (Hypertext Preprocessor)
-PHP is an HTML-embedded, server-side scripting language designed for web development. It is also used as a general purpose programming language.
-PHP supports various databases like MySQL, Oracle, Sybase, Solid, PostgreSQL, Informix etc.

As ASP.NET is an open-source server-side web application framework designed for web development to produce dynamic web pages.It has lots of advantages:
-It makes the development simple and easy.
-ASP supports Windows authentication and one can keep the applications secured.
-It is easy to deploy since it consists of built-in configuration data.

For more information, Read " ".