1) Explain about what is Ajax?
Ajax has culmination of languages such as asynchronous java script and XML. This has interrelated web development languages which help in creating outstanding web pages. This language is used in increasing server’s responsiveness due to client side responsiveness. This increases the speed, functionality, responsiveness, and usability. This technology helps in loading the content behind the scene which will not affect the front side of the language.
Ajax has culmination of languages such as asynchronous java script and XML. This has interrelated web development languages which help in creating outstanding web pages. This language is used in increasing server’s responsiveness due to client side responsiveness. This increases the speed, functionality, responsiveness, and usability. This technology helps in loading the content behind the scene which will not affect the front side of the language.
2) Explain the functionality of the webpage?
Some of the languages which are used in the combination of the webpage are.
1) Javascript will be present on the client browser
2) For client to server combinations following languages are used such as standard HTTP and XMLHTTP.
3) Server side scripting is used whenever there is a request from the client side. This server side scripting can use any preferred language for working in the back end.
4) Different languages and features are present which can help the client and solve the problem.
Some of the languages which are used in the combination of the webpage are.
1) Javascript will be present on the client browser
2) For client to server combinations following languages are used such as standard HTTP and XMLHTTP.
3) Server side scripting is used whenever there is a request from the client side. This server side scripting can use any preferred language for working in the back end.
4) Different languages and features are present which can help the client and solve the problem.
3) Explain about the Response time when we are using this language?
Response time is also known as latency which can be described as the time taken or interval between the time taken to process the request generated from the client on the server. Proper handling of the XMLHttprequestobject might be the cause for some delays between the client and server request.
Response time is also known as latency which can be described as the time taken or interval between the time taken to process the request generated from the client on the server. Proper handling of the XMLHttprequestobject might be the cause for some delays between the client and server request.
4) Explain about the onreadystatechange property?
Onreadystatechange property is very useful in Ajax. It stores information received from the client. It stores the function which can process the request generated from the client side in the server thereby reducing the time lag and increasing the efficiency of the process.
Onreadystatechange property is very useful in Ajax. It stores information received from the client. It stores the function which can process the request generated from the client side in the server thereby reducing the time lag and increasing the efficiency of the process.
5) Explain about the readystate property?
Readystate property holds the response of the server to the query generated from the client side. Each time the readystate property changes onreadystatechange function will be executed. Some of the values for the readystate property are as follows if the status is zero the request is not initialized, 1 the request has been set up, 2 the request has been sent, 3 the request is in process, 4 the request is complete.
Readystate property holds the response of the server to the query generated from the client side. Each time the readystate property changes onreadystatechange function will be executed. Some of the values for the readystate property are as follows if the status is zero the request is not initialized, 1 the request has been set up, 2 the request has been sent, 3 the request is in process, 4 the request is complete.
6) Explain about sending a request to the server?
To send a request to the server we should use the open () and send () method. Open() method has three arguments of which the first one defines which method to use which would help in sending the request. The second argument explains about the URL of the server side script. The third argument or request determines how the request should be handled whether asynchronously or not. Send () method is useful to send a request to the server to determine functionality.
To send a request to the server we should use the open () and send () method. Open() method has three arguments of which the first one defines which method to use which would help in sending the request. The second argument explains about the URL of the server side script. The third argument or request determines how the request should be handled whether asynchronously or not. Send () method is useful to send a request to the server to determine functionality.
7) If there is an input in the text field what are all the functions which get executed?
The following functions are executed when there is an input in the text field.
1) Defines the url which we should be sent to the server
2) A parameter is added to the content of the input field.
3) A parameter is added to prevent the server from the cache.
4) When a change is triggered statechange is executed
5) An XMLHTTP object with a given URL gets executed
6) A request to the server is sent through HTTP.
The following functions are executed when there is an input in the text field.
1) Defines the url which we should be sent to the server
2) A parameter is added to the content of the input field.
3) A parameter is added to prevent the server from the cache.
4) When a change is triggered statechange is executed
5) An XMLHTTP object with a given URL gets executed
6) A request to the server is sent through HTTP.
8) Explain how friendly Ajax is with SEO?
Ajax is a combination of many languages and it is not so friendly with search engine indexing because it uses Javascript for much part of its code. This problem occurs with websites which have dynamic data present in it. Search engines generally do not index Javascript present in web pages. Careful indexing should be done where there is dynamic data and presence of javascript.
Ajax is a combination of many languages and it is not so friendly with search engine indexing because it uses Javascript for much part of its code. This problem occurs with websites which have dynamic data present in it. Search engines generally do not index Javascript present in web pages. Careful indexing should be done where there is dynamic data and presence of javascript.
9) Explain about web analytics problem with Java?
Many search engines load a new page whenever new or updated content is loaded in the website. Whenever there is a check out or content updation websites load giving the scope for search engines to index the new content or updation. Ajax alters the process of indexing because it is unable to track new content addition.
Many search engines load a new page whenever new or updated content is loaded in the website. Whenever there is a check out or content updation websites load giving the scope for search engines to index the new content or updation. Ajax alters the process of indexing because it is unable to track new content addition.
10) Explain about the multimedia functions of ajax?
Ajax lacks built in multimedia functions. It is not so supportive of inbuilt applications but uses other browser functionalities and plugin`s such as SVG, Quicktime and flash pugin. General multimedia for ajax is achieved through mashup and hack. These multimedia functions can be obtained from outside which helps in building excellent applications.
Ajax lacks built in multimedia functions. It is not so supportive of inbuilt applications but uses other browser functionalities and plugin`s such as SVG, Quicktime and flash pugin. General multimedia for ajax is achieved through mashup and hack. These multimedia functions can be obtained from outside which helps in building excellent applications.
11) Explain about direct ajax frameworks?
Direct ajax frameworks require CSS, HTML and ajax expertise. Authoring should be done in HTML and framework directly deals with HTML elements. Many of the frameworks and API`s are provided are many purposes such as commonly including functions (COM), event handling, DOM, and altering graphic rich elements. These frameworks are used for shopping frameworks but not for web based applications.
Direct ajax frameworks require CSS, HTML and ajax expertise. Authoring should be done in HTML and framework directly deals with HTML elements. Many of the frameworks and API`s are provided are many purposes such as commonly including functions (COM), event handling, DOM, and altering graphic rich elements. These frameworks are used for shopping frameworks but not for web based applications.
12) What does an ajax component frameworks provides?
The following features are provided for ajax component frameworks. They are
Cusomization Applications, skinning facilities, extensibility and programmatic control.
These functions are very rich in application but they are a bit slower in execution with less control.
The following features are provided for ajax component frameworks. They are
Cusomization Applications, skinning facilities, extensibility and programmatic control.
These functions are very rich in application but they are a bit slower in execution with less control.
13) Explain the disadvantage of ajax related to browser integration?
Dynamically created pages created by ajax does not support back button which takes the user to the previous pages. There are various solutions to this problem out of which one solution is to use iframes. Also users can bookmark a certain application in its state. User can maintain the applications as the state of the application changes
Dynamically created pages created by ajax does not support back button which takes the user to the previous pages. There are various solutions to this problem out of which one solution is to use iframes. Also users can bookmark a certain application in its state. User can maintain the applications as the state of the application changes
14) State the difference between GET and POST?
You would use GET when the request is idempotent, meaning that multiple requests generate the same result. In general use GET to retrieve data from the server, in other words try to change the state on the server with a GET call. Use POST methods anytime you are changing the state on the server with a GET call. In POST you are required to set the content-Type header on the XMLHttpRequest.
You would use GET when the request is idempotent, meaning that multiple requests generate the same result. In general use GET to retrieve data from the server, in other words try to change the state on the server with a GET call. Use POST methods anytime you are changing the state on the server with a GET call. In POST you are required to set the content-Type header on the XMLHttpRequest.
15) Explain about security of the Ajax based web applications?
The XMLHttpRequest object is subjected to the browsers security sandbox. Any resources requested by the XMLHttpRequest object must reside within the same domain from which the calling script originated from which the calling script requested. XMLHttpRequest cannot request services due to security restriction, outside the domain from which the script was originally served.
The XMLHttpRequest object is subjected to the browsers security sandbox. Any resources requested by the XMLHttpRequest object must reside within the same domain from which the calling script originated from which the calling script requested. XMLHttpRequest cannot request services due to security restriction, outside the domain from which the script was originally served.
16) Explain about clearPreviousResults?
The clearPreviousResults function performs two tasks removing the results header task that appears at the top and clearing any rows from the results table. The nest task is to clearPreviousResults is to delete any rows that may already be in the table displaying the search results. Any results rows are child nodes of the tbody node.
The clearPreviousResults function performs two tasks removing the results header task that appears at the top and clearing any rows from the results table. The nest task is to clearPreviousResults is to delete any rows that may already be in the table displaying the search results. Any results rows are child nodes of the tbody node.
17) Explain about the getElementsByTagName and parseResults function?
You use the tag method to retrieve all the property elements in the XML document as an array and assign the array to the local variable properties. Once you have the array of property elements you can iterate over each element in the array and retrieve the data. With parseResultsfunction you can get the next element in the array and assign it to the local property.
You use the tag method to retrieve all the property elements in the XML document as an array and assign the array to the local variable properties. Once you have the array of property elements you can iterate over each element in the array and retrieve the data. With parseResultsfunction you can get the next element in the array and assign it to the local property.
0 comments:
Post a Comment