Chapter 11 Asynchronously Load Data from Many Sources

At this point, our Angular app is working great, and data is coming back quickly thanks to our materialized view. We aren’t fetching the credit card information, however, so our feature isn’t quite complete. We’ll complete it in this chapter, which will give you the opportunity to learn more about how to design a complex Angular app. You’ll see how embracing a component-based design, along with the Angular’s asynchronous nature, makes it easy to keep code organized and maintain a good user experience in the face of added complexity (namely, fetching the credit card information from a third party).

Up to this point, our Angular app looks like a Rails app written in JavaScript. You could ...

Get Rails, Angular, Postgres, and Bootstrap, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.