js| comparison |js in the network development of today's changing, people continue to innovate, including web pages, the development of Web sites. The original HTML hypertext language has not been able to fully meet the needs of our web page. What we need is a dynamic, interactive, very strong site. In order to and the vast number of netizens, Users generate communication. Those or simple or complex VBScript and JavaScript also make the webmaster feel annoying. Any user who presses the right button and then presses a political v, then all your code will be exposed. We are not the webmaster's hope.
Then, since the server scripting language appears, it all happened. Originally CGI was very popular, although it can be implemented in almost all languages, but it and HTML is not too good, update the program trouble, we do not discuss it here. The Server scripting language means that the specified program will execute on the server side, So the user is not able to see your source program. You can only see the HTML code that appears according to your program requirements. It would be very exciting.
Here are the three most popular server-side scripting languages. Asp,php,jsp.
ASP is the "great" work of MS (Microsoft). The default scripting language is VB, I think probably should know how simple VB, so tell you ASP is so simple, so that the ASP is not to learn the program is also very easy to use. It supports powerful MS with good performance SQL database and Access database, after all, is their own products, and the ASP is Ms single-handedly, so there is no uniformity. In this regard, PHP will appear more chaotic. asp has a lot of powerful components that may also be developed by yourself, which is better than PHP.
However, the ASP also has a lot of defects in the place, first of all, it can only run in the WINDIW series of operating system, which seems to be a bit overbearing. I don't think those Linux,unix fans will give up their hobby because of this. After all, there are PHP and JSP that we talked about later.
Second, the ASP must be explained in the server to be able to execute, which in some small program is insignificant, but compared with some large and medium-sized sites, in the speed will appear powerless.
Finally, from the comparison, the ASP CPU resources are also considerable, this is a large multi-user interactive site is very headache, they often because of the exhaustion of CPU resources have to repeatedly restart the machine.
Many people say that Ms's stuff has too many bugs, unstable, unsafe, in fact, we can not think so, after all, is to use more people, will continue to find mistakes. But Ms's money view is unable to stop, you want to run ASP services, must buy its operating system, MS is too clever. : )
Relatively speaking, ASP is good, it is suitable for small and medium-sized, running in the Microsoft operating system site, of course, the most is WIN2000. It is very suitable for some friends who have just contacted the language.
In order to challenge PHP and Jsp,ms have developed a new generation of asp+ scripting language, it will be in the brand-new default language C # appear in front of people, and almost support all, in addition to Java language. (Obviously, Sun is a dead enemy) and the speed is going to change dramatically. From the original interpretation language to the embedded language, which is one of the reasons for the change in speed. And in porting to other platforms, MS has also made a lot of changes.
In short, asp+ is still well worth looking forward to. After all, this is one of the products of MS in his next generation of. NET plan.
We'll talk about PHP and JSP for you in the next issue. See how they differ from the ASP.