Question

Computer Science, Website Design, Enhanced Business Technology Write three paragraphs (4-7 sentences each) with three website...

Computer Science, Website Design, Enhanced Business Technology

Write three paragraphs (4-7 sentences each) with three website references (i.e. quotes from websites) on Ajax technology and/or its business implications.

Homework Answers

Answer #1

Ajax is not a programming language or a tool, but a concept. Ajax is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh. The best definition I’ve read for Ajax is “the method of exchanging data with a server, and updating parts of a web page – without reloading the entire page.” Ajax itself is mostly a generic term for various JavaScript techniques used to connect to a web server dynamically without necessarily loading multiple pages. In a more narrowly-defined sense, it refers to the use of XmlHttpRequest objects to interact with a web server dynamically via JavaScript.

Benefits of Ajax

There are 4 main benefits of using Ajax in web applications:

  1. Callbacks: Ajax is used to perform a callback, making a quick round trip to and from the server to retrieve and/or save data without posting the entire page back to the server. By not performing a full postback and sending all form data to the server, network utilization is minimized and quicker operations occur. In sites and locations with restricted bandwidth, this can greatly improve network performance. Most of the time, the data being sent to and from the server is minimal. By using callbacks, the server is not required to process all form elements. By sending only the necessary data, there is limited processing on the server. There is no need to process all form elements, process the ViewState, send images back to the client, or send a full page back to the client.
  2. Making Asynchronous Calls: Ajax allows you to make asynchronous calls to a web server. This allows the client browser to avoid waiting for all data to arrive before allowing the user to act once more.
  3. User-Friendly: Because a page postback is being eliminated, Ajax enabled applications will always be more responsive, faster and more user-friendly.
  4. Increased Speed: The main purpose of Ajax is to improve the speed, performance and usability of a web application. A great example of Ajax is the movie rating feature on Netflix. The user rates a movie and their personal rating for that movie will be saved to their database without waiting for the page to refresh or reload. These movie ratings are being saved to their database without posting the entire page back to the server.

Technical Aspects of Ajax

Ajax callbacks can be done by instantiating an XMLHttpRequest object in the client-side JavaScript. The XMLHttpRequest object can be used to directly call server-side objects like pages and web services. These pages and web services will either save and/or return data.

Ajax was originally an acronym for Asynchronous JavaScript and XML. “Asynchronous” means that multiple events are happening independently of one another. Once a client initializes an Ajax callback to the server, the client will not need to wait for a response and can continue to use the web application while the request is being processed. Once done, the server will send a response back to the client and the client will process it as necessary.

What Advances have Been Made to Ajax?

JavaScript is the client-side programming language and XML is a markup language to define data. JSON is another markup language to define data. JSON (JavaScript Object Notation) is much easier to use with JavaScript than XML. When it comes to Ajax and JavaScript, JSON Web Services are replacing XML Web Services.

Another major advance to JavaScript and Ajax is the JavaScript object library called jQuery. This free, open-source software is a wrapper around JavaScript. jQuery is used to easily write client-side JavaScript to navigate and manipulate a page and make asynchronous Ajax callbacks.

By using jQuery and JSON Web Services, Ajax callbacks have become standard programming practices for designing and developing web applications.

The Ajax Control Toolkit is a suite of controls created by Microsoft that is integrated into Visual Studio and can be dragged and dropped onto web forms just like html and server controls. These controls are intended to be used for Ajax callbacks. However, they can also be used as normal client and or server controls. For example, Asp.Net does not come with the Tabs controls. However, the Ajax Control Toolkit does. The Tab control can postback to the server just like server controls.

Where Should Ajax be Used?

Ajax should be used anywhere in a web application where small amounts of information could be saved or retrieved from the server without posting back the entire pages. A good example of this is data validation on save actions. Another example would be to change the values in a drop down list-box based on other inputs, such as state and college list boxes. When the user selects a state, the college list box will repopulate with only colleges and universities in that state.

Another great example is when the client needs to save or retrieve session values from the server, based on a user preference such as the height, width or position of an object. Adjusting the width could make a callback to the server to set the session variable for the new width. This way, whenever the page is refreshed, the server can adjust the object’s width based on this session variable. Otherwise, the object would go back to its initial default width.

Other features include text hints and autocomplete text boxes. The client types in a couple of letters and a list of all values that start with those letters appear below. A callback is made to a web service that will retrieve all values that begin with these characters. This is a fantastic feature that would be impossible without Ajax and is also part of the Ajax Control Toolkit.

Segue recently used Ajax to support a client application that had problems due to limited bandwidth and page size. The combination caused the application to take too long to retrieve data and display it on the page. Sometimes, the web server would simply not have the resources to handle the request and timeout. The best solution for this issue was Ajax.

To solve this problem, we created JSON Web Services on the web server in order to retrieve the details about the selected item. The JSON web service would retrieve the data and convert into JSON and return a JSON string. Instead of posting back to the server, the client would call the web service when an item was selected from the list box. We used jQuery to make an asynchronous Ajax call to the web service. Once the client retrieved the data back from the web service, more client side processing was done to display the information on the page. The time it took to display the details on the page after the item was selected was instantaneous. There was no page flicker, refresh or postback involved.

Note: Plzzz don' t give dislike.....Plzzz comment if u have any problem i will try to resolve it.......

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Please answer this question in two paragraphs (6-7 sentences each). Why is a small business potentially...
Please answer this question in two paragraphs (6-7 sentences each). Why is a small business potentially in a better position to achieve customer satisfaction than a large firm?
Question: Write 3 paragraphs (5 to 7 sentences each): Identify best practices, recommendations and techniques for...
Question: Write 3 paragraphs (5 to 7 sentences each): Identify best practices, recommendations and techniques for dealing with angry or upset customers in relation to healthcare. Task Best Practices?? Recommendations?? Techniques??
Write your responses in complete sentences. Each answer should be two - three paragraphs (150 –...
Write your responses in complete sentences. Each answer should be two - three paragraphs (150 – 250 words) in length. Explain the terms Short-Run Break-Even Price and Shut-Down Price. What we expect a firm to do when faced with each of these?
In 1988, Michael Malone, a professor of computer science and a specialist in digital technology, realized...
In 1988, Michael Malone, a professor of computer science and a specialist in digital technology, realized that it was only a short time before the computer would change the way people lived. Although he was 29 and quite happy with his $70,000 annual salary, he decided that this was an opportunity he just could not pass up. In 1985, he formed a new corporation, investing virtually all of his accumulated wealth, $200,000, in exchange for 51% of its stock. Three...
Post a response (2-4 sentences each). You can start a discussion by pointing out additional reasons...
Post a response (2-4 sentences each). You can start a discussion by pointing out additional reasons why you think this source is or is not credible. You can also suggest ways in which the site could be improved (is there information or are there sources they could have added? Are there different messages that would be more appropriate?). Write at least 1 response-post for each of the THREE “Part 1” posts you read (you will need at least 3 responses...
State whether each of the following are true or false. Write the number of the question...
State whether each of the following are true or false. Write the number of the question and the answer, e.g. 1.11. True 1.1 A TPS uses simple procedures to record and store day-to-day transactions. 1.2 Contemporary information systems are interfacing with customers and suppliers using electronic commerce technology, CRM, and SCM over the internet. 1.3 Processes represent the data acquired from an information system. 1.4 All stakeholders of an information system share the same perspective of the system. 1.5 An...
write a reply to this response in three to five sentences . RE: Sect. 1 Week...
write a reply to this response in three to five sentences . RE: Sect. 1 Week 10 DQ 8: Commodification and Assisted Reproductive Technologies COLLAPSE A commodity is according to the Google definition: a raw material or primary agricultural product that can be bought and sold, such as copper or coffee. If you are treating someone like a commodity, you're essentially treating them as if they have a marketable value i.e. you can sell them for profit. I think in...
Post a response (2-4 sentences each). You can start a discussion by pointing out additional reasons...
Post a response (2-4 sentences each). You can start a discussion by pointing out additional reasons why you think this source is or is not credible. You can also suggest ways in which the site could be improved (is there information or are there sources they could have added? Are there different messages that would be more appropriate?). Write at least 1 response-post for each of the THREE “Part 1” posts you read (you will need at least 3 responses...
Item 1 In the case below, the original source material is given along with a sample...
Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version There is a design methodology called rapid prototyping, which has been used successfully in software engineering. Given similarities between software design and instructional design, we argue that rapid prototyping is a viable method for instructional design, especially for computer-based instruction. References: Tripp, S. D., &...
You are required to write a Business Plan Report and you are advised to follow the...
You are required to write a Business Plan Report and you are advised to follow the below given outline.  Part I- Product/service idea Business Plan Report (40%) To make the best impression, a business plan should follow a convention structure, such as the outline shown below. Cover page Table of contents 1. Executive Summary  A succinct highlight of the overall plan- include ownership structure, business address, product/service, the management team and strategy and strengths. 2. Industry Analysis ...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • 7. How have angiosperms coevolve with pollinators to enhance the fitness of both partners? Consider factors...
    asked 4 minutes ago
  • If the effect size for a four-group study was .5, the sum of square between was...
    asked 17 minutes ago
  • What technology out there do you find the most exciting and interesting currently? Why?  What interests you...
    asked 23 minutes ago
  • 5. Classify each description as observational or experimental (a)Participants in a study to determine the effects...
    asked 26 minutes ago
  • Python Write function stringCount() that takes two string inputs—a file name and a target string— and...
    asked 26 minutes ago
  • If you pay more in tuition to go to a top business​school, will it necessarily result...
    asked 32 minutes ago
  • Choosing manual vs automated testing comes down to benefits gained on your particular project. In this...
    asked 34 minutes ago
  • In banker's algorithm, which process will be handle first? process   need (A, B) p1            1, 4...
    asked 44 minutes ago
  • Assignment 3 Chapter 2: Algorithm Discovery and Design More about Pseudocode Design an algorithm that is...
    asked 46 minutes ago
  • Justify answer. Is the Jaccard coefficient for two binary strings (i.e., string of 0s and 1s)...
    asked 48 minutes ago
  • Solve the following system of equations and determine if there is a unique solution, an infinite...
    asked 56 minutes ago
  • In C++ ------------------------------------------ All functions take no parameters as input and return nothing. Create a function...
    asked 1 hour ago