Hi,

Yes we did some compression of the Zimbra AJAX 
lib in the SP1 of Jahia 5.0 as it was quite 
memory consuming. This were not creating any 
problems under Firefox as FF correctly caches 
such file on first load but IE, as usual, as some 
problems with such Javascript libs. So IE tends 
to reload each time you open a pop-up the full 
AJAX lib. moreover IE tends to not correctly 
garbage memory allocated to Javascript (look into 
google for "IE AJAX Memory leak" and you should find some information) :-(

Prototype is currently used in edit mode for the 
chat, the process queue, etc... briefly speaking 
the edit mode top bar. If you do not use the 
default edit mode topbar of Jahia 5.0, you can 
remove calls to Prototype. Zimbra is only called 
in edit mode when you activate time based 
publishing icons. For Prototype we already remove 
certain features that we were not using... 
Perhaps we can still gain some Ko by compressing 
Prototype (thx for the links) but I am not sure 
this is something significative in term of performance....

In all the case, we plan to move to GWT in the 
near future (at least for the edit mode) as GWT 
only loads the needed javascripts on a given page 
and not the full lib... So if you only need one 
Javascript component for such or such web page, 
this is a bit overkill to load each time the full 
JS library (even compressed). But excepted with 
GWT, this is something quite complex to do with 
other AJAX libs for the moment.... In the same 
time we will work on a better edit mode with more 
Web 2.0 oriented features such as drag'n drop of containers, etc...

Cheers,
Stéphane

At 12:58 16.07.2007, you wrote:

>Hi folks,
>
>I saw you guys were finally dealing with your javascript files
>required for the Jahia Back Office.I saw you recently shipped a packed
>version of the Zimbra bloatware for instance. Probably a good start.
>
>But what might interrest you is that now you could also improve the
>user experience by shipping a packed version of Prototype and
>Scriptaculous together. I should say I didn't really see were you use
>Scriptaculous in Jahia, so you could also simply ship a compressed
>version of Prototype then.
>
>Have a look here:
>http://protoculous.wikeo.be/
>and here:
>http://groups.google.com/group/prototype-core/files
>
>(Prototype isn't so trivial to compress).
>
>Best regards.
>
>Raphaël Valyi
>_______________________________________________
>dev_list mailing list
>[email protected]
>http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.476 / Virus Database: 269.10.6/902 
>- Release Date: 15.07.2007 14:21


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.8/904 - Release Date: 16.07.2007 17:42


_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Reply via email to