THE CURL Programming Language

xiaoxiao2021-03-06  72

THE CURL Programming Language

Overview | Language Features | Applications | Advantages | Disadvantages | Sample Program | Suppliers | Learning Cost

Overview

CURL is a Web development language developed by the US Department of Defense and MIT research. The current owner is curl.inc (www.curl.com); the goal is to replace HTML, Cascading Style Sheets, JavaScript, etc. with a unified object-oriented language; use CURL to develop a variety of software for web applications. The CURL program is running in the browser, and because it provides the client running environment Surge RTE in a similar JRE, it is easy to develop increasingly popular RICH Client applications.

Language features CURL are:

A markup language similar to HTML. The CURL source file consists of HTML tag and the curl code, similar to JSP. A view-oriented language similar to Java. CURL supports multiple inheritance, built-in garbage collection mechanism. A generic support for parameterization Programming language

The goal of using CURL in the application is a web application, and the Rich Client, its competitor is Macromedia Flash, Java Applet; but compared to them, CURL has not been widely used; there is a news that the news can be described by side:

ISAC Japan's first use "CURL" Web language package software 2003/12/03

[Nikkei BP Society] Japan System Integrator ISAC has listed on December 1st "Automatic Attendance". The biggest feature is to use the Web language "curl", which improves the ease of use of the application than using the web browser. It is considered to be the first suite of CURL in Japan. CURL is a Web development language developed by the US Department of Defense and MIT research. It is characterized by using a language to develop a variety of software required to construct a web application, and easily implement "rich client" that can be done by the client. The CURL running environment is installed in a web browser. Automatic attendance can use mouse operations to perform (1) to implement (1), (2) Annual leave time management, (2) the approved and (4) of the boss and the personnel department and (4) a series of elastic work and shift Attendance management business. And it is still improving the ease of use, such as moving the mouse to the attendance form, the input object bar points to the cursor will disconnect. The reason why ISAC uses CURL because the company believes that only the original Web technology such as HTML is difficult to build a strong business Web application. "In order to conduct feasibility studies to CURL and MicroMedia Flash, the CURL development team and Flash development team are formed, while developing work. As a result, since the development of the CURL development team is much better, it is finally decided to adopt CURL" (Kansai " Ji Fang, the department of the branch office of the branch. The price is from 500,000 yen (approximately RMB 33,300, up to 100 users). These include CURL operational licenses. Server standard use environments are Linux, Apache, Tomcat, PostgreSQL, clients for Windows, Internet Explorer. "Automatic Attendance" experience version can be downloaded from the ISAC's Web site. (Reporter: Tian Zhongyu)

advantage

Interaction response speed. Transfer between the CURL Applet and the server is code, and a small amount of calculation must have data, and a large number of computing procedures are completed at the client, and their interaction response speed is similar to desktop applications, better than traditional web programs; A large amount of calculations are moved to the client, alleviating the server's burden, which can better support a large number of UI components designed for web design. The appearance feels more than WEBSERVICE SOAP support for desktop design. Client running environment Surge RTE built-in For SOAP support, you can easily use WebService in the CURL Applet; some JVMs need to install the extended plug-in to use the performance consistency of the WebService different platforms in the Java Applet. Because RTE provides the same supplier, there will be similar Java applications Version of the inconsistency in different JVMs. CURL application can specify its own compatibility, if there is no compatible Surge RTE, the curl application on the client will stop running, avoiding unexpected disadvantages

Manufacturer dependence. Only one manufacturer can provide a rare resource. CURL has not been widely used, which can help to learn resources.

Sample program

Access the elements in havehtable

{Value || Declare and Initialize a Hash Table. Let my-hash-table: {hashtable-of string, int} = {new {hashtable-of string, int}, "apple", 56, "banana", 87, "Cherry", 34} || declare and initialize a vbox this we will use to || display the content: vbox = {vbox} || for Each Element in the hash table, add the element | To the vbox. {for Element: int in my-hasd element}} || display the vbox. message}

supplier

Only CURL Inc. is currently available: Surge IDE & Surge RTE, the latest version is 3.0.3, with common editing compilation debug function, Applet visual development environment

Learning cost

转载请注明原文地址:https://www.9cbs.com/read-121200.html

New Post(0)