What would you recommend to the ACME project team to deliver this project?

You are the architect at ACME, a large a large global retailer of festival and holiday
accessories. ACME wants to launch a new shopping portal for the holiday shopping
session, allowing two months from project inception to going live. The portal must contain
in-house and third-party stock to attack customers. Fast response times are also critical so
users remain engaged and sticky to the portal. What would you recommend to the ACME
project team to deliver this project?

You are the architect at ACME, a large a large global retailer of festival and holiday
accessories. ACME wants to launch a new shopping portal for the holiday shopping
session, allowing two months from project inception to going live. The portal must contain
in-house and third-party stock to attack customers. Fast response times are also critical so
users remain engaged and sticky to the portal. What would you recommend to the ACME
project team to deliver this project?

A.
Access all third party content using JSON to dynamically load it from the browser.

B.
Access all content regardless of source using the HTML 5 XML parsing capabilities of the
browser

C.
Access as much content with bulk-loading as possible; use JSONP to access the
remainder.

D.
Access all third party content using JSONP to dynamically load it from the browser.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Ashishkumar

Ashishkumar

D is correct answer.

Reason : Needs to access third party contents means cross domain…

Requesting a file from another domain can cause problems, due to cross-domain policy.
Requesting an external script from another domain does not have this problem.
JSONP uses this advantage, and request files using the script tag instead of the XMLHttpRequest object.

Ashishkumar

Ashishkumar

(By the same origin policy, it’s not possible to access third party hosts using pure json, it needs to be wrapped) hence Option D is correct answer.