Colon and his students (serial 21)--Background script

Source: Internet
Author: User

21. Background script

After the dawn of the song, look at thousands of swords and then know the device--"Wen Xin Diao Dragon · Bosom friend"

"There are four dynamic languages left, which we classify as background scripting languages." The colon says, drawing a chart--

User
Foreground language: Visual basic,delphi,javascript
Platform language: java,c# Background scripting language: Perl,php,python,ruby
System language: C,c++,d
Machine

Quote carefully: "I remember you started by dividing these languages into C-family static language, non-C-class static language and dynamic language. ”

The colon explains: "That is divided by grammar, emphasis on theory, now is divided by application, emphasis on practice." ”

The full stop immediately associated with: "This method looks like a three-tier architecture-the front language corresponding to the performance layer, platform language and background scripting language corresponding to the business logic layer, system language corresponding to the data layer." ”

"There is a likeness, but it must not be confused. "The colon warns," the three-tier architecture (Three-tier architecture) is the logical division of modular design, and here is the physical division of the language application--the front language that interacts with the user, the system language that interacts with the machine, The background language is where the service is provided for the foreground and the underlying system is required. ”

Comma query: "Background language is subdivided into platform language and background scripting language?" ”

"This is based on programs (program) and Scripts (script), static and dynamic. "The colon explains," in fact, Perl,php,python and Ruby have their own VMS (virtual Machine), which in this sense can also be used as platform languages. In practice, however, they do not have the cohesive and central role of the Java platform and the. NET platform, often as a lightweight solution. ”

The question mark wants to explore: "Is this because they are all dynamic languages?" ”

The colon answers: "Theoretically dynamic languages can also bear large applications, but in practice they are more of a cohesive language or for small and medium sized applications." Use a fashionable word to describe, temporarily still is the mainstream supporting actor or non-mainstream protagonist. After all, in terms of efficiency, type safety, available resources, development tools, technical support and so on, they are compared to Java, C # there is a certain gap. In addition, they belong to the "grassroots" language, despite the strong support of the open source community, in the influence of the latter is not the same. ”

Exclamation mark speculation: "Perhaps in the near future, dynamic language will become the main role of the mainstream." ”

"The world is easy to move, it is difficult to foreseen." But there is one thing to be sure, the development trend of language must be static and dynamic combination, rigid and soft and economic. The colon asserts that, on the one hand, the branches of the dynamic language are grafted in a static language represented by Java and C #, and the intersection of Java and. NET platforms and dynamic languages is gradually expanding. For example, JRuby allows Ruby and Java to invoke each other, similar to Jython, IronRuby, IronPython, and so on. In addition, it is worth mentioning that the dynamic language of the most active stage when several lamp,l-a-m-p. ”

Quote Shang: "L is Linux,a is apache,m is Mysql,p is PHP. ”

The colon adds: "P can also refer to Perl, Python, and even Ruby." ”

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.