Detailed analysis of Java, JavaScript, asp.net, and jquery
Source: Internet
Author: User
JAVA and JAVASCRIPTJava are object-oriented programming languages that can write cross-platform application software. They are the Java programming language and Java platform (JavaSE, JavaEE, javaME. Java technology... SyntaxHigh JAVA and JAVASCRIPT
Java is an object-oriented programming language that can write cross-platform application software. It is a Java programming language and Java platform (JavaSE, JavaEE, javaME. Java has excellent versatility, efficiency, platform portability and security. It is widely used in personal PCs, data centers, game consoles, scientific supercomputers, mobile phones and the Internet, it also has the largest developer community in the world.
Java programming languages are very similar to C and C ++ languages. Java is a pure object-oriented programming language that inherits the core of the object-oriented C ++ language technology. Java discards the following features in the C ++ language: pointer (replaced by reference), operator overloading, and multi-inheritance (replaced by Interface) that are prone to errors, the garbage collector function is added to reclaim the memory space occupied by objects that are no longer referenced, so that programmers do not have to worry about memory management.
The Java platform is based on the Java language. Such a platform is currently very popular. Therefore, Microsoft has launched a competing. NET platform and a C # language that imitates Java.
The source of Java name: Java is the English name of Java island in Indonesia and is famous for its coffee. The names of many library classes in Java are mostly related to coffee, such as JavaBeans, NetBeans, and ObjectBeans. The SUN and JAVA logo are also a cup of hot coffee.
JavaScript is a program language that makes your webpage more lively. It is also the easiest and most convenient language to learn in the current webpage design. You can use JavaScript to easily make friendly welcome messages, beautiful digital clocks, ad-targeted horse lights, and simple elections, as well as display the browser's stay time. Make these special effects more intuitive.
Differences
1. javaScript is a dynamic, weak type, prototype-based language that can be directly executed through a browser. Java is an object-oriented programming language, you must first edit the encoding, connection, and other actions before execution.
2. javaScript is written in an HTML file. You can directly view the original code of the webpage to see the JavaScript program. Therefore, no protection is provided. Anyone can copy the program through the HTML file; java applications on Web pages are called Java Applet (Applet is a [Applet]), which is separated from HTML files.
3. The structure of JavaScript is relatively loose, while Java is the same as the Orthodox programming language, and the structure is more rigorous.
4. JavaScript does not provide functions such as file reading and writing and network control. Java provides these functions, but JavaScript is convenient and convenient in the control and interaction of webpage content.
5. javascript mostly runs on the client, while java mostly runs on the server.
JQUERY
Jquery is another excellent Javascr into pt framework after prototype. It is a lightweight js Library (only 21 k after compression). It is compatible with CSS3 and jQuery, a variety of browsers, allowing users to easily process HTML documents, events, and animation effects, it also facilitates AJAX interaction for websites. Another major advantage of jQuery is its comprehensive documentation and detailed description of various applications. There are also many mature plug-ins to choose from. JQuery can ensure that the user's html page is separated from the code and html content. That is to say, you don't need to insert a bunch of JavaScript code in the html to call the command. You just need to define the id.
ASP. NET
ASP is a Microsoft technology. It is a server-side scripting technology that enables scripts embedded in web pages to be executed by Internet servers. This is a program running in IIS on the Active Server Pages (dynamic Server Pages.
Because ASP.net is a program compiled and run based on a common language, it is powerful and adaptive, it can run on almost all Web application software developers (I only know that it can only be used on Windows 2000/2003 Server/VISTA/7/XP/WIN7 ). The basic library, messaging mechanism, and data interface processing of common languages can be seamlessly integrated into ASP.net Web applications. ASP.net is also language-independent (language independence). Therefore, you can select a language that best suits you to compile your program, or write your program in many languages. Currently, C # (a combination of C ++ and Java), VB, Jscript, C ++ and F ++. In the future, the ability to work collaboratively in multiple programming languages will protect your current COM +-based programs and be fully transplanted to ASP.net.
ASP. NET is generally divided into two development languages, VB. NET and C #, C # are relatively common, because it is. NET Language, VB. NET is designed for the previous VB program and is suitable for the previous VB programmers.
AJAX
AJAX is "Asynchronous JavaScript and XML" (Asynchronous JavaScript and XML). AJAX is not a acronym, but a term created by Jesse James Gaiiett, this is a web development technology used to create interactive web applications.
AJAX is not a new programming language, but a technology used to create better, faster, and more interactive Web applications.
Through AJAX, your JavaScript can use the XMLHttpRequest object of JavaScript to directly communicate with the server. With this object, your JavaScript can exchange data with the Web server without reloading the page.
AJAX uses asynchronous data transmission (HTTP request) between the browser and the Web server, so that the webpage can request a small amount of information from the server, rather than the whole page.
Author: lilongsheng1125
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