Escolar Documentos
Profissional Documentos
Cultura Documentos
open( method, URL, async, Specifies the method, URL, and other optional attributes of a request.
userName, password )
The method parameter can have a value of "GET", "POST", "HEAD", "PUT", "DELETE", or a
variety of other HTTP methods listed in the W3C specification.[2]
The "async" parameter specifies whether the request should be handled asynchronously or not –
"true" means that script processing carries on after the send() method, without waiting for a
response, and "false" means that the script waits for a response before continuing script
processing.
setRequestHeader( label, value ) Adds a label/value pair to the HTTP header to be sent.
Properties
Property Description
onreadystatech Specifies a reference to an event handler for an event
ange that fires at every state change.
Client
Client Script
Script Library
Library
ASP.NET
ASP.NET AJAX
AJAX Server
Server Extensions
Extensions
Controls,
Controls, Components
Components App
App Services
Services
ASP.NET Bridge
Bridge
ASP.NET AJAX
AJAX
Component
Component Model
Model and
and Server
Server Controls
Controls Web
Web Services
Services
UI
UI Framework
Framework Bridge
Bridge
Client
Client Base
Base Class
Class Library
Library
Application
Application ASP.NET
ASP.NET 2.0
2.0
Services
Services
Script
Script Core
Core Page
Page
Browser
Browser Application
Application
Framework,
Framework,
Integration
Integration Browser Services
Services
Browser Compatibility
Compatibility Server
Server Controls
Controls
Presentation
Presentation Initial Rendering
(HTML/CSS)
(HTML/CSS) Pages
(UI + Behavior) Pages
““Atlas”
Atlas”
Service
Service Data
UI Proxies
Proxies Web
UIBehavior
Behavior Data
Web
(Script) Services
Services
(Script)
Atlas
Atlas Script
Script Framework
Framework ASP.NET
ASP.NET
Component/UI
Component/UI Client
Client Page
Page Application
Application
Framework,
Framework, Application
Application Framework,
Framework, Services
Services
Controls
Controls Services
Services Server
Server Controls
Controls
Server-Centric Programming Model
•Application Logic and most of the UI
rationale remain on the server
•Incremental changes for the UI are
passed down to the browser application
instead of the changes being made at
client side.
Server-Centric Programming Model
Browser
Browser ASP.NET
ASP.NET Application
Application
Initial Rendering
Pages
Pages
Presentation
(UI + Behavior)
Presentation
(HTML/CSS)
(HTML/CSS)
Input Data
UI
UIBehavior
Behavior
Updated UI + Behavior (Managed
(Managed
Code)
Code)
Atlas
Atlas Script
Script Framework
Framework ASP.NET
ASP.NET
Component/UI
Component/UI Client
Client Page
Page Application
Application
Framework,
Framework, Application
Application Framework,
Framework, Services
Services
Controls
Controls Services
Services Server
Server Controls
Controls