I second this for inclusion, if it won't add too much weight. Classes and inheritance are really useful (even though a few functions and closures will get you very far).
On 9/1/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > I hope that jQuery.create() (?) will be smarter than Prototype's > > Class.create and would allow for true inheritance with access to parent > > class functions. I've seen very smart and elegant solution for extending > > Prototype Class.create functionality while preserving true inheritance and > > allowing mixins, with very short and clean code with no side effects - > > I've > > found it at http://twologic.com/projects/inheritance/ Javascript OO Ruby > > Style by http://twologic.com/ Twologic . I'm using it with ease and > > great > > effect. > > This is great. Something I'd like to see included in the jQuery code. With > jQuery.extend(), mixins are mostly there already, but the class creation with > inheritance without cluttering additional properties is really great. > > The posting on it is a good read, too: > http://twologic.com/archives/2006/06/17/javascript-oo-ruby-style/ > > -- Jörn > -- > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
