MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

LAMP and WEB development language should be selected for entrepreneurship

Source: Shangpin China | Type: website encyclopedia | Time: April 26, 2013
When planning to develop a website, what language to choose is the first problem to face. At present, ASP NET、PHP、JSP; As a veteran of MS in the last century, ASP will not be mentioned. If it must be used for maintenance reasons, you can consider upgrading to ASP NET, as a newly developed language, there is really no reason to use it again;

The three languages are compared as follows for trade-offs:

Handedness

. NET: 5 points

PHP: 3 points

JSP: 1 point

If you are a novice in WEB, these three kinds of WEB Website production Language learning costs vary widely. As a Microsoft product, ASP. net inherits its consistent characteristics, which is easy to use and easy to use; Even if you don't need to code, you can drag and drop the whole website with your mouse (there are video explanations on the Internet. Of course, such websites can't be applied in practice, not to mention the extremely low code reuse rate, and the drag code is too flexible and inefficient (the paging implementation in eg: gridview loads data all at once) )。 At the same time, with its powerful development tool visual studio series, when the program has a bug, it can provide the problem description to the greatest extent, so that developers can locate the problem as soon as possible. Compared with JSP, it is much more difficult. It takes a lot of effort to configure a development environment alone. The most troublesome aspect of JSP language is program debugging. When the program has problems, you can't get friendly error prompts, and debugging bugs is time-consuming. Moreover, the JAVA that JSP relies on is too large, which is really a bottomless hole. It is easy to start, but the more you find in the future, the more you need to learn. It is really difficult for ordinary Internet companies to control and popularize; PHP learning is based on. net and JSP. The syntax and C language come down in one continuous line, and it is easy to learn;

resources

. NET: 4 points

PHP: 5 points

JSP: 2 points

Resources include available learning materials, open source code, and various plug-ins and libraries. PHP is far ahead in this respect. Roughly speaking, well-known open source products of various websites are mostly implemented in PHP, such as blog wordpress, forum discoz, wiki knowledge base MediaWiki, etc;

The number and quality of corresponding plug-ins, libraries, and open source code are unmatched by other languages NET resources are also relatively rich NET is happy to have MS as a powerful background to provide strong technical support. CSDN has not only a lot of information, but also superior quality; Due to the high threshold of JSP, there is less information in this regard;

System architecture implementation

. NET: 3 points

PHP: 5 points

JSP: 3 points

The. NET deployment environment is windows 03/08+MS SQL Server+IIS. They are all Microsoft products. Their advantages are easy deployment, convenience and good compatibility. The most troublesome problem is the security problem. Under Windows, you have to keep patching, but you are often attacked in one way or another; In terms of database, there is always a data level gap between MS SQL and Oracle in terms of concurrent processing and efficiency. It is said that after the release in 2008, it is better, but it always makes people feel uneasy; PHP is LAMP architecture, namely Linux+Apache+My Sql+PHP; After being familiar with Linux platform for several years, I have deeply realized that it is built for servers, and various tools are hard to put down; As an open source product, My Sql can save a lot of money on software costs, and its performance is excellent. Even if the expansion of the website size causes a bottleneck in the database one day, a database team can be formed to study and improve it. However, after Oracle acquired MySql, its prospects were overshadowed. It is possible that some functions of MySql will be closed in the near future. The architecture of JSP ranges from Linux+Apache+tomcat+MySql to Linux+Apache+Java (WebSphere)+Oracle. For the deployment of general small websites, most of them choose the first one; WebSphere is too large. Generally, the deployment has to occupy a server alone; Oracle is the king of databases and has excellent performance (generally only DB2 and Oracle are available for database applications of domestic banks and securities), but its price is not cheap, and non ordinary start-ups can afford it (based on CPU, generally 25w/cpu/year; 15% maintenance fee will be charged the next year), Troubleshooting is a painful process.

Management and maintenance

. NET: 2 points

PHP: 5 points

JSP: 4 points

In WEB management, websites are often managed remotely. The convenience of remote management depends on the support of command line tools and the operation convenience of script environment NET can only run on the Windows platform, and remote management can only be operated by the remote mouse through the graphical interface. When the network speed is relatively slow, the administrator's mood is extremely complex, and remote operation is basically to estimate the moving position of the mouse in the next picture from picture to picture; The command line environment of the Windows platform is very poor, the command line tools of IIS have few functions, and the bat script is difficult to learn and use (although you can simulate the Linux shell environment by installing the cygwin tool, you are still powerless in system operation and system resource monitoring); Under Linux, people are much happier. The remote connection is basically through SSH, and the security is guaranteed. The network bandwidth consumed by shell scripts is only one percent of the graphical interface. The management is smooth and the mood is comfortable; Resources consumed by various programs can be monitored remotely; Linux is born for servers, which is not too much. PHP and JSP can cross platforms. Generally, their system deployment is under Linux. MySql database and apache server can be effectively managed through corresponding command line tools. The JSP application server supports less in this respect;

Cross platform

. NET: 0 point

PHP: 5 points

JSP: 5 points

Once upon a time, I was dismissive of cross platform, thinking about a good end application. Since it was developed on this platform, why should I migrate to other platforms. Now, I have a deep understanding. For the project at hand, the company needs to migrate the application from SUN Unix to the Linux platform (Redhat) due to cost pressure. Our program basically does not need to be changed. There are only a few warnings when compiling on Linux, and we can go online after modification; In another project, I was deeply trapped! We use ASP NET, due to the spread of Windows viruses and the trouble of WEB management, is eager to be transplanted to the Linux platform, but this is basically impossible. If you really want to transplant this application, you have to rewrite the application with PHP and change the system architecture. PHP and JSP can be cross platform, needless to say.

Selection of current mainstream applications

PHP: At present, the language choice of WEB start-ups is mainly PHP. In addition to the above reasons, another important reason is the size of the PHP development programmer team.

Taobao (Alibaba): Linux operating system+Web server: Apache+PHP

There are too many applications of PHP, which will not be listed here;

ASP. NET: It is not widely used in start-ups, and well-known Internet applications are limited. At present, well-known applications include:

Blog Park, CSDN, eBay, MySpace, etc;

JSP: The implementation of JSP is relatively large. If you use it well, you have to use such large objects as websphere or weblogic. For various reasons, JSP is not widely used in Internet companies. Except Alibaba, few companies can control Java (JSP). It takes years of practice to go deep into JAVA, and after becoming proficient, it is a test whether the company has enough salary to retain such a group of experts;

Alibaba: Linux+(JSP)

summary

Ruby, now popular, is also a choice for startups; The elegance of python, you can also consider trying (Python used by Douban); But one risk of choosing these languages is that after the company expands, whether it can find enough talents needs to be questioned. In general, entrepreneurship is faced with choosing a development language, PHP should be the first choice; If the Linux platform is not considered, it will definitely operate on Windows NET is also a good choice. JSP small companies are not close, which is dangerous and easy to cause fund trapping.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]