True, you could use a cache setup. However, creating LZX files on the fly usually indicates a problem in the design of the application and a lack of proper isolation of the client-side and server-side responsibilities.

Initially, when I first started using OpenLaszlo, I was trying to do the same thing because you're used to generating all the client-side instructions as HTML and Javascript in traditional web applications. In RIA, you really should build a standalone client that interoperates with the back-end using data sets. LZX is OpenLaszlo's language to do so. You could compare generating LZX dynamically to generating Java code dynamically, which would then be compiled on-the- fly by javac, and in turn generate the HTML for traditional web applications. LZX is a programming language, it just happens to be XML and declarative.

Take care,

Geert

On 26 Apr 2006, at 22:58, Tyler Pitchford wrote:

I concur, I wouldn't try generating the LZX on demand. However, if you
must, use a Cache setup and a high timeout like 5 / 10 minutes for the
requests. That way the performance hit is only once every 5 or 10
minutes (note that your memory requirments go up --the classic
Computer Science Memory vs. Processor gig).

--
Geert Bevin             Uwyn bvba               GTalk: [EMAIL PROTECTED]
"Use what you need"     Avenue de Scailmont 34  Skype: gbevin
http://www.uwyn.com     7170 Manage, Belgium      AIM: geertbevin
gbevin at uwyn dot com  Tel: +32 64 84 80 03   Mobile: +32 477 302 599

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to