Reader small image

You're reading from  Expert Angular

Product typeBook
Published inJul 2017
Reading LevelExpert
PublisherPackt
ISBN-139781785880230
Edition1st Edition
Languages
Right arrow
Author (1)
Sridhar Rao Chivukula
Sridhar Rao Chivukula
author image
Sridhar Rao Chivukula

Sridhar Rao Chivukula is a technical lead at Mindtree Ltd and is based out of New York City. He brings with him more than a decade of rich hands-on experience in all aspects of frontend engineering. He has worked with leading companies such as Oracle, Tech Mahindra, and Cognizant Technology Solutions. He has a Bachelor's degree in Information Technology. He is the author of the books Expert Angular and PHP and Web 2.0 Application Interfaces, published by Packt.
Read more about Sridhar Rao Chivukula

Right arrow

Summary

In this chapter, we learned how to use some of the classical object-oriented patterns that are applicable, and useful, for reusable and easy-to-maintain/extend real-world applications. The MVC was adapted to Angular and expanded to enable highly reusable business logic between different applications. Then, we saw how to control the creation of our object with the singleton with and without Dependency Injection and the prototype coupled to a pool to limit the number of expensive objects in the system. Finally, we learned how to use the factory patterns to avoid the traps in JSON-to-TypeScript automatic (and partial) object conversion and saw how to perform undo operations with the memento pattern.

If you want to learn even more about patterns to improve your performance, operations costs, and maintainability, you can check out the upcoming Angular Design Patterns and Best...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Expert Angular
Published in: Jul 2017Publisher: PacktISBN-13: 9781785880230

Author (1)

author image
Sridhar Rao Chivukula

Sridhar Rao Chivukula is a technical lead at Mindtree Ltd and is based out of New York City. He brings with him more than a decade of rich hands-on experience in all aspects of frontend engineering. He has worked with leading companies such as Oracle, Tech Mahindra, and Cognizant Technology Solutions. He has a Bachelor's degree in Information Technology. He is the author of the books Expert Angular and PHP and Web 2.0 Application Interfaces, published by Packt.
Read more about Sridhar Rao Chivukula