I have some experience with most compressors, and so far yuicompressor
is the only one what worked well for everything i've thrown at it
(anything i've tried else went haywire on prototype.js and completely
broke it for instance), plus since it's also used in the java version it
gives me some level of security that it will always work with the
shindig features javascripts.
As far as PHP based tools go ... their not really worth mentioning
really and do not have sufficient quality to be used here. Hence my
thought to call the yuicompressor from the command line (if configured
too).
I'll go ahead with this then, and add a config for its location, and if
set do the (cached) on-the-fly compressing of the javascript files
-- Chris
On Thu, 2008-03-13 at 09:42 -0700, Kevin Brown wrote:
>
>
> Ultimately we'll be doing on the fly compression as you've suggested
> in the
> Java case, so it wouldn't be unreasonable to do it for PHP as well. My
> only
> concern here is that, so far as I know, there aren't any decent php
> tools
> that do much more than remove comments and whitespace. If this is
> sufficient
> for you though, use it by all means. I think there's a jsmin port to
> php.