|
INTERVIEW QUESTIONS
OPEN SOURCE APPLICATIONS
ECOMMERCE PORTAL
DETAILS
Question: How Better Backend Integration Using AJAX
Answer: Using JavaScript, a visitor could interact with a page. But if he wanted to load another page or complete a new form, he’d have to wait for the server to respond with a new page or a new form.
While this worked okay, it wasn’t very smooth. It was frustrating, for example, to change shopping cart quantities for five items and remove a few others. Each change would take a few seconds to load. Shoppers would often become annoyed and leave.
Enter AJAX — Asynchronous JavaScript and XML — which was developed around 2005. AJAX allowed web applications to send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Instead of the user performing an action and then waiting for a new page to appear, she could perform an action and AJAX would communicate with the server in the background and then update the existing page automatically.
This opened up many interactions that are now common:
Updating an item in a cart and seeing the change right away; Search suggestions and results that appear as you type; New email messages appearing automatically in Gmail; Ability to drag and drop elements of a web page; Forms that notify you of problems as you fill them out. AJAX enabled JavaScript to expand its capabilities, so interactions were more than just visual changes and hints. They affected how a store functions.
Now, because of AJAX, modern ecommerce applications are full of these dynamic, backend-supported interactions.
|
|
|
Category |
ECommerce Portal Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6781 users |
Added on |
7/18/2016 |
Views |
69841 |
Rate it! |
|
|
Question:
How Better Backend Integration Using AJAX
Answer:
Using JavaScript, a visitor could interact with a page. But if he wanted to load another page or complete a new form, he’d have to wait for the server to respond with a new page or a new form.
While this worked okay, it wasn’t very smooth. It was frustrating, for example, to change shopping cart quantities for five items and remove a few others. Each change would take a few seconds to load. Shoppers would often become annoyed and leave.
Enter AJAX — Asynchronous JavaScript and XML — which was developed around 2005. AJAX allowed web applications to send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page. Instead of the user performing an action and then waiting for a new page to appear, she could perform an action and AJAX would communicate with the server in the background and then update the existing page automatically.
This opened up many interactions that are now common:
Updating an item in a cart and seeing the change right away; Search suggestions and results that appear as you type; New email messages appearing automatically in Gmail; Ability to drag and drop elements of a web page; Forms that notify you of problems as you fill them out. AJAX enabled JavaScript to expand its capabilities, so interactions were more than just visual changes and hints. They affected how a store functions.
Now, because of AJAX, modern ecommerce applications are full of these dynamic, backend-supported interactions. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What JavaScript Means for Ecommerce Merchants
|
View Answer
|
|
Which type of binding does PL/SQL use?
|
View Answer
|
|
What is the output of the following program ?
|
View Answer
|
|
What tests would you perform at which layer?
|
View Answer
|
|
How can you make sure the we b application is fit for release?
|
View Answer
|
|
How would you Test a Service Oriented Architecture Web Application?
|
View Answer
|
|
What are the HTTP response code blocks and what do they mean?
|
View Answer
|
|
How is Web Application Testing different to Desktop Application Testing ?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All ECommerce Portal Interview Questions & Answers - Exam Mode /
Learning Mode
|