To this point, we've largely focused on various security concerns and the backend systems, and much of what we've discussed applies to applications on any platform and not just those developed on PhoneGap. In this chapter, however, we'll cover the creation of a new mobile app that can communicate with the backend we've built.
In this chapter, we'll focus on the following points:
A brief look at Promises
Verifying that the communication channel is secure
Using
XMLHttpRequest
to communicate with the backend RESTful-like APIAuthenticating the end user with the backend