Respuesta :
Answer:
a. The idea behind a type-ahead field is very simple: As soon as the user enters a character into the input field, the browser issues an AJAX request to the server by passing the current content of that field as the parameter. The server evaluates the content and returns a list of suggestions to the browser.
b. The Goal
An AJAX (or AHAH) proof-of-concept page that allows the visitor to edit the very (x)HTML page they are viewing, without leaving the page
c. Partial pages can be used to break up complex pages into smaller units, thereby reducing the complexity and allowing teams to work on different units concurrently. They can also be used to provide content for updating part of the rendered web page via AJAX in client side script. A partial page is a single .cshtml file.
d. AJAX, which stands for asynchronous JavaScript and XML, is a technique that allows web pages to be updated asynchronously, which means that the browser doesn't need to reload the entire page when only a small bit of data on the page has changed. AJAX passes only the updated information to and from the server.
e. XMLHttpRequest (XHR) is an API that can be used by JavaScript, JScript, VBScript, and other web browser scripting languages to transfer and manipulate XML data to and from a webserver using HTTP, establishing an independent connection channel between a webpage's Client-Side and Server-Side.
f. A function to be used to handle the raw response data of XMLHttpRequest. dataType : The type of data expected back from the server. error : A function to be called if the request fails. global : Whether to trigger global Ajax event handlers for this request.
g. callback() function. The Ajax callback itself works like this: The browser sends a message (i.e. data) to the server, and specifies the page (usually the . A5W page in Alpha Anywhere) on the server that will receive the message.
h. The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin. It helps isolate potentially malicious documents, reducing possible attack vectors.
i. AJAX is a set of web development techniques used by client-side frameworks and libraries to make asynchronous HTTP calls to the server. ... AJAX used to be a common name in the web development circles and many of the popular JavaScript widgets were built using AJAX.
j. AJAX is the most viable Rich Internet Application (RIA) technology so far. It is getting tremendous industry momentum and several tool kit and frameworks are emerging. But at the same time, AJAX has browser incompatibility and it is supported by JavaScript, which is hard to maintain and debug.