Class Base Suggestions [2.0.7 ~ 2.1 ~ AI 2008]

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Class Base Suggestions [2.0.7 ~ 2.1 ~ AI 2008]

#1 Post by kLabMouse »

As all Dev's know, we are still using old Perl Pseudo Classing, that is m..... Classic.
To make things better. I suggest using Class::InsideOut for Future OpenKore development.
DESCRIPTION ^

This is a simple, safe and streamlined toolkit for building inside-out objects. Unlike most other inside-out object building modules already on CPAN, this module aims for minimalism and robustness:

* Does not require derived classes to subclass it
* Uses no source filters, attributes or CHECK blocks
* Supports any underlying object type including black-box inheritance
* Does not leak memory on object destruction
* Overloading-safe
* Thread-safe for Perl 5.8.5 or better
* mod_perl compatible
* Makes no assumption about inheritance or initializer needs

It provides the minimal support necessary for creating safe inside-out objects and generating flexible accessors.
Please Suggest your ideas, and implementations.
Topic is open for discussion.