Re: implementing a custom cache for views

2011-05-18 Thread Lorenzo Bettini

Thanks Amit!
I'll take a look at your post

cheers
Lorenzo

On 05/18/2011 11:41 AM, Amit Badkas wrote:

Hi,

I wrote
http://www.sanisoft.com/blog/2010/06/21/cakephp-cache-views-by-domain-a-cache-helper/
a while back, may help you.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Wed, May 18, 2011 at 2:56 PM, Lorenzo Bettini
mailto:lorenzo.bett...@gmail.com>> wrote:

Hi

I'm still struggling trying to make localization work together with
view cache...

    do you think implementing a custom cache for views might be the
solution?  For instance, by using a different cache file prefixed
with the current language?

In that case, should I provide a new cache in the views/helpers
location?

any suggestion/example of how to provide a custom cache view helper?

many thanks in advance
Lorenzo




--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com


--
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: implementing a custom cache for views

2011-05-18 Thread Amit Badkas
Hi,

I wrote
http://www.sanisoft.com/blog/2010/06/21/cakephp-cache-views-by-domain-a-cache-helper/a
while back, may help you.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Wed, May 18, 2011 at 2:56 PM, Lorenzo Bettini
wrote:

> Hi
>
> I'm still struggling trying to make localization work together with view
> cache...
>
> do you think implementing a custom cache for views might be the solution?
>  For instance, by using a different cache file prefixed with the current
> language?
>
> In that case, should I provide a new cache in the views/helpers location?
>
> any suggestion/example of how to provide a custom cache view helper?
>
> many thanks in advance
>Lorenzo
>
> --
> Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
> HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
> BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
>
>
> --
> 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


implementing a custom cache for views

2011-05-18 Thread Lorenzo Bettini

Hi

I'm still struggling trying to make localization work together with view 
cache...


do you think implementing a custom cache for views might be the 
solution?  For instance, by using a different cache file prefixed with 
the current language?


In that case, should I provide a new cache in the views/helpers location?

any suggestion/example of how to provide a custom cache view helper?

many thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com


--
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