On the Design of the ECMAScript Reflection API

Free registration required

Executive Summary

The authors describe in detail the new reflection API of the upcoming Javascript standard. The most prominent feature of this new API is its support for creating proxies: virtual objects that behave as regular objects, but whose entire "Meta-object protocol" is implemented in Javascript itself. Next to a detailed description of the API, they describe a more general set of design principles that helped steer the API's design, and which should be applicable to similar APIs for other languages.

  • Format: PDF
  • Size: 332.91 KB