Your asking for comments :)

I think your missing the point (and power) of the DOM. Alot of code you
have now used from DynAPI is not needed.  The only thing missing in the
DOM (as I have found so far) is the option of adding your own custom
eventlisteners and invoking them.  This is something that can be easily
bypassed actually and with less code then the DynAPI's one (actually I used
the idea of Ethan's simple-events).

You have used alot of convenience functions, but again I think your missing
the
DOM point: DOM provides these functions and using those methods/properties
of the
elements them selves will be faster and working on ALL DOM browsers
(something
that might fail using your own code).

The only problem I see with DOM standard code, is the lazy ness of
developers to not
look at it, and learn the methods/properties that are available, but rather
use simple
convenience methods (that might fail in some browsers, and are in any case
slower)

One example of developer-lazyness is the  findLayers() method, look at the
code..
your copying from one array to another!! the DOM is already keeping track of
your layers !

I admit, DOM has flaws, big ones..but there are easier and shorter ways of
by-passing them
and in most cases you won't even notice those design-flaws..


...guess this is another old-fashioned Pascal-rant...but damn it was about
time :)


Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com


> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens onez.com /
> Gabriel Suchowolski / powerzone
> Verzonden: woensdag 27 juni 2001 16:06
> Aan: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Onderwerp: [Dynapi-Help] DynAPI's Clon for DOM Browsers codenamed
> geneticLIB
>
>
> Hi all,
>
> After make loadlayer widged for DynAPI I decide to make my
> own API (because
> DynAPI size is hugh and DOMlib is not the exactly thing I
> like for my own
> use) but I have the idea of use only new DOM browsers and let
> die NS4 and so
> [._-]. So I start by cloning Domlib and Dynapi and joining
> them like Dr.
> Frankestain making a human from parts xD
>
> Finally the first BETA is here and the result is a 12K js lib
> (I will try
> less on final release) that handle mousevent (not finished yet) and
> listeners as DynAPI do (take a look to the examples on the
> ZIP attached to
> this email) and also inline layers are created as DynLayers
> on the 'onload'
> secuence. I tested it with some DynAPI widgeds and for the
> moment it only
> willl work with the most simple of them.
>
> Just enjoy "geneticAPI" (not final name) and test it...
> comments and helps
> will be thaks you.
>
> Gabriel Suchowolski
> www.onez.com - www.microbians.com
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to