 |
Pro JavaScript Design Patterns
Read an excerpt:
Chapter 1: Expressive JavaScript
Excerpt provided courtesy of Apress. Copyright © Apress, Inc. Written permission from the publisher is required for any use of this material.
|
Be the First to Write a Review and tell the world about this title!People who purchase this book frequently purchase: Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
As a web developer, youll already know that JavaScript is a powerful
language, allowing you to add an impressive array of dynamic functionality to
otherwise static web sites. But there is more power waiting to be unlockedJavaScript
is capable of full object-oriented capabilities, and by applying OOP principles,
best practices, and design patterns to your code, you can make it more powerful,
more efficient, and easier to work with alone or as part of a team.
With Pro JavaScript Design Patterns, youll start with the basics of object-oriented
programming in JavaScript applicable to design patterns, including making JavaScript
more expressive, inheritance, encapsulation, information hiding, and more. With
that covered, you can kick-start your JavaScript development in the second part
of the book, where youll find detail on how to implement and take advantage
of several design patterns in JavaScript, including composites, decorators,
façades, adapters, and many more.
Each chapter is packed with real-world examples of how the design patterns
are best used and expert advice on writing better code, as well as what to watch
out for. Along the way youll discover how to create your own libraries
and APIs for even more efficient coding.
Master the basics of object-oriented programming in JavaScript, as they
apply to design patterns.
Apply design patterns to your kick-start your JavaScript development.
Work through several real-world examples.
What youll learn
How to apply object-oriented programming techniques in JavaScript
How to take advantage of inheritance, interfaces, and encapsulation and information
hiding to kick-start your JavaScript development
How to implement several design patterns in your JavaScript projects, including
factory, façade, bridge, composite, adapter, decorator, flyweight, proxy,
command, observer, and chain of responsibility
How to make your code easier to manage in a team environment, as well as on
your own
How to create your own libraries and APIs
Who is this book for?
This book will be an invaluable learning tool for any experienced JavaScript
developer.
About the Apress Pro Series
The Apress Pro series books are practical, professional tutorials to keep you
on and moving up the professional ladder.
You have gotten the job, now you need to hone your skills in these tough competitive
times. The Apress Pro series expands your skills and expertise in exactly the
areas you need. Master the content of a Pro book, and you will always be able
to get the job done in a professional development project. Written by experts
in their field, Pro series books from Apress give you the hard-won solutions
to problems you will face in your professional programming career.
About the Authors
Dustin Diaz is a user interface engineer who enjoys writing JavaScript,
CSS, and HTML, as well as making interactive and usable interfaces to create
passionate users.
Ross Harmes works as a frontend engineer in Sunnyvale, California, where
he creates modular and reusable JavaScript components for Yahoo! Small Business.
|
 |