Re: js/css compression helpers for cakephp 2.0
You can use my plugin for Js and CSS compression, check out it on GitHub: https://github.com/glaucocustodio/easy-compressor-plugin -- View this message in context: http://cakephp.1045679.n5.nabble.com/js-css-compression-helpers-for-cakephp-2-0-tp5034728p5711391.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: js/css compression helpers for cakephp 2.0
There's a shell task for that I think. On Wednesday, November 30, 2011 10:30:28 PM UTC+1, euromark wrote: > > I only thing I am wondering about that plugin is, whether it supports > assert compression by using the default > $this->Html->css/script syntax > Or if one would have to completely rewrite all views/layouts here. (to > $this->AssetCompress->...) > From the look into the code and docs it seems this is necessary (no > beforeRender hook to catch them and automatically process them if the > helper is included etc). > > > On 30 Nov., 20:46, mikeottinger wrote: > > Thanks guys, I'll give Mark Story's plugin a try > > (https://github.com/markstory/asset_compress/tree/2.0). This supports > YUI > > Compression which I was particularly looking for. Thanks for the info. > -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
true but that being the case has other benefits too. and asset_compress has many options and you can customize it to your every whim *almost* On 30 November 2011 21:30, euromark wrote: > I only thing I am wondering about that plugin is, whether it supports > assert compression by using the default > $this->Html->css/script syntax > Or if one would have to completely rewrite all views/layouts here. (to > $this->AssetCompress->...) > From the look into the code and docs it seems this is necessary (no > beforeRender hook to catch them and automatically process them if the > helper is included etc). > > > On 30 Nov., 20:46, mikeottinger wrote: > > Thanks guys, I'll give Mark Story's plugin a try > > (https://github.com/markstory/asset_compress/tree/2.0). This supports > YUI > > Compression which I was particularly looking for. Thanks for the info. > > -- > 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 > cake-php+unsubscr...@googlegroups.com 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
I only thing I am wondering about that plugin is, whether it supports assert compression by using the default $this->Html->css/script syntax Or if one would have to completely rewrite all views/layouts here. (to $this->AssetCompress->...) >From the look into the code and docs it seems this is necessary (no beforeRender hook to catch them and automatically process them if the helper is included etc). On 30 Nov., 20:46, mikeottinger wrote: > Thanks guys, I'll give Mark Story's plugin a try > (https://github.com/markstory/asset_compress/tree/2.0). This supports YUI > Compression which I was particularly looking for. Thanks for the info. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
Thanks guys, I'll give Mark Story's plugin a try (https://github.com/markstory/asset_compress/tree/2.0). This supports YUI Compression which I was particularly looking for. Thanks for the info. -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
I was already wondering about the AssetHelper some time ago http://stackoverflow.com/questions/8233532/asset-helper-and-protected-view-scripts-in-cakephp-2-0/8249645#8249645 seems like McCurry's helper would need a massive rewrite in order to work again so mark story's would probably be the best option here mark On 30 Nov., 09:47, Andras Kende wrote: > https://github.com/markstory/asset_compress/tree/2.0 > > Andras Kende > > On Nov 30, 2011, at 12:52 AM, mikeottinger wrote: > > > > > > > > > Hi All, I've been looking at cakephp 2.0 and wondered if any of the > > existing plugins written previously for js/css compression worked with > > cakephp 2.0. Does anyone have any plugins or techniques in general they can > > share on this? > > > Thanks! > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
https://github.com/markstory/asset_compress/tree/2.0 Andras Kende On Nov 30, 2011, at 12:52 AM, mikeottinger wrote: > Hi All, I've been looking at cakephp 2.0 and wondered if any of the existing > plugins written previously for js/css compression worked with cakephp 2.0. > Does anyone have any plugins or techniques in general they can share on this? > > Thanks! > > -- > 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 > cake-php+unsubscr...@googlegroups.com 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: js/css compression helpers for cakephp 2.0
You could easily convert this to Cake 2: https://github.com/mcurry/asset On Nov 29, 10:52 pm, mikeottinger wrote: > Hi All, I've been looking at cakephp 2.0 and wondered if any of the > existing plugins written previously for js/css compression worked with > cakephp 2.0. Does anyone have any plugins or techniques in general they can > share on this? > > Thanks! -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php