Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

ASP.Net or PHP which technology is widely used and Why? Actually one of my colleague were discussing it.

user-image
Question added by Taha Hanif , Software Developer , Design Your Site
Date Posted: 2013/12/12
Muhammad Fazeel
by Muhammad Fazeel , Inventory Controller , Wallan Trading Co.

According to a survey2.7% people in this globe are using PHP while5.2% are using asp

 

it depends on your needs. i did work in PHP but it is the most boring language i have ever seen & ASP is lil color ful & full of surprises so i will always go for ASP

 

although PHP is easy & less costly but if you talk about security & reliability it's ASP

Its quite simple ASP.Net is not ASP.

Php is a scripting language while ASP.Net is a programing language.

 

Feature/ExtendabilityI think the ASP.NET wins out here and this is more because of the ability to use a language like C#. C# is a far better language than PHP with it come to OO support. I am also a person that prefers a statically typed language (even thought with C#4.0, I believe that you can do dynamically typed variables). The only thing that PHP had over C# as far as a language feature was optional parameters but that is another thing that has been added in C#4.0 (not sure how well it works as I have not tried it yet).

SecurityI would probably say that it is a wash between the two. I think both of them having functionality in place to help with security but it is ultimately the job of the programmer to make sure their application is safe.

FrameworksWell PHP seems to have a lot more mainstream frameworks (CakePHP, Codeigniter, Symfony, Zend Framework) and a lot of other smaller frameworks than ASP.NET. ASP.NET has2 main frameworks from Microsoft, WebForms (an utter piece of crap) and ASP.NET MVC (the reason I started getting into ASP.NET development). While PHP has more frameworks, I find that ASP.NET MVC3 framework is better than any of the PHP frameworks.

Average Development TimeI think that for smaller projects the development time is much better in PHP however as your project grows in size, C# scales better in this regard.

CostSome that should be brought up is cost. PHP hands down wins on this front. While you can run ASP.NET on Mono in Linux, it does come with its own problems.

If you are doing a small to mid size project and/or cost is a factor, PHP wins. If you are doing a large scale project, I would choice ASP.NET w/ C# & ASP.NET MVC.

Atif Aqeel
by Atif Aqeel , Founder And Director , Xesense

According to me PHP is most widely usable language. PHP is more secure. ASP.NET is faster than PHP4. PHP5 and ASP.NET perform about the same. ASP.NET is known for exploits when running on IIS. PHP is cross-platform. ASP.NET is windows only. PHP is free and less costly to use. ASP.NET web hosting is very expensive. It really depends on what you want to do. What will be the size of this eCommerce site? For larger sites, ASP and Microsoft SQL are your best bet. MySQL is not suitable for large websites unless InnoDB or Merge tables are used, as well as proper database design.

islam khalil
by islam khalil , Technical Manager , iCloudit

i wil go with open source option

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

I believe PHP is being used widely because of its free bundle and many other resources available as free. Following are few key points of its popularity over asp.net:

  • Everything in its bundle is free like PHP, Mysql and Linux. 
  • There are many opensources are available for repid solutions. For example you may create an ecommerce, brousher  websites in minutes due to many available free and opensources like wordpress, magento etc.
  • There is alot of help available on PHP related stuff.
  • Its hosting package is also very cheap.
  • You can very easily find help on its every aspect.

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.