9

Just thinking if it's necessary to learn ASP.net.

Also, which is faster to develop? If I learn ASP.net now..

I will be using one of those languages for my first Web Application.

thanks!

Arief
  • 6,055
  • 7
  • 37
  • 41
Garv
  • 93
  • 1
  • 1
  • 4
  • 7
    nothing good can come from this question :P Will just be ASP.NET vs PHP fanboys in the end.. – Jakub Nov 15 '10 at 16:12

6 Answers6

9

I think the best answer that CAN be given for this type of question is simply:

TRY BOTH AND DECIDE FOR YOURSELF

I have know devs that swear by PHP and others that swear by ASP.NET. There are also many that hate PHP but love ASP.NET.

Your question is VERY subjective, it cannot be answered properly unless you dive into more specific details, like "Does PHP do threading?" etc.

We cannot tell you what you will develop faster in, we don't know your skill level at grasping / using a new language, which is the assumption I have that you are new to both.

However since I am biased to PHP, I would recommend PHP to try with, but that is my opinion.

Jakub
  • 20,418
  • 8
  • 65
  • 92
  • 3
    This answer was great right up until the point you completely contradicted yourself by recommending PHP. Was it really that hard to leave your answer unbiased? – Dan Bechard Aug 28 '14 at 21:20
  • imho this answer is not OK because how much time you think need to try both? i mean really try both not just touch them... – EKanadily Feb 14 '17 at 18:57
9

PHP is a scripting language. ASP.NET is a framework.

IMO the larger the project, the better ASP.NET will be.

Matt
  • 74,352
  • 26
  • 153
  • 180
AspNetDev
  • 311
  • 1
  • 2
  • 1
    And here's a response by Brandon Savage regarding the article and benchmark used. http://www.brandonsavage.net/of-lies-damned-lies-and-benchmarks/ – Aries Nov 15 '10 at 17:01
  • 2
    If you worry about PHP not being quick enough for a large site, remember that it powers Facebook. They've even written their own compiler for it - http://developers.facebook.com/blog/post/358 - and that compiler is open source so anyone can use it. – Spudley Nov 15 '10 at 21:03
  • 2
    I am planning to do PHP with Codeigniter Framework. – Garv Nov 16 '10 at 06:17
  • true. remember that the vast majority of sites are small to medium. – EKanadily Feb 14 '17 at 18:59
2

ASP.NET can do threads, while PHP cannot. Honestly that's about it. Someone will come and nit-pick about some other complicated task that PHP can't do, but PHP is a pretty robust and dynamic language overall.

If you are starting now and have never done C# or VB development, I would do PHP instead. It's much easier to pick up and has far fewer rules compared to C#. Yes, it can lead to bad coding practices because it is so loose and open. However, the documentation is phenomenal and you'll be moving much more quickly than you would in ASP.NET with no C# or VB experience.

jocull
  • 20,008
  • 22
  • 105
  • 149
1

Talking just in terms of web development, there's probably not a lot you can't do with either language pretty equally.

Having used both languages for extensive web development, I've found that Asp.Net probably out-does it. The tooling support is better, has great documentation, all the stuff you need is now free and you can get up and running with it extremely quickly.

Like has been already said, it depends on whether you prefer a dynamic scripting language or a strongly-typed modular language. I'd suggest you start with PHP though as then you don't have to deal with more advanced Asp.net concepts like events, controls, viewstate, class libraries, etc. You can pick those things up easy enough once you've got to grips with the syntax and programming for the web.

Steve Hobbs
  • 3,296
  • 1
  • 22
  • 21
0

I think that web development dont depend on its language because which is the language is the concepts are the same like sessions / cookies

ASP.NET and PHP both are powerful languages it can do the same functionalities.

But I believe that if you are a newbie better to kick start with php because it will be easy to understand the web concepts and u can easily move to a language like ASP.NET.

Sudantha
  • 15,684
  • 43
  • 105
  • 161
  • Hard to say, I know some students out of college, that were pure MS taught and for them ASP.net was easier, it had a 'GUI' you could work with right from the start ;) – Jakub Nov 15 '10 at 16:14
  • @Jakub lol ! they will take a life time to understand what is 'web development' is localy here also 'web development' is a buzz word ;) – Sudantha Nov 15 '10 at 16:17
0

In terms of actual capabilities, there is very little difference. However, the two platforms vary greatly in their design approach, and culture. There is no way to determine which would be faster to develop with. In a specific situation, one may lend itself to a more rapid development cycle than the other or vice versa.

I would spend some time exploring both platforms, and choose the one which seems to suit you best. I would also note that ASP.NET tends toward a more enterprisey audience, so if you're looking to develop a career in one area, it's something to be aware of.

Bryan M.
  • 17,142
  • 8
  • 46
  • 60