I've found overtime that having explicit build files makes life much easier 
in the long run.  AssetCompress does have support for anonymous builds as 
well

https://github.com/markstory/asset_compress/wiki/Helper-usage

-Mark

On Saturday, 14 July 2012 21:30:59 UTC-4, advantage+ wrote:
>
> Hello Mark, 
>
>  
>
> I did see the one you wrote but having to define the specific sets of 
> different css / js files did not seem like the option I was looking for in 
> a separate ini file. I want to be able to say ok let me try using 
> colorbox.js or lightbox.js and add that directly in the view rather than 
> define different sets of js / css in a remote file.
>
>  
>
> *From:* [email protected] [mailto:[email protected]] *On 
> Behalf Of *mark_story
> *Sent:* Saturday, July 14, 2012 10:58 PM
> *To:* [email protected]
> *Subject:* Re: CSS / JS Compression
>
>  
>
> I wrote one, its on github.
>
>  
>
> http://github.com/markstory/asset_compress.
>
>  
>
> It affords the ability to concatenate and minify files. It also allows you 
> to integrate preprocessors like less, sass and coffee-script into your 
> projects.
>
>  
>
> -Mark
>
> On Saturday, 14 July 2012 17:27:34 UTC-4, advantage+ wrote:
>
> I know in older versions of cake there were many compression / combine 
> plugins that would take the defined css /js for the view and compress / 
> combine / minimize so you ended up with 1 js and 1 css file. Is there 
> anything like that for 2.x?
>
>  
>
> I liked the way I defined what I needed in each view specifically….
>
>  
>
> I had used Compressor plugin. And in the view simply dropped in
>
>  
>
> <?php $this->Compressor->add_libs( 'js', array('jquery.form', 
> 'jquery.blockUI', 'jquery-ui-1.8.6.custom.min') );?>
>
>  
>
> Anyone fine anything similar?
>
>  
>
> Thanks all.
>
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group 
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to