ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Pro JavaScript Design Patterns

دانلود کتاب الگوهای طراحی حرفه ای جاوا اسکریپت

Pro JavaScript Design Patterns

مشخصات کتاب

Pro JavaScript Design Patterns

دسته بندی: برنامه نویسی: زبان های برنامه نویسی
ویرایش: 1 
نویسندگان:   
سری:  
ISBN (شابک) : 9781590599082, 9781430204961 
ناشر: Apress 
سال نشر: 2008 
تعداد صفحات: 281 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 2 مگابایت 

قیمت کتاب (تومان) : 42,000



کلمات کلیدی مربوط به کتاب الگوهای طراحی حرفه ای جاوا اسکریپت: تکنیک های برنامه نویسی



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 9


در صورت تبدیل فایل کتاب Pro JavaScript Design Patterns به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب الگوهای طراحی حرفه ای جاوا اسکریپت نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب الگوهای طراحی حرفه ای جاوا اسکریپت



به‌عنوان یک توسعه‌دهنده وب، از قبل می‌دانید که جاوا اسکریپت زبان قدرتمندی است که به شما امکان می‌دهد آرایه قابل توجهی از عملکردهای پویا را به وب‌سایت‌های غیر ثابت اضافه کنید. اما قدرت بیشتری در انتظار باز شدن است—جاوا اسکریپت قادر به قابلیت های شی گرا کامل است و با اعمال اصول شی گرا، بهترین شیوه ها و الگوهای طراحی در کد خود، می توانید آن را قدرتمندتر، کارآمدتر و آسان تر کنید. برای کار به تنهایی یا به عنوان بخشی از یک تیم.

با Pro JavaScript Design Patterns، شما با اصول برنامه نویسی شی گرا در جاوا اسکریپت که برای الگوهای طراحی قابل اجرا است، شروع می کنید. از جمله بیان بیشتر جاوا اسکریپت، وراثت، کپسوله سازی، پنهان کردن اطلاعات و موارد دیگر. با این پوشش، می توانید توسعه جاوا اسکریپت خود را در قسمت دوم کتاب شروع کنید، جایی که جزئیات نحوه پیاده سازی و استفاده از چندین الگوی طراحی در جاوا اسکریپت، از جمله کامپوزیت ها، دکوراتورها، نماها، آداپتورها، و بسیاری دیگر.

هر فصل مملو از نمونه‌های واقعی است که نشان می‌دهد چگونه الگوهای طراحی به بهترین شکل استفاده می‌شوند و توصیه‌های متخصص برای نوشتن کد بهتر و همچنین مواردی که باید مراقب آن باشید. در طول مسیر، نحوه ایجاد کتابخانه ها و API های خود را برای کدنویسی حتی کارآمدتر خواهید یافت.

  • بر اصول برنامه نویسی شی گرا در جاوا اسکریپت تسلط داشته باشید، همانطور که در الگوهای طراحی اعمال می شود
    • تسلط داشته باشید. li>
    • از الگوهای طراحی برای شروع خود استفاده کنید – توسعه جاوا اسکریپت خود را شروع کنید
    • از چندین نمونه واقعی کار کنید

توضیحاتی درمورد کتاب به خارجی

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


فهرست مطالب

Contents......Page 6
About the Authors......Page 13
About the Technical Reviewer......Page 14
Acknowledgments......Page 15
Introduction......Page 16
PART 1: Object-Oriented JavaScript......Page 22
The Flexibility of JavaScript......Page 23
Functions As First-Class Objects......Page 26
The Mutability of Objects......Page 28
Design Patterns in JavaScript......Page 29
Summary......Page 30
What Is an Interface?......Page 31
How Other Object-Oriented Languages Handle Interfaces......Page 32
Emulating an Interface in JavaScript......Page 34
The Interface Implementation for This Book......Page 38
The Interface Class......Page 39
Summary......Page 43
The Information Hiding Principle......Page 44
Basic Patterns......Page 45
More Advanced Patterns......Page 54
Drawbacks to Using Encapsulation......Page 58
Summary......Page 59
Why Do You Need Inheritance?......Page 60
Classical Inheritance......Page 61
Prototypal Inheritance......Page 64
Inheritance and Encapsulation......Page 68
Mixin Classes......Page 69
Example: Edit-in-Place......Page 71
When Should Inheritance Be Used?......Page 81
Summary......Page 82
The Basic Structure of the Singleton......Page 83
Namespacing......Page 84
A Singleton As a Wrapper for Page-Specific Code......Page 86
A Singleton with Private Members......Page 88
Lazy Instantiation......Page 93
Branching......Page 96
Example: Creating XHR Objects with Branching......Page 97
Benefits of the Singleton Pattern......Page 99
Summary......Page 100
CHAPTER 6: Chaining......Page 101
The Structure of a Chain......Page 102
Building a Chainable JavaScript Library......Page 104
Using Callbacks to Retrieve Data from Chained Methods......Page 107
Summary......Page 108
PART 2: Design Patterns......Page 109
The Simple Factory......Page 110
The Factory Pattern......Page 113
Example: XHR Factory......Page 116
Example: RSS Reader......Page 121
Benefits of the Factory Pattern......Page 124
Summary......Page 125
Example: Event Listeners......Page 126
Other Examples of Bridges......Page 127
Example: Building an XHR Connection Queue......Page 128
When Should the Bridge Pattern Be Used?......Page 139
Summary......Page 140
CHAPTER 9: The Composite Pattern......Page 141
Using the Composite Pattern......Page 142
Example: Form Validation......Page 143
Example: Image Gallery......Page 152
Drawbacks of the Composite Pattern......Page 155
Summary......Page 156
Some Facade Functions You Probably Already Know About......Page 157
JavaScript Libraries As Facades......Page 158
Facades As Convenient Methods......Page 159
Example: Setting Styles on HTML Elements......Page 160
Example: Creating an Event Utility......Page 162
General Steps for Implementing the Facade Pattern......Page 163
Summary......Page 164
Characteristics of an Adapter......Page 165
Example: Adapting One Library to Another......Page 166
Example: Adapting an Email API......Page 168
Summary......Page 174
The Structure of the Decorator......Page 175
In What Ways Can a Decorator Modify Its Component?......Page 180
The Role of the Factory......Page 185
Function Decorators......Page 188
Example: Method Profiler......Page 189
Drawbacks of the Decorator Pattern......Page 192
Summary......Page 193
Example: Car Registrations......Page 194
Example: Web Calendar......Page 198
Example: Tooltip Objects......Page 201
Storing Instances for Later Reuse......Page 205
When Should the Flyweight Pattern Be Used?......Page 207
Benefits of the Flyweight Pattern......Page 208
Summary......Page 209
The Structure of the Proxy......Page 211
Example: Page Statistics......Page 215
General Pattern for Wrapping a Web Service......Page 219
Example: Directory Lookup......Page 220
General Pattern for Creating a Virtual Proxy......Page 224
Drawbacks of the Proxy Pattern......Page 227
Summary......Page 228
Example: Newspaper Delivery......Page 229
Building an Observer API......Page 232
Observers in Real Life......Page 234
Example: Animation......Page 235
Event Listeners Are Also Observers......Page 236
Summary......Page 237
The Structure of the Command......Page 238
Types of Command Objects......Page 241
Example: Menu Items......Page 243
Example: Undo and Logging......Page 248
When to Use the Command Pattern......Page 255
Drawbacks of the Command Pattern......Page 256
Summary......Page 257
The Structure of the Chain of Responsibility......Page 258
Passing on Requests......Page 264
Implementing a Chain of Responsibility in an Existing Hierarchy......Page 267
When Should the Chain of Responsibility Pattern Be Used?......Page 268
Example: Image Gallery Revisited......Page 269
Benefits of the Chain of Responsibility Pattern......Page 274
Summary......Page 275
C......Page 276
D......Page 277
F......Page 278
L......Page 279
P......Page 280
S......Page 281
X......Page 282




نظرات کاربران