Home >Backend Development >PHP Tutorial >Overview of the advantages and disadvantages of Java, .Net, PHP, and Ruby_PHP Tutorial

Overview of the advantages and disadvantages of Java, .Net, PHP, and Ruby_PHP Tutorial

WBOY
WBOYOriginal
2016-07-15 13:24:42882browse

【引自的博客】最近学了一些PHP和Ruby的东西,忽然想把这些东西应用做个比较。

首先,我们把Java .Net PHP应用方面占有率做个比较,简单的把目前主流应用分成两个大类,一个是企业应用,一个是Web网站应用,下面这个表格是我归纳的,不一定准确,但是能说明一个大概。

应用 / 语言 Java .Net PHP
大型企业应用
中型企业应用
小型企业应用
大型Web应用
中型Web应用
小型Web应用

As can be seen from the table, both Java and PHP have their own areas of expertise, but .Net has no outstanding features, and the situation is very embarrassing in terms of share.

Let’s take a look at the technical aspects. First of all, let me state that I am not very familiar with each of the language technologies. I can only give a rough analysis...

Let’s talk about Java first. At the enterprise level In terms of Java, it can be said to be the absolute leader. Many enterprise-level technologies and development ideas are developed by Java. The disadvantage is that Java development and deployment is more troublesome and is not suitable for ultra-small projects.

Let’s talk about .Net. In the 1.x era, it can be said that .Net basically did not have many enterprise-level development features. By 3.0, although Microsoft’s various framework technologies have made up for these shortcomings, compared to the Java world, There is still a certain distance. In terms of Web websites, the advantage of .Net server control has turned into a weakness. Due to the garbage code generated in the server space and the inconvenience of art adjustments, it is difficult to use portal sites with high requirements for front-end interfaces (although there are third-party MVC frameworks, But without IDE support, the advantages of .Net cannot be reflected)

Let’s talk about PHP. Its positioning is very obvious, that is, Web development, so it has many features suitable for Web development, such as very simple deployment and a few files. Just find any virtual host and throw it on and it will run. In China, due to the vigorous promotion of famous products such as Discuz and DedeCMS, PHP has great advantages in the development of small and medium-sized websites. Recently, a large number of open source frameworks have appeared, which has injected some vitality into PHP enterprise development, and it can be said that it has full potential.

Based on the above, we can see that the positioning of .Net is not very clear. Microsoft wants to eat this and that, but in the end no one can eat well...

Finally, I want to say something Ruby, in fact, I should say ROR. What everyone likes should be the characteristics of ROR. Secondly, Ruby is a strange thing. Without the ROR framework, I think it would be difficult for it to become famous. Because the structure of ROR itself is not very complex, many PHP frameworks can be said to have imitated his ideas, and they have also learned 78% of their success. I personally think that it is difficult for ROR to grow bigger. It may be a short-lived thing, just an idea. Everyone jumps into the trend and learns it. After learning it, everyone feels that it is just like that and can be done in other languages.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446759.htmlTechArticle[Blog cited from] I recently learned some PHP and Ruby things, and suddenly wanted to apply these things to make a Compare. First, let’s compare the share of Java .Net PHP applications and simply look at...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn