October 2017
Intermediate to advanced
370 pages
8h 57m
English
In this chapter, we're going to improve our prototype by adding some e-commerce essentials. Forms will be central to everything we build next. While we saw some interactive UI elements in the previous chapters, forms really open up a whole new level of interaction by providing the ability to generate user requests, and to submit and collect user input.
It will be necessary to learn a few other things along the way, including form validation and amp-mustache templates. We'll also need to set up some server-side code, to handle submissions and state. This is not strictly AMP, so we'll keep this to a minimum.
In particular, in this chapter, we'll see how AMP's form support can be used to enhance the user experience ...
Read now
Unlock full access