Re: [Catalyst] Page fragment caching

2010-01-21 Thread Tobias Kremer
On Wed, Jan 20, 2010 at 9:02 PM, Tomas Doran bobtf...@bobtfish.net wrote: As noted by already, serving ESI is a good way to do this. I'd recommend Catalyst::View::Component::SubInclude for this. It would be perfectly possible (and in fact quite easy) to write a backend for that which cached

Re: [Catalyst] Page fragment caching

2010-01-21 Thread Octavian Râsnita
From: Tobias Kremer tobias.kre...@gmail.com Meanwhile, I played with Template::Plugin::Cache which unfortunately has problems with UTF-8 content and Memcached because the UTF-8 flag is not properly restored on get(). Should be easy to fix with something like: Encode::_utf8_on( $result ); The

[Catalyst] Catalyst::Controller::REST vs. Catalyst::Controller::DBIC::API

2010-01-21 Thread Bill Moseley
I'm looking at adding an API interface to an application and looking at the modules listed in the subject. Anyone have experience with both? Any recommendations or experiences you can share? I have another application that I added an API to using XML RPC. It works by adding attributes to

[Catalyst] Fat Model Methodology?

2010-01-21 Thread Jeff Albert
Hi List! I'm a new-ish Catalyst developer, converted from the ranks of the HTML::Mason faithful, and the recent nature of my dedication to MVC design, and to Catalyst's fat-model pattern specifically, has left me with some questions that I hope you folks can help me with. I'm trying to

Re: [Catalyst] Fat Model Methodology?

2010-01-21 Thread Hans Dieter Pearcey
Excerpts from Jeff Albert's message of Thu Jan 21 12:37:41 -0500 2010: should I create a separate 'application object' model which brokers requests from the Controllers and uses the DBIC model to implement them if they fit the application's logic? I'm a big fan of this; when your application

Re: [Catalyst] Fat Model Methodology?

2010-01-21 Thread Rodrigo
On Thu, Jan 21, 2010 at 6:37 PM, Jeff Albert jralb...@uvic.ca wrote: or should I create a separate ‘application object’ model which brokers requests from the Controllers and uses the DBIC model to implement them if they fit the application’s logic? I’ve looked far and wide to try to better

Re: [Catalyst] Fat Model Methodology?

2010-01-21 Thread J. Shirley
On Thu, Jan 21, 2010 at 9:37 AM, Jeff Albert jralb...@uvic.ca wrote: Hi List! I’m a new-ish Catalyst developer, converted from the ranks of the HTML::Mason faithful, and the recent nature of my dedication to MVC design, and to Catalyst’s fat-model pattern specifically, has left me with some