JavaScript Spessore
معرفی کتاب «JavaScript Spessore» نوشتهٔ Reginald Braithwaite، منتشرشده توسط نشر Leanpub در سال 2014. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «JavaScript Spessore» در دستهٔ بدون دستهبندی قرار دارد.
javascript Spessore is a book about «Thinking in Objects.» It begins at the beginning, with the simplest concepts, and build upon them step by step to a rich and expressive metaobject protocol programming style. Table of Contents 4 Prefaces 6 Taking a page out of LiSP 7 JavaScript Allongé and allong.es 8 The Big Idea 9 Is JavaScript Functional or Object-Oriented? 11 JavaScript Algebras 17 Composeabilitity 22 JavaScript's Objects 23 Data Structures 25 Plain Old JavaScript Objects 28 Encapsulating State with Closures 31 Composition and Extension 37 This and That 42 What Context Applies When We Call a Function? 46 Extending Objects 52 Object Recipes 55 Structs and Value Objects 57 Accessors 64 Hiding Object Properties 69 Proxies 76 Instances and Prototypes 78 Prototypes are Simple, it's the Explanations that are Hard To Understand 80 Binding Functions to Contexts 89 Object Methods 93 Extending Objects with Delegation 96 Methods 102 What is a Method? 104 The Letter and the Spirit of the Law 106 Composite Methods 111 Method Objects 118 Predicate Dispatch 125 Metaobjects 130 Why Metaobjects? 132 Mixins, Forwarding, and Delegation 133 Later Binding 143 Conflict Resolution Policies 149 Delegation via Prototypes 163 Singleton Prototypes 169 Shared Prototypes 175 Encapsulation and Composition 185 The Encapsulation Problem 187 Proxies 190 Encapsulation for Metaobjects 193 encapsulate(...) 204 Self 209 Privacy 215 Closing Encapsulated Objects 224 Decoupling with Partial Proxies 231 Composing Metaobjects 238 Transforming and Decorating Metaobjects 254 Playing Well with Classes 262 Inheritance, Ontologies, and Semantic Types 267 Class Hierarchies 268 Getting the Semantics Right 271 Structural vs. Semantic Typing 273 Interlude: ``is-a'' and ``was-a'' 280 The Expression Problem 282 Multiple Dispatch 287 Metaobject Protocols 295 Genesis 297 The Class Class 307 Class Mixins 311 Well, Actually... 316 Appendix: Source Code 324 Encapsulation and Composition 325 Methods 334 Utility Functions 338
دانلود کتاب JavaScript Spessore