id8

id8 is a small library designed to help you write object-oriented code that is easy to maintain and scale. id8 contains a Class constructor, as well as full-featured Observer, Callback and Hash classes.

id8.js

id8 can be pronounced in one of two ways:

ideate |ˈīdēˌāt| verb [ with obj. ] (often as adj. ideated) form an idea of; imagine or conceive: the arc whose ideated center is a nodal point in the composition. • [ no obj. ] form ideas; think. ORIGIN late 17th cent.: from medieval Latin ideat- ‘formed as an idea,’ from the verb ideare, from Latin idea.

This is the intended pronunciation, based on the functionality offered by id8's API.

idiot |ˈidēət| noun informal a stupid person. • Medicine, archaic a mentally handicapped person. ORIGIN Middle English (denoting a person of low intelligence): via Old French from Latin idiota ‘ignorant person,’ from Greek idiōtēs ‘private person, layman, ignorant person,’ from idios ‘own, private.’

Use this pronunciation if you're thinking, "why the hell is this idiot coming up with libraries whose names all contain the number 8‽".

id8.js only has one dependency m8.js.

NOTE: If you are using id8 within a commonjs module, you don't need to require m8 before requiring id8 as this is done internally and a reference to m8 is available as: id8.m8.

 
   var id8 = require( 'id8' ),
       m8  = id8.m8; // <= reference to m8 
 
// if running in a sandboxed environment remember to: 
   m8.x( Object, Array, Boolean, Function, String ); // and/ or any other Types that require extending. 
 

See m8: Extending into the future for more information on working with sandboxed modules.

While id8 has been tested, the testing framework I've written and used is very much a work in progress.

Also I'm currently between virtual machine software – and operating system licenses – so I have only tested on mac osx lion and snow leopard: nodejs – >= v0.613 – as well as current – and beta/ nightly – versions of Chrome, Safari/ Webkit and FireFox.

id8.js4.8kbdeflate
id8.min.js3.7kbuglified + deflate

(The MIT License)

Copyright © 2012 christos "constantology" constandinou http://muigui.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.