Two things:
a. In current widget code there are many times when you use privates (such
as this.w) instead of the corresponding get method (this.getWidth()). I know
we are looking to save bytes everywhere but if it is a reoccurring line then
write var w = this.getWidth() and other wise you should just use the method
name. That's why they are there. Is there a reason for this behavior other
then bytes saved?
2. While writing my widget spec implementation I had an idea that all visual
components should be passed as a first parameter a parent(and then in the
constructor a call this.parent.addChild(this.dynlayer). I was wondering what
you guys think of this convention? It seems very comfortable to me but I
want to know what you guys think?
Otherwise I'd like to let you know that I finished with the base classes
(except I still need to decide exactly in what method I would like to handle
events specifically). It has some cool code so that in an inherited class
after overriding a method you can call this.inherited("create()") for
instance and it will work.
8an_______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[email protected]/
