Pro JavaScript Design Patterns

ยท
ยท Apress
4.2
18 ื‘ื™ืงื•ืจื•ืช
ืกืคืจ ื“ื™ื’ื™ื˜ืœื™
269
ื“ืคื™ื

ืžื™ื“ืข ืขืœ ื”ืกืคืจ ื”ื“ื™ื’ื™ื˜ืœื™ ื”ื–ื”

As a web developer, you'll 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 unlockedโ€”JavaScript is capable of full objectโ€“oriented capabilities, and by applying object-oriented 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, you'll 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 you'll 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 you'll 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

ื“ื™ืจื•ื’ื™ื ื•ื‘ื™ืงื•ืจื•ืช

4.2
18 ื‘ื™ืงื•ืจื•ืช

ืขืœ ื”ืžื—ื‘ืจ

Dustin Diaz is a user interface engineer for Google in Mountain View, California. He enjoys writing JavaScript, CSS, and HTML, as well as making interactive and usable interfaces to inspire passionate users.

ืจื•ืฆื” ืœื“ืจื’ ืืช ื”ืกืคืจ ื”ื“ื™ื’ื™ื˜ืœื™ ื”ื–ื”?

ื ืฉืžื— ืœืฉืžื•ืข ืžื” ื“ืขืชืš.

ืื™ืš ืงื•ืจืื™ื ืืช ื”ืกืคืจ

ืกืžืืจื˜ืคื•ื ื™ื ื•ื˜ืื‘ืœื˜ื™ื
ื›ืœ ืžื” ืฉืฆืจื™ืš ืœืขืฉื•ืช ื”ื•ื ืœื”ืชืงื™ืŸ ืืช ื”ืืคืœื™ืงืฆื™ื” ืฉืœ Google Play Books ืœ-Android ืื• ืœ-iPad/iPhoneโ€. ื”ื™ื ืžืกืชื ื›ืจื ืช ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™ ืขื ื”ื—ืฉื‘ื•ืŸ ืฉืœืš ื•ืžืืคืฉืจืช ืœืš ืœืงืจื•ื ืžื›ืœ ืžืงื•ื, ื’ื ืœืœื ื—ื™ื‘ื•ืจ ืœืื™ื ื˜ืจื ื˜.
ืžื—ืฉื‘ื™ื ื ื™ื™ื“ื™ื ื•ืฉื•ืœื—ื ื™ื™ื
ื ื™ืชืŸ ืœื”ืื–ื™ืŸ ืœืกืคืจื™ ืื•ื“ื™ื• ืฉื ืจื›ืฉื• ื‘-Google Play ื‘ืืžืฆืขื•ืช ื“ืคื“ืคืŸ ื”ืื™ื ื˜ืจื ื˜ ืฉืœ ื”ืžื—ืฉื‘.
eReaders ื•ืžื›ืฉื™ืจื™ื ืื—ืจื™ื
ื›ื“ื™ ืœืงืจื•ื ื‘ืžื›ืฉื™ืจื™ื ืขื ืชืฆื•ื’ืช ื“ื™ื• ืืœืงื˜ืจื•ื ื™ (e-ink) ื›ืžื• ื”ืงื•ืจืื™ื ื”ืืœืงื˜ืจื•ื ื™ื™ื ืฉืœ Kobo, ืฆืจื™ืš ืœื”ื•ืจื™ื“ ืงื•ื‘ืฅ ื•ืœื”ืขื‘ื™ืจ ืื•ืชื• ืœืžื›ืฉื™ืจ. ื™ืฉ ืœืคืขื•ืœ ืœืคื™ ื”ื”ื•ืจืื•ืช ื”ืžืคื•ืจื˜ื•ืช ื‘ืžืจื›ื– ื”ืขื–ืจื” ื›ื“ื™ ืœื”ืขื‘ื™ืจ ืืช ื”ืงื‘ืฆื™ื ืœืงื•ืจืื™ื ืืœืงื˜ืจื•ื ื™ื™ื ื ืชืžื›ื™ื.