Review questions
We have covered multiple different topics and introduced new concepts in this chapter. Use the following questions to solidify what you just learned:
- When is better to use a SPA instead of an MPA and vice versa?
- What are the benefits of using a router in our SPA? Name at least three from your own analysis.
- How can you use views to define the layout of your application?
- How can you access the parameters and query string passed to your route in your JavaScript?
- What are some common standard patterns to authenticate users?
- What are some security considerations when authenticating users in a SPA?