Updated $class Library Released
I’ve finally released an updated version of the $class library. Includes many optimizations and refinements to make it even easier to develop complex object-oriented javascript. My next step will be to work on commenting the code and creating better documentation and examples.
January 8th, 2007 at 2:29 pm
Thanks for sharing the library with the rest of us. I’ve adopted it for one of my projects and quite happy with it so far. I’m curious, are you planning to continue the development and add features like, say, private methods and variables?
Thanks.
January 8th, 2007 at 5:51 pm
I am continuing to develop it, but private methods/variables are not in the plan. The techniques used for creating private members generate quite a bit of overhead (all methods are closures and all methods must be created/assigned to each instance of the object within the constructor, rather than just assigned once to the prototype). I prefer simply using naming convention to indicate members are private (I begin private member names with an underscore).
Here’s some features that are in development or testing: