O'Reilly logo

Rails, Angular, Postgres, and Bootstrap, 2nd Edition by David B. Copeland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required