Just wanted to tell you about my widget writing. First of all although some
of you who hoped this would bring new widget blood to the dynapi some coder
will have to make this at least a little more java like because I decided to
go all the way. Already I have written two widgets(this in about 1 hour)
TButton and TCheckBox. TLabel is just very simple I have to decide how to
name the font settings. Each widget not compressed (I'm also in the middle
of writing a compressor it already works but doesn't have name replacing or
real GUI) weighs in at about 1.2 and with compressing you save a whopping
100 bytes! The events in these widgets will are wrapped and will also be
Delphi style meaning first of all: all will be simple events and second of
all the parameters will not be type and e and trg but just a plain and easy
sender for NotifyEvents and other basic parameters. Meaning making a button
to alert (taken from my test page) is:
<snip>
var btnTest = new TButton(DynAPI.document,"testing");
btnTest.onclick = function(){alert('clicked button');};
</snip>
I know you guys hate this but basically what this means for ppl who DON'T
want to get their hands dirty they'll include one merged DynAPI file of
hopefully around 20k and then just call include their widgets and in a few
simple lines create a form or DHTML app. These people won't want to get in
to the core. The users of this pack won't only be web designers who don't
really no JS but can also be active core developers who see the need for
separation between core technology and application design.
Flame Away,
8an_______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[email protected]/
