Three kinds of web development mainstream technology's sex price Evaluation _ server

Source: Internet
Author: User
Tags comparable ldap php and sybase

Asp:ms IIS 4/visuale InterDev 6
Php:apache 1.2.x/homesite 4.5/php 4
Java:iplanet Web Server 4.1/jbuilder 3.5/jdk 1.2.2
The above technology I have been used, and have used them to do projects, based on previous work experience to beginners and the selection of their own application system colleagues to talk about their evaluation of their own, for reference, but also please put forward their own ideas and opinions, more exchanges. But I have a view that: "A product there is a reason for existence, it can not be useless, but need you to choose the most suitable for your technology, products." A good technology to use in the most suitable place, so this article can be used as a reference for your article, and will not tell you any one of the technology "most." ASP for the evaluation of three kinds of mainstream web development technologies
Asp:activex Server Page
ASP we talk about it first, because the ASP is to the current development of the most widely in the county of a technology, so we would like to think that people will be most concerned about it. ASP is a near-perfect idea, but because of MS a large environmental problem so in some ways back to make it shrink in a small frame, if it can better jump out of this framework, I think by it now the basis will be no comparable. ASP is more precise is a middleware, this middleware will transfer the request of the Web into an interpreter, in this interpreter will all the ASP's script analysis, then carry out, and then in this middleware to create a new COM object, Manipulate and invoke the properties and methods in this object, and then do more work with these COM components. Therefore, the ASP is powerful not in its VBScript, but in its backend COM components, these components to unlimited expansion of the ASP's capabilities.
Strong:
1. Simple and easy to learn. Basic, who wouldn't? Few people raise their hands, so someone is saying that the development base is the widest. And MS has always done a very good online manual, the help of localized languages, but also very fast appearance of teaching books, which will greatly facilitate the development of learning and in-depth study of technology.
2. Easy to install and use. Install a Windows 2000, as long as you have installed IIS where the ASP can be used, there is no need to spend your mind to configure. And to tell the truth, the ASP's tuning is not difficult to do, and to do the most fine is not common people can do.
3, development tools are powerful and diverse. I do not have to say, can be said that I used to use the Web class in VB to develop a Web application is not bad, at that time let many people surprised, VB can also do ASP application!!! In fact, this illustrates the diversity of ASP development tools, and they are also very powerful, which has been the relish of many programmers. Easy-to-use, simple, user-friendly, this is the strengths of Microsoft Yo.
4, high efficiency. In the low volume of traffic, the ASP can reflect a certain degree of efficiency, at this time it is not high demand for machines.
Weak:
1, all the problems of Windows itself will be added to its body. Security, stability, Cross-platform (Win2K no longer supports Alpha) will be revealed as a result of a bundle with NT.
2, ASP because of the use of COM components so it will become very powerful, but this strong due to the initial design problems of Windows NT system will cause a lot of security problems. As long as one does not pay attention to such a component or operation, an external attack can gain considerable privileges and cause the website to be paralyzed or data loss.
3, because the ASP or a script language is not in addition to a large number of components, there is no way to improve its efficiency. It has to face the time test of just-in-time editing, and we don't know what the components behind it will be.
4, can not achieve the application of the cross-operating system. Of course, this is one of the reasons for Microsoft, the only way to play the best ASP capabilities. But I think it's windows that limits the concept of asp,asp is designed to allow the system to run in a large and diverse environment.
5, can not fully implement some enterprise-class functions: Complete cluster, load are horizontal.
Summarize:
Applicable to people: familiar with the MS structure of the personnel. Want to use the shortest time to learn, but also want to use the simplest way to complete their application.
Applicable platform: Windows Series Platform application: Enterprise internal management Information system, small and medium Internet application, rapid database development application.
How to learn: IIS 4 Online Help (Chinese) MSDN lib related knowledge a large number of ASP books on the market.
Recommended development tools: Visual interdev/home site/front Page
Recommended development environment: Windows Server/ms SQL
Recommended application Environment (min): Windows server/ms SQL 7/piii 500/256m ram/18g HD
PHP for the evaluation of three kinds of mainstream web development technologies
Php:personal Homepage
What causes PHP to appear? It is a small application that a technician hopes to use in a quick way to complete his own personal homepage. And when he got out of the corner, PHP, which enabled a person to quickly complete a lightweight web application under a variety of operating systems. So in a few short years, PHP quickly upgraded its version, while in the GNU World found a childhood partner----Apache. This finally lets PHP have the foundation, can run in an optimal environment, and since two products are open source products, so you can use their source code to the two products in the most perfect way together, use it as a product. Personally think that PHP is free software in the Web application platform a winning tool, if not the advent of PHP, there will be many people think that free software represents the high-tech requirements of developers, difficult to remember the code, complex tools ... PHP enables a person who will use basic to quickly learn and fulfill the user's needs in a very short time.
How do you say php? If the ASP is a COM, which PHP is more accurate to say that PHP is a pure script translator. This is also a major reason why PHP is upgraded from 3 to 4, and in the 4 version it rewrites the parser, which speeds up the overall performance of PHP. And you'll understand why PHP needs to be able to do the same with the Lib Library of the corresponding system when it comes to supporting this or that kind of extended functionality. Because it is the authentic "translator", so it is to translate script into the functions that need to be executed, and then execute them, the external expansion can not be carried out by some "dynamic load" way, so can only static editing into PHP (this can only be in Windows except).
Strong:
1, a fast learning, cross-platform, have a good database interaction capabilities of the development language. ASP is not comparable to it is this cross-platform capabilities, and it is its ability to let Unix/linux has a kind of ASP-like development language. Simple grammar, easy to write, and now there are a lot of books in the market, while there are a lot of code on the Internet can be shared, for a beginner want to learn some "advanced UNIX" under the development is a good starting point.
2, with the Apache and other extensions are tightly integrated. PHP and Apache can be combined in a static way, and other extensions can be combined in this way (except the Windows platform). The biggest benefit of this approach is maximizing CPU time and memory, while effectively leveraging Apache's high-performance throughput capabilities. At the same time the external extension is also a static link, so as to achieve the fastest running speed. Because the interface to the database is also used in such a way, a localized call is used, which also gives the database the best performance.
3, good security. Because PHP itself is open to code, its code is tested in the hands of many engineers, and the way it is compiled with Apache also gives it a flexible security setting. So until now, PHP has a proven security performance.
Weak:
1, database support of the great changes. Since all of PHP's extension interfaces are developed by an independent team, while developing to create personalized operations for the data, PHP supports many databases, but the development language for each database is completely different. This creates a work for a database that requires developers to do almost all of the code changes after the database is upgraded. In order for the application to support more kinds of databases, developers need to use the same database operations using different code to write n code library out, so that the programmer's workload greatly increased.
2, installation is complex. Since every extension of PHP is not entirely done by PHP itself, it requires a lot of external application libraries, such as graphics need the GD library, LDAP needs LDAP library .... In this way after the installation of the corresponding application, and then linked into PHP. This is what I used to say to netizens in the Code Alliance newsgroup to be sure to run PHP under Freebsd/linux/unix. It is only in these environments that the corresponding extension libraries can be easily edited. These are the problems that developers face before they use PHP, and it's the kind of problem that makes many developers switch to other development languages, and Unix doesn't have as many users.
3, lack of enterprise-level support. Without the support of the component, all extensions would have to rely on the interface given by the PHP development team, and in fact, there are not enough interfaces. It is also difficult to add features such as cluster and application server to the system. and a large site or an enterprise-class application must be such support. Note: After the 4.0 version of PHP has added support for Servlet/javabean, perhaps this support will be enhanced in later versions, perhaps this support will be the starting point for future enterprise-class support in PHP.
4, lack of formal business support. This is also the shortcomings of free software, I think in the domestic PHP developers are rapidly increasing, I believe that in the near future, such support will be more.
5, cannot realize the commercialization application development. Because PHP does not have any coding development work, all of the development is based on scripting technology to complete. So all the source code can not be compiled, so the application can only be done by themselves or internal use, can not achieve commercialization.
Summarize:
Applicable to the people: familiar with the UNIX environment, the need for a minimum of input to complete the rapid application development.
Applicable platform: Freebsd/linux/unix operating system, Apache server
Application: High Internet access, rapid database development applications.
Learning methods: The Internet rich resources on the Internet rich source code resources, can refer to such a routine to complete their application. Several recently published PHP manuals on the market.
Recommended development tools: Home site/phped
Recommended development environment: FreeBSD 4.1/redhat 6.1 operating system/apache 1.3.12/mysql 3.22/p 200/64m HD
Recommended application Environment (min): FreeBSD 3.5/mysql 3.22/apache 1.3.12/p 200/128m ram/9g HD
Recommended application Environment (best): FreeBSD 3.5/sybase 11/apache 1.3.12/p III 500/512m ram/18g HD
JSP for evaluation of three kinds of mainstream web development technologies
Jsp:java Server Page
What is the reason for JSP to appear? Java is having a hard time pushing developers, first of all because Java lacks broad support for mainstream systems, and there is a lack of direct reference to all platforms and technologies. At this time Java went to the various application layer of the positive, in their own good and not good at the field are out of the firm footsteps. One of the most exciting web technicians is the emergence of the Java servlet and the gradual maturation of the JSP, this step-by-step all let Java formally toward the Web development technology arena. Java leverages its Cross-platform technology to enable Java applications to be deployed quickly on a variety of platforms, and it can actually be written in one place and run everywhere. It has more use of this advantage, clever Java versatility, JSP ease of use, the speed of the servlet combination, using platform deployment techniques to effectively mask the speed of Java, so Java quickly in the Web developers to promote the members of the team. With the Java Bean, EJB, Java application Server, Java Transaction Server, such as the powerful background to the real mature application.
What kind of language is JSP? In fact, JSP is Java, but it is a special Java language, added a special engine, this engine will httpservlet some objects of this class automatically initialized for users to use, and users do not have to worry about the previous work. The engine also introduces the Java Servlet code (. java file)->java Runtime Bin code (. class file), which is why the first time we run the JSP, the CPU runs very high, It actually calls the JSP engine to generate the Java file, and then compiles it to the class file with Javac to execute it. At the same time also explained that after the first run, why is the speed of the reason, as long as the JSP file does not change where this operation will no longer be carried out (unless you delete the class file). So, Java has what JSP has what kind of function, and ASP, the real power of JSP is we can never see the end of!
Strong:
1, a place to write anywhere to run. This is a programmer's dream, but also a former programmer's nightmare, in order to run between different platforms, so that many programmers line of rewrite code. At this point, Java has given me the perfect answer. It does better than PHP, and your code doesn't have to change anything except the system.
2, the system of multiple flat support. I've seen a consistent java servlet/jsp Web server/application Server on almost every platform ... The system allows you to develop in any environment, deploy the system in any environment, and expand in any environment. Compared to the limitations of asp/php is visible.
3, strong scalability. From only a small jar file can run servlet/jsp to multiple servers for cluster and load are horizontal, to multiple application transaction processing, message processing ... A server to countless servers, Java shows the vitality of a giant.
4, diverse and powerful development tool support. This is similar to the ASP, Java has a lot of very good development tools and have a lot of free to get, and many of them have been able to run smoothly under a variety of platforms. If you use them carefully, you will find that they are much more powerful than when you see them on your first side.
Weak:
1, like the ASP, some of Java's advantages is its fatal problem. It is precisely because of the cross-platform capabilities, in order to extreme scalability, so greatly increased the complexity of the product. So, how many pieces does it need to expand, and how many of the products are in the Java system? So you want to see the JRE, JDK, JSDK, jswdk ..., in fact, as long as they are effectively paired together, they can produce a strong performance, inseparable, but for a beginner: "There is no mistake!" Is it necessary for me to run a JSP with so many messy things! ”
2, from the appearance of the first day from the opponents scold: "Slow as the old cow." Really, when I first ran my JSP, I thought that my machine had crashed and which process was going to kill! The first compilation, the operation for the user is really a nightmare, in development I often dream at night to see the Winnt Task Manager CPU grid when the whole green waiting to drop down the look and feel.
3, skill or skill. There must be a price to pay for a shortcoming. Java is running at a rate that uses the permanent memory of the class, so it is in some cases using more memory than the number of users is actually the "lowest performance price ratio." On the other hand, it also requires hard disk space to store a series of. Java and. class files and corresponding version files.
4, lack of systematic information. That may not be true, but Sun is doing very poorly at home, Java's capital molten-based in the domestic very few, until now I have not seen a JSP book in the bookstore, and the Java system is less and less discussion books, and Java-related books (Chinese version) to now but three digits. And take a look at a lot of the tools are still talking about Visual J + + or Java 1.1 such a year of second-hand.
Summarize:
Applicable to the crowd: have a strong learning ability and patience of developers. Low input but would like to have a greater ability to scale applications.
Applicable platform: ...  (Too much but no more than one by one columns) application: Internet/intranet application System with high reliability application, internet/intranet and Client/server Learning methods: Java DOC documents and a document in a Java site source code resources for the Internet (sorry everyone, really can not put forward a better proposal, and then there is everyone's ability and luck, and inetnet on the help of netizens)
Recommended development tools: Jbuilder/visual Age for Java (which I did not use, but someone strongly recommended)/sun Forte for Javakawa
Recommended development environment: Windows nt/windows 2000 development system JBuilder 3.5 (it can become a web Server, even no longer requires other tools) Tomcat 3.1JDK 1.3 (can not be installed) Access 2000/p II 266/ 128M ram/9g HD
Recommended application Environment (min): RedHat Linux 6.2/mysql 3.22/apache 1.3.12/tomcat 3.1/jdk 1.3beta/piii 500/512m ram/9g HD
Recommended application Environment (best): Solaris 8/sybase 11/iplanet Enterprise Web Server 4.1/jdk 1.3beta/sun Netra t1/1g ram/18g HD

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.