Question 21

A developer is writing a server side script that needs to maintain state across calls. The persistent information needed includes these items.
* The current customer
* Whether or not the customer is authenticated
* The privacy attributes (such as tracking consent or cookie policy)
Which technique should the developer use to maintain state in an efficient and scalable manner that follows best practice?
  • Question 22

    A Digital Developer is working on a project to convert a pipeline to a JavaScript controller. UX Studio has a functioning pipeline debugger configured for the site. Assume the Developer will add a breakpoint to the controller when it is written.
    What must be done in order to use the debugger with the new controller when it is written?
  • Question 23

    A developer set up a new site with Taxation: Net. However, the business requirements changed and the site now needs to be Taxation:Gross. The Business Manager interface does not give this option.
    Which sequence of steps is necessary to change the site to gross taxation?
  • Question 24

    A developer is asked to write a log containing the ID and name of the product with a variable named myProduct.
    Which snippet of code should be used?
  • Question 25

    A developer has custom debug statements in a script, but the messages are not showing up in the Storefront Toolkit Request Log.
    Which step needs to be completed to get the messages to appear in the Request Log?