bruth / synapse

Hooks to support data binding between virtually any object.
http://bruth.github.com/synapse/docs/
BSD 2-Clause "Simplified" License
150 stars 6 forks source link

Define formal the supported types via Interface classes #9

Closed bruth closed 12 years ago

bruth commented 13 years ago

Currently, the term interface in Synapse lingo refers to, more specifically, the set/getHandler for DOM elements. Interfaces are now intended to refer to classes which all contain a common API for interfacing with one another including:

The hierarchy would look something like this:

Each of these classes would have the above defined APIs for trivially interfacing with one another and it provides a mechanism for supporting additional types of objects from other libraries (e.g. Dojo, Spine, etc.)

bruth commented 12 years ago

Fixed by design. Hooks supersede the need to create formal classes.