DCL

An elegant OOP with mixins + AOP for JavaScript.

Mixins

Version 1.x

For programmer’s convenience dcl provides following general mixins:

  • Destroyable - mixin, which declares a chainable method destroy()
  • Cleanup - mixin, which builds on Destroyable and adds an API to manage a cleanup on destruction