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

Introducing design patterns


How many times have you viewed a website to stand in awe at the beautiful design, only to find that the code looks like the proverbial dog's dinner? A commonly held misconception is that appearance is the domain of the designer; this is not true, as the design of the code plays an equally important part as well.

How can we get around this? Easy, we can use a design pattern or a set of constructs that help provide a solution and allow us to concentrate more on the functionality we want to provide within our project.

First created in 1977 by the architect Christopher Alexander, engineers have since used the early principles and developed them into what we now know as design patterns. This work was further promoted by the Gang of Four (GoF) in their iconic book Design Patterns: Elements of Reusable Object-Oriented Software, published in 1995.

They helped to not only push the use of design patterns further afield but also provided some design techniques and pitfalls...