It is very much quicker!
When I originally got the idea for the thin array it was for an
application that had up to 5 selects related.
Rather than load them dynamically, as the user chooses, I preloaded the
entire set of data with the initial page load,
The time to download the thin array and populate the supporting
_javascript_ array was a small percentage of the time (unnoticeable) of
the page load.
Then, when a user made a selection, it was a simple matter to
repopulate the next related select box (I used dropdowns,, btw, just to
save screen real estate.
I didn't do any timing, but consider this:
1) the thin array is much skinnier than the WDDX packet (13% overhead
vs 200+% overhead)
2) the thin array can can populate the necessary js arrays with a
single split command -- WDDX creates an array, then creates and
populates each array element with a separate js statement.
To me it was the difference between the approach being usable or not --
wddx was not!
Try it, the thin array is just a concept that can be used anywhere you
are exchanging data. I just designed it in a way that I could a single
js split to create and populate the js arrays,
HTH
Dick
On Apr 6, 2004, at 7:46 AM, Thomas Chiverton wrote:
> On Thursday 01 Apr 2004 17:33 pm, Dick Applebaum wrote:
> > This Thin Array contains very little non-data overhead and can be
> sent
> > to the client, quickly with minimal bandwidth usage (and very few
> > processing cycles to serialize/de-serialize at either end) .
>
> Do you have any idea how much quicker than WDDX it is ?
> ATM I have a data-driven tree control, that makes a call via
> pengoWorks hidden
> iframe method to ask the server for date to populate branches when
> they are
> opened. However, it can be quite slow.
>
> --
> Tom Chiverton
> Advanced ColdFusion Programmer
>
> Tel: +44(0)1749 834997
> email: [EMAIL PROTECTED]
> BlueFinger Limited
> Underwood Business Park
> Wookey Hole Road, WELLS. BA5 1AF
> Tel: +44 (0)1749 834900
> Fax: +44 (0)1749 834901
> web: www.bluefinger.com
> Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
> Quay, BRISTOL. BS1 6EG.
> *** This E-mail contains confidential information for the addressee
> only. If you are not the intended recipient, please notify us
> immediately. You should not use, disclose, distribute or copy this
> communication if received in error. No binding contract will result
> from
> this e-mail until such time as a written document is signed on behalf
> of
> the company. BlueFinger Limited cannot accept responsibility for the
> completeness or accuracy of this message as it has been transmitted
> over
> public networks.***
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

