Summary

In this chapter, we learned the concepts of the Builder and Factory Patterns, two of the most commonly used Creational Design Patterns. We analyzed their common goals, their different approaches on abstracting the process of generating and initializing new objects for specific use cases, and how their adoption can benefit our implementations. Finally, we learned how to use them properly and how to choose the most appropriate one for the different use cases of any given implementations.

Now that we have completed our introduction to the most important Creational Design Patterns, we can move on to the next chapter where we will be introduced to the development patterns that are used to program asynchronous and concurrent procedures. In more ...

Get jQuery Design Patterns 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.