Book Image

Mastering jQuery

By : Alex Libby
Book Image

Mastering jQuery

By: Alex Libby

Overview of this book

<p>Mastering jQuery has been written not only to help maximize your skills with core functionality in the library, but also to explore some of the more intriguing ways of using the library to achieve real-world solutions that could feature on any website or online environment.</p> <p>You'll start with a look at some of the more advanced ways to incorporate the library into your pages, followed by working with forms and advanced form validation using regular expressions. Next you'll move on to animating in jQuery, advanced event handling, and using jQuery effects.</p> <p>Finally, you will develop practical examples of using jQuery with external functionality such as node-webkit, before finishing with a session on optimizing your version of the library for maximum efficiency and exploring best practices for using QUnit.</p>
Table of Contents (21 chapters)
Mastering jQuery
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Categorizing patterns


Now that we've seen the structure of a typical design pattern, let's take a moment to consider the types of patterns that are available. Patterns are usually grouped into one of the following three categories, which are the most important ones:

  • Creational patterns: These focus on how we can create objects or classes. Even though this might sound simple (and in some aspects, like common sense), they can be really effective in large applications that need to control the object creation process. Examples of creational patterns include Abstract, Singleton, or Builder.

  • Structural design patterns: These focus on ways to manage relationships between objects so that your application is architected in a scalable way. A key aspect of structural patterns is to ensure that a change in one part of your application does not affect all the other parts. This group covers patterns such as Proxy, Adapter, or Façade.

  • Behavioral patterns: These focus on communication between objects and...