开发者

In Web Development - What ASP.net can do that PHP cannot do? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 开发者_开发百科12 years ago.

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!


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.


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

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


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.


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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜