JavaScript Spessore

JavaScript Spessore

Reg “raganwald” Braithwaite
Buy on Leanpub

Table of Contents

JavaScript Spessore

  • Prefaces
    • Taking a page out of LiSP
    • JavaScript Allongé
  • The Big Idea
    • Is JavaScript Functional or Object-Oriented?
    • JavaScript Algebras
    • Composeability
  • JavaScript’s Objects
    • Data Structures
    • Plain Old JavaScript Objects
    • Encapsulating State with Closures
    • Composition and Extension
    • This and That
    • What Context Applies When We Call a Function?
    • Extending Objects
  • Object Recipes
    • Records and Value Objects
    • Accessors
    • Hiding Object Properties
    • Proxies
  • Instances and Prototypes
    • Prototypes are Simple, it’s the Explanations that are Hard To Understand
    • Binding Functions to Contexts
    • Object Methods
    • Extending Objects with Delegation
  • Methods
    • What is a Method?
    • The Letter and the Spirit of the Law
    • Composite Methods
    • Method Objects
    • Predicate Dispatch
  • Metaobjects
    • Why Metaobjects?
    • Mixins, Forwarding, and Delegation
    • Later Binding
    • Conflict Resolution Policies
    • Delegation via Prototypes
    • Singleton Prototypes
    • Shared Prototypes
    • Metaobjects and “self”
  • Interlude: Greenspun’s Tenth Rule
  • Encapsulation and Composition
    • The Encapsulation Problem
    • Proxies
    • Encapsulation for Metaobjects
    • encapsulate(...)
    • Encapsulation and Self
    • Privacy
    • Closing Encapsulated Objects
    • Decoupling with Partial Proxies
    • Composing Metaobjects
    • Transforming and Decorating Metaobjects
    • Playing Well with Classes
  • Inheritance, Ontologies, and Semantic Types
    • Class Hierarchies
    • Getting the Semantics Right
    • Structural vs. Semantic Typing
    • Interlude: “is-a” and “was-a”
    • The Expression Problem
    • Multiple Dispatch
  • Metaobject Protocols
    • Genesis
    • The Class Class
    • Class Mixins
    • Well, Actually…
  • Source Code Examples
    • Object Recipes
    • Methods
    • Metaobjects
    • Greenspun’s Tenth Rule
    • Encapsulation and Composition
    • Inheritance
    • Utility Functions
  • Copyright Notice
  • About The Author
  • Notes
JavaScript Spessore/overview

JavaScript Spessore

course_overview

count_chapters
begin_reading
download
p_implied_book_part_name

JavaScript Spessore15 chapters

Begin ›
  1. Prefaces

  2. The Big Idea

  3. JavaScript’s Objects

  4. Object Recipes

  5. Instances and Prototypes

  6. Methods

  7. Metaobjects

  8. Interlude: Greenspun’s Tenth Rule

  9. Encapsulation and Composition

  10. Inheritance, Ontologies, and Semantic Types

  11. Metaobject Protocols

  12. Source Code Examples

  13. Copyright Notice

  14. About The Author

  15. Notes