[Zope] Javascript obfuscator and Zope

Jonathan dev101 at magma.ca
Wed Jan 4 14:46:23 EST 2006


Whitespace and comment eliminators are good for minimizing file transfer 
sizes, but as a method to 'obfuscate' code they are not really effective as 
anyone can use a tool like http://www.polystyle.com to get easily readable 
code.

Jonathan

----- Original Message ----- 
From: "David H" <bluepaul at earthlink.net>
To: "Jean-Marc Orliaguet" <jmo at chalmers.se>
Cc: "zope user list" <zope at zope.org>; "Peter Bengtsson" <peter at fry-it.com>
Sent: Wednesday, January 04, 2006 2:28 PM
Subject: Re: [Zope] Javascript obfuscator and Zope


> Jean-Marc Orliaguet wrote:
>
>> Peter Bengtsson wrote:
>>
>>> It's not a Zope product but at least it's python.
>>> http://www.issuetrackerproduct.com/Download#slimmer
>>>
>>> It's basically a javascript whitespace optimiser
>>> Compare
>>> http://real.issuetrackerproduct.com/tw-sack.js
>>> with the original:
>>> http://www.issuetrackerproduct.com/tw-sack.js
>>>
>>> More work can be done of course but I wanted to keep it relatively CPU 
>>> fast.
>>> It works on CSS and HTML too:
>>> http://www.peterbe.com/stylesheet.css
>>>
>>>
>>
>> there is "minjs" written in C too: 
>> http://www.crockford.com/javascript/jsmin.html
>>
>> this is a one-way process though, and this should also be compared with 
>> the effect of compressing files while serving them.
>>
>> /JM
>
> Thanks Peter and Jean-Marc!
> I'll take a look at these.
> David
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list