Use Atlas to simplify client Ajax Programming

Source: Internet
Author: User
Tags object serialization

What is Atlas?

Microsoft claims that Atlas aims to integrate client program scripts into ASP. NET on servers to provide a comprehensive development platform.

The Atlas platform consists of two parts: client and server. For the client, it has the following features:

  • Object-oriented compatible Java language API. Developers with. NET development experience are very familiar with their object-oriented design.
  • Automatic browser compatibility. Technically, no special code is required to run multiple browsers.
  • Client APIs and components provide rich user interface features, such as drag and drop operations. You can add these features to the HTML controller with little or no code required.
  • The function declaration module developed by the client program is similar to the function declaration syntax of the ASP. NET service controller.

Atlas further expands AJAX by integrating with the server layer. Such extensions include automatic control using network services and ASP. NET network servers and the generation of scripts necessary for the Atlas client. Finally, Visual Studio IDE may be applied to the Atlas-based development process.

JavaScript is the key

A key goal of Atlas is to simplify client programming. JavaScript promotes development standards for network customers, but it also creates barriers for skilled construction of robust applications in other languages.

Atlas contains a set of JavaScript libraries that provide everything necessary to create client-based network applications. Microsoft describes these libraries as a subset of the ASP. NET system. This method hides many complicated things from developers.

The API makes it easy for developers to use the script library, which uses the hierarchy or service layering method described below to build network client applications.

  • Browser compatibility layer: provides cross-compatibility for most browsers and eliminates the need to read and write special browser scripts.
  • Core Services: including Java class, namespace, event processing, inheritance, data type, Object serialization extension programming, it makes people very familiar with the. NET development technology can be applied to network client programming.
  • Basic Class Library: the basic class library contains basic components such as the string constructor, compiler, timer, and tracker.
  • Network Layer: promotes communication between HTTP and AJAX methods. Manage asynchronous remote calls and hide complexity with just a few lines of script code.
  • User Interface Layer: includes client actions, user interface components, and data binding performance
  • Control Layer: these special Atlas controls for network client development may include: data restrictions, comparison, restrictions on Atlas actions (provided by the user interface layer), such as drag and drop. These controls include automatic completion of text packages, data restriction control, and navigation control.
  • Declarative program: A Powerful declarative program module facilitates the generation of custom Atlas components. It follows the same method as ASP. NET Server Control.

On the server side, it provides security services with ASP. NET features such as descriptions, roles, membership qualifications, and personalized and global network services. Atlas contains many controllers similar to ASP. NET services. These controllers can send all necessary client Atlas Java code. In addition, the Atlas service controller can use Java to generate an Atlas response.

Download the Atlas Installer

The Atlas platform is a comprehensive development environment with many features. It may be difficult for beginners to learn it. In order to understand its internal architecture to external encapsulation, the best way is to practice using sample code or compile your own code. The first step is to download and run the Atlas Installation File.

Installing Atlas is as easy as downloading and running the windows Installation File (. msi file. As with the Visual Studio template installation, you will be prompted whether Atlas supports IIS instances. By default, Atlas is installed in the following path:

C: \ Program Files \ Microsoft ASP. NET \ Atlas \ v2.0.50727 \ Atlas

The Atlas set is named Microsoft. Web. Atlas. dll, which contains a client program file consisting of the Atlas client script library. If Visual Studio is used and these templates have been installed, the Atlas components can be obtained through the client IDE's intelliisense.

Key points:

  • The Atlas script manager controls the Atlas processing process. It provides page development and control development functions, and it provides some refresh, growth update and other functions. Its EnablePartialRendering attribute allows the customer to specify whether a part of page stack tasks are performed.
  • The AtlasUpdatePanel controller allows customers to stack some pages and is activated in the ScriptManager controller. The data contained in the ContentTemplate element is displayed. The Trigger element specifies the reason for triggering a stack event. The Trigger element is associated with the control event. When the control value changes in the instance and the event changes (such as the selected link), the Trigger also changes accordingly.
  • The SQLDataSource element is used to define the data source. It is referenced in the click link event and used for the GridView controller assembly.

Another method of Web Development

Atlas is the result of Microsoft's entry into the AJAX waters field. It provides everything necessary to build a powerful Web client-based application based on the core features of AJAX combined with the ASP. NET Framework Design. When ASP. NET is not required, it is easy to use ASP. NET service control and Web services to respond to user operations.

(

Related Article

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.