|
作者:Ross Harmes, Dustin Diaz
出版日期:July 4, 2008
出版社:Apress
页数:269
ISBN:ISBN-10: 159059908X ISBN-13: 978-1590599082
文件格式:PDF
Product Description
As a web developer, you’ll already know that JavaScript is a powerfullanguage, allowing you to add an impressive array of dynamicfunctionality to otherwise static web sites. But there is more powerwaiting to be unlocked—JavaScript is capable of full object–orientedcapabilities, and by applying OOP principles, best practices, anddesign patterns to your code, you can make it more powerful, moreefficient, and easier to work with alone or as part of a team.With Pro JavaScript Design Patterns, you’ll start with thebasics of object–oriented programming in JavaScript applicable todesign patterns, including making JavaScript more expressive,inheritance, encapsulation, information hiding, and more. With thatcovered, you can kick–start your JavaScript development in the secondpart of the book, where you’ll find detail on how to implement and takeadvantage of several design patterns in JavaScript, includingcomposites, decorators, façades, adapters, and many more.
Each chapter is packed with real–world examples of how the designpatterns are best used and expert advice on writing better code, aswell as what to watch out for. Along the way you’ll discover how tocreate 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 you’ll learn- How to apply object–oriented programming techniques in JavaScript
- How to take advantage of inheritance, interfaces, and encapsulationand information hiding to kick–start your JavaScript development
- How to implement several design patterns in your JavaScriptprojects, including factory, façade, bridge, composite, adapter,decorator, flyweight, proxy, command, observer, and chain ofresponsibility
- 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 SeriesThe 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 thesetough competitive times. The Apress Pro series expands your skills andexpertise in exactly the areas you need. Master the content of a Probook, and you will always be able to get the job done in a professionaldevelopment project. Written by experts in their field, Pro seriesbooks from Apress give you the hard–won solutions to problems you willface in your professional programming career.
About the Author
Ross Harmes works as a frontend engineer in Sunnyvale, California,where he creates modular and reusable JavaScript components for Yahoo!Small Business.
Dustin Diaz is a user interface engineer for Google in MountainView, California. He enjoys writing JavaScript, CSS, and HTML, as wellas making interactive and usable interfaces to inspire passionate users. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|