From: Nathan
Downloading the ExtJS framework adds about 1 meg at startup (or any time
browser cache is cleared). I'm not sure what to say about that, except
that I finally chose to write some of my own client code for my own
applications rather than have that much overhead.
When it comes to extJs the .js file used right now is the debug version
called "ext-all-debug.js" (967kb). We use this one because we sometimes need
to debug our code ;o) We can simply remove the debug and the download will
be decreased to 527kb... This is still all to must so when we know all the
classes needed we can build a special 5250 version - and THAT .js will be
very small. I don?t know the size yet but it will be small!
Regards,
Bent Ronne
System & Metode Technologies
Håndværkersvinget 8, DK-2970 Hørsholm
Phone: +45 70 20 36 10
Fax: +45 70 20 30 11
E-mail: bro@xxxxxxxxxxxxxxxxx
Web: www.system-method.com and www.Icebreak.org
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Nathan Andelin
Sent: 13. januar 2009 16:28
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Niels IceCap 5250
From: Niels Liisberg
I just glued a small ExtJs application together that uses AJAX calls
to get the JSON object which in turn is instantiated in the client and
rendered.
I don't know if anyone else noticed, but the JSON messages averaged about
1,200 - 2,400 bytes per screen, which is nearly as streamlined as the 5250
data stream itself.
If you were to set up compression on the Apache server then the transmission
sizes would drop even further. That, in my book is a big leap beyond HATS
and Webfacing, which add a lot of overhead to the wire.
There seems to be quite a bit of network latency between the state of Utah
(where I'm located), and your server in Denmark, so streamlining the
messages really helped.
Downloading the ExtJS framework adds about 1 meg at startup (or any time
browser cache is cleared). I'm not sure what to say about that, except that
I finally chose to write some of my own client code for my own applications
rather than have that much overhead.
Very good work.
Nathan.
As an Amazon Associate we earn from qualifying purchases.