asp.net Atlas Framework Overview

Source: Internet
Author: User
Tags bind contains emit object serialization web services client visual studio
asp.net introduce

Code-named Atlas is a new ASP.net web development technology that integrates client-side script libraries under the ASP.net 2.0 Server development platform, The AJAX strategy built by Atlas for Web development allows you to invoke server-side Web applications from client script, and Atlas can handle client-side application-critical portions without having to return to the server side to update page pages.

This development strategy enables you to build a new type of Web application and has a number of benefits beyond traditional web development, with AJAX-type applications providing better performance, cross-browser operations, and enabling you to build richer user interface features.

Asp. NET's Atlas applies this new strategy to building a Web application and adding client-side and server-side development components to greatly enhance the Ajax development capabilities of Atlas.

   Atlas Target

Atlas provides a broad range of application building blocks for developers in the following two areas:

1. Help program developers build the Atlas application.

2. Integrate the Atlas client script features into the server-side asp.net to provide a broad, comprehensive development platform.

8 first goal: simplifying AJAX application Development

The first goal of Atlas is to help you build AJAX applications, because Ajax is inherently complex, and Atlas provides you with the complexity of managing your AJAX applications, with features such as:

1. Provides a consistent and object-oriented APIs for JavaScript program development.

2. browser compatibility, so you don't have to write additional programs and deployment components for multiple browsers, and your Web application can be executed across browsers.

3. Providing client-side script APIs and components that support rich UI features allows you to exempt developing AJAX-type applications from having to write a large number of program code, for example, Atlas provides commonly used drag and drop behavior, and enables you to minimize the amount of program code required to bind these HTML controls.

4. The declarative syntax for Atlas is similar to the ASP.net server control declaration syntax pattern, which eliminates more complex program writing.

8 second goal: Atlas Technology solution with client side and server end

The second goal of Atlas is to integrate the client Scripting in the development of the ASP.net server, unlike the development of previous programs not focusing on the client side or focusing on the server side, Atlas provides both client-side and server-side tools, and in any case Atlas can help you deal with most applications program development, ASP. NET provides the following server features for the Atlas application:

1. Integration between the WEB service and the Atlas application will be useful, such as the Profiles service.

2. ASP. NET Web page server controls will emit the Client script required by the Atlas application, which will make it easier to develop the Atlas application because it reduces the work required to learn the Atlas Client Script APIs and components.

3. Integrating development tools such as Visual Studio will provide a design-time environment, error-checking, complete description, management, and productivity enhancements.

   Atlas Architecture

Web application minimum requirements as long as the Atlas Client Script library invokes a service or application on a Web server, you might want to use the server-side Altas component as a best development option and tool. The Atlas architecture is also composed of the client Script library and the server-side Altas component, which is described as follows:

8Atlas Client-side components

Figure 1 depicts the Atlas Client script Library architecture diagram.

  
Figure 1 Atlas client-side component architecture diagram

The Atlas Client Script Library is made up of some JavaScript (. js) files and provides object-oriented features for program development, not just the scripting development environment, which provides a new level of conformance and modularity, The Atlas Client Script Library includes:

1. Browser compatibility layer: Provides cross browser compatibility for the Atlas scripts.

2. Atlas Core Services: Contains a number of JavaScript extensions, such as class, namespace, event handling, inheritance, data type, and object serialization.

3. Atlas base Class Library: Contains string builders, debuggers, timers, tracing components.

4. Network layer: Responsible for handling communication with Web service and applications, and managing asynchronous remote method calls.

5. UI layer: Provides the capabilities of some of the client side of the atlas, including Behaviors, Atlas declaration syntax, UI components, and data binding.

6. Atlas Control hierarchy: provides specific Atlas controls for client side development that can have data bound, scripted, bind to Atlas behavior such as drag and drop, and this layer contains such as auto-completion text squares , generic type controls, ListView controls with Data-bound capabilities, and navigation controls.

   Atlas Server Components

The Atlas server component is composed primarily of asp.net Web services and asp.net server controls, Figure 2 is the Atlas Server component architecture diagram:

Server-side

  

Figure 2 Atla server-side component architecture diagram

Figure 2 means that all ASP.net features are fully accessible to the Atlas application.

Atlas also contains components of the ASP.net server, including Web services and server controls that work together with the client Script libraries, and Atlas can gain some benefits from Web services, Includes the following:

1. Profile Service can be persisted on the server.

2. The membership service is able to provide a validation option.

3. Role services can provide role-based validation for the Atlas application.

4. The personalization service can persist in saving user-specific data or Web page-specific data to the server.

5. Globalization and culture-specific services can also be used/invoked by Atlas.

Asp. NET also includes Atlas server controls similar to ASP.net server controls, but Atlas server controls have the ability to emit client script, and the Atlas server control simplifies the generation of the Atlas client script process. For program developers who want to focus on server development, Atlas includes full server controls such as button, Label, Option, TextBox, CheckBox, hyperlink, and Validator, Very close to existing ASP.net server controls, and there are also atlas servers that emit JavaScript to generate client-side behavior, including Hoverbehavior controls, Clickbehavior controls, The popup control and the Autocompletebehavior control, all the controls will be integrated into Visual Studio, so you can use them in design mode as if you were using generic asp.net server controls.

The Atlas Framework installation package has also provided beta download usage, which provides five hands-on-lab, and in order to understand the mysteries of the Atlas framework itself, the author itself actually installs the test usage, and when the first three Lab is finished, It's still not obvious what the obvious difference is with the manual or other AJAX library, but is Microsoft exaggerating? But after finishing the fourth lab, the feeling of Atlas came, and it was obvious that Atlas was a good place to have a taste of the framework level, not just a library level, Like in a TextBox control in the Web, you want to do a few English words, like an electronic dictionary key, the screen then shows the relevant English words to choose from, or a friend once asked me, he wants to ASP.net 1.0 TextBox control to enter a few initial order number, and then the screen ... Thump, call the relevant records from the database display on the screen for business personnel to choose, I told him very directly-I will not, two years later, the answer is here ... The Atlas Framework, simple to incredible, the most core part of the two lines of program code ... It was enough to defeat the skill that I had never done before---ah! Exaggerate, I'm still young and far away from one.

  

Figure 3 Atlas Auto-completion server control

   Conclusions

After watching the Atlas framework features and architecture, are you tempted to get excited? I understand the modern man's quick heart, no time to temper slowly to practice or study the AJAX theory Yinianbanzai after the implementation, so next I will introduce the Atlas framework actually hand labs, By teaching you to wave the sharp Sword of Atlas directly, you will appreciate what Atlas is, and then discuss the deeper Ajax theory with sense.

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.