php在web中做什么,在Web開發中 - PHP可以做什么,PHP無法做到?

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

只是想想是否有必要學習ASP.net。

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

另外,哪個更快開發?如果我現在學習ASP.net ..

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

我將使用其中一種語言作為我的第一個Web應用程序。

thanks!

謝謝!

6 个解决方案

#1

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.

我知道開發人員發誓PHP和其他發誓ASP.NET的人。還有很多人討厭PHP但喜歡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.

您的問題非常主觀,除非您深入了解更具體的細節,例如“PHP會進行線程化嗎?”,否則無法正確回答。等等

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,我會推薦PHP試試,但這是我的意見。

#2

8

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

PHP是一種腳本語言。 ASP.NET是一個框架。

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

IMO項目越大,ASP.NET就越好。

#3

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.

ASP.NET可以做線程,而PHP則不行。老實說這是關於它的。有人會選擇其他一些PHP無法完成的復雜任務,但PHP是一種非常強大且動態的語言。

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.

如果你現在開始並且從未完成過C#或VB開發,我會改為使用PHP。與C#相比,它更容易上手並且規則要少得多。是的,它可能導致錯誤的編碼實踐,因為它是如此松散和開放。但是,文檔是驚人的,並且您將比沒有C#或VB經驗的ASP.NET更快地移動。

#4

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.

使用這兩種語言進行廣泛的Web開發后,我發現Asp.Net可能已經完成了它。工具支持更好,文檔很好,所需的所有東西現在都是免費的,你可以非常快速地啟動和運行它。

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.

就像已經說過的那樣,這取決於你是喜歡動態腳本語言還是強類型模塊化語言。我建議你從PHP開始,因為那時你不必處理更高級的Asp.net概念,比如事件,控件,視圖狀態,類庫等。一旦你有了這些東西,你可以很容易地選擇這些東西。掌握網絡的語法和編程。

#5

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

我認為Web開發不依賴於它的語言,因為語言的概念與會話/ cookie相同

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

ASP.NET和PHP都是強大的語言,它可以執行相同的功能。

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.

但我相信,如果你是一個新手更好地開始使用PHP,因為它很容易理解網絡概念,你可以很容易地轉移到像ASP.NET這樣的語言。

#6

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.

我會花一些時間探索這兩個平台,並選擇一個看起來最適合你的平台。我還要注意,ASP.NET傾向於更加企業化的受眾,所以如果你想在一個領域發展事業,那就需要注意了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值