[Catalyst] Broken plugins

2007-08-09 Thread Bill Moseley
Two plugins I just installed are "busted" on CPAN, it seems after they were updated to use Module::Install. "sudo cpan Catalyst-Plugin-Cache-Memcached-0.7" installed 0.6. "sudo cpan Catalyst::Plugin::Cache::FastMmap" same thing. (I had 0.6 and cpan claims that's up to date. The META.yml file cl

Re: [Catalyst] Method to overload per request

2007-08-09 Thread Michael Reece
by "several times per page load" are you referring to multiple requests to render one page? (ie, if you have your css/js/etc served through your app) On Aug 9, 2007, at 8:04 AM, John Lifsey - Contractor - wrote: Is there a method in C::Req (or any other part of Cat) that I can overload wh

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Barry Hoggard
On 8/9/07, Brian Kirkbride <[EMAIL PROTECTED]> wrote: > Linode++ > > I used them for years before outgrowing it and moving on to several > dedicated servers. Their support cannot be beat and the prices are > very reasonable. I don't see a discussion of backups on the site. How did you manage tha

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Barry Hoggard
On 8/9/07, Kieren Diment <[EMAIL PROTECTED]> wrote: > dreamhost seem to be the default. I've been using asmallorange.com > which is ok, although they don't give you +x on gcc so if you need xs > modules installed, you need to open a support ticket. They're pretty > responsive though so that hasn'

Re: [Catalyst] Method to overload per request

2007-08-09 Thread John Lifsey - Contractor -
Dylan Vanderhoof wrote: Is there a method in C::Req (or any other part of Cat) that I can overload which is called only once per request? I thought that would be prepare, but it seems that is called several times per page load. Any advice appreciated. John MyApp::Controller::Root->aut

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tatsuhiko Miyagawa
On 8/9/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > > View::TT > > ENCODING: UTF-8 > > > > Template provider will see you are running a modern Perl (UNICODE flag > > in provider) and then look for a Byte Order Mark. If not found it > > will then decode your content based on the ENCODING sett

RE: [Catalyst] Method to overload per request

2007-08-09 Thread Dylan Vanderhoof
> -Original Message- > From: John Lifsey - Contractor - [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 09, 2007 8:04 AM > To: The elegant MVC web framework > Subject: [Catalyst] Method to overload per request > > > Is there a method in C::Req (or any other part of Cat) that I can >

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Brian Kirkbride
J. Shirley wrote: If you want to take the VPS route now, I've been really happy with Linode.com. $20/mo and it's been rock solid for a couple months. Have 2 slices and been very pleased. Supportive IRC channel, plus a responsive customer support system. -J Linode++ I used them for years b

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Mark Zealey
I work for pipex hosting, who own 123-reg. 123-reg have cheap dedi servers (from £40/mo) running ubuntu (http://www.123-reg.co.uk/dedicated-server-hosting/). You can get root access (actually a chroot, but you get full control of the box and the ip) and we even put catalyst on there as standard

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread J. Shirley
On 8/8/07, Matt Rosin <[EMAIL PROTECTED]> wrote: > Hello, > > I remember somewhere catalyst-friendly hosting. I'm looking for a new > hosting company. I don't relish using catalyst without root access, > having built it once locally, especially since I don't want to have to > ask the company every

Re: [Catalyst] Storing Login Information

2007-08-09 Thread Jonas Alves
On 09/08/07, Patrick McDonnell <[EMAIL PROTECTED]> wrote: > Hello - > > I'm working on a Catalyst app, mostly just to amuse myself, that is supposed > to be a webmail/calendar/address book/user account management app. All of > the user account information, as well as the address book, is stored in

[Catalyst] Storing Login Information

2007-08-09 Thread Patrick McDonnell
Hello - I'm working on a Catalyst app, mostly just to amuse myself, that is supposed to be a webmail/calendar/address book/user account management app. All of the user account information, as well as the address book, is stored in an LDAP directory, so authenticating against that is not a problem

[Catalyst] Method to overload per request

2007-08-09 Thread John Lifsey - Contractor -
Is there a method in C::Req (or any other part of Cat) that I can overload which is called only once per request? I thought that would be prepare, but it seems that is called several times per page load. Any advice appreciated. John ___ List: Cataly

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Matt S Trout
On Thu, Aug 09, 2007 at 04:42:53PM +0200, Tobias Kremer wrote: > > View::TT > > ENCODING: UTF-8 > > > > Template provider will see you are running a modern Perl (UNICODE flag > > in provider) and then look for a Byte Order Mark. If not found it > > will then decode your content based on the EN

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tobias Kremer
> View::TT > ENCODING: UTF-8 > > Template provider will see you are running a modern Perl (UNICODE flag > in provider) and then look for a Byte Order Mark. If not found it > will then decode your content based on the ENCODING setting. > > No, you don't need Template::Provider::Encoding if you

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Matt S Trout
On Thu, Aug 09, 2007 at 02:56:31PM +0200, Tobias Kremer wrote: > Zitat von Tatsuhiko Miyagawa <[EMAIL PROTECTED]>: > > Similarly even if your templates are encoded in utf-8, > > Template-Toolkit doesn't know which encoding they are in, until you > > set BOM to your templates or use Template::Provid

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Bill Moseley
On Thu, Aug 09, 2007 at 02:56:31PM +0200, Tobias Kremer wrote: > I just found the (undocumented?) "ENCODING" configuration option in > Template::Provider. Setting this to "utf-8" makes the templates appear > correctly with C::P::Unicode loaded. Is there still a need for > Template::Provider::Encodi

RE: [Catalyst] Issue with JSON view

2007-08-09 Thread Hartmaier Alexander
I'll just do this at the end of my controller method: $c->forward('My::App::View::JSON'); - Alex > -Original Message- > From: Tatsuhiko Miyagawa [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 09, 2007 3:07 AM > To: The elegant MVC web framework > Subject: Re: [Catalyst] Issue with JSO

Re: [Catalyst] Re: Multi Mod_Perl apps - THANK YOU

2007-08-09 Thread Will Smith
Thank you all you for your help. Best Regards, Will Adam Sjøgren <[EMAIL PROTECTED]> wrote: On Wed, 8 Aug 2007 06:14:54 -0700 (PDT), Will wrote: > Sorry if I post an old question, I just want to know if I could do > this to run multi app on the same server under mod_perl: > PerlSwi

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Matt S Trout
On Thu, Aug 09, 2007 at 11:36:45AM +0900, Matt Rosin wrote: > Hello, > > I remember somewhere catalyst-friendly hosting. I'm looking for a new > hosting company. I don't relish using catalyst without root access, > having built it once locally, especially since I don't want to have to > ask the co

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tobias Kremer
Zitat von Tatsuhiko Miyagawa <[EMAIL PROTECTED]>: > Similarly even if your templates are encoded in utf-8, > Template-Toolkit doesn't know which encoding they are in, until you > set BOM to your templates or use Template::Provider::Encoding to > explicitly specify the encoding to decode the templat

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Daisuke Maki
I've been doing Japanese web pages for such a long time now, and yet I still can't claim to have a full grasp of things. But anyways, what I do is: * All my templates are in unicode (open documents with set enc=utf-8, NO BOM), as well as my FormFu config files. * I do NOT use UTF8Column

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Jonas Alves
On 09/08/07, Pedro Melo <[EMAIL PROTECTED]> wrote: > Hi, > > On Aug 9, 2007, at 10:40 AM, Tatsuhiko Miyagawa wrote: > > > Similarly even if your templates are encoded in utf-8, > > Template-Toolkit doesn't know which encoding they are in, until you > > set BOM to your templates or use Template::Pro

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tobias Kremer
Zitat von Tatsuhiko Miyagawa <[EMAIL PROTECTED]>: > Similarly even if your templates are encoded in utf-8, > Template-Toolkit doesn't know which encoding they are in, until you > set BOM to your templates or use Template::Provider::Encoding to > explicitly specify the encoding to decode the templat

Re: [Catalyst] Re: [Semi OT] HTTP DELETEs

2007-08-09 Thread Jonathan Tweed
On Wed, 8 Aug 2007 23:42:22 +0200, "A. Pagaltzis" <[EMAIL PROTECTED]> wrote: > * Jonathan Tweed <[EMAIL PROTECTED]> [2007-08-08 21:35]: >> Can an HTTP DELETE have an entity body? I have looked in the >> HTTP spec and as far as I can see it doesn't say. > > 4.3 Message Body > > […] A m

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tobias Kremer
> Tobias, > > I tried jrock's advice of adding C::P::Unicode to the Cat app you sent > me a couple days ago - and it does fix the encoding problem. I also did that but it only works in some cases. Try adding a block element to the FormFu YAML file (or a comment for the date element) that contains

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Pedro Melo
Hi, On Aug 9, 2007, at 10:40 AM, Tatsuhiko Miyagawa wrote: Similarly even if your templates are encoded in utf-8, Template-Toolkit doesn't know which encoding they are in, until you set BOM to your templates or use Template::Provider::Encoding to explicitly specify the encoding to decode the te

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Carl Franks
On 09/08/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > Following up on a conversion I started on the DateTime mailing-list I'd like > to > ask if it is really neccessary to use C::P::Unicode if a site uses > utf8-encoding? > > I have the problem that up until now everything worked absolutely fine

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Matt Lawrence
Pedro Melo wrote: > Hi, > > On Aug 9, 2007, at 9:27 AM, Tobias Kremer wrote: > >> Following up on a conversion I started on the DateTime mailing-list >> I'd like to >> ask if it is really neccessary to use C::P::Unicode if a site uses >> utf8-encoding? > > Also if you use open(), make sure you use

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tatsuhiko Miyagawa
On 8/9/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > I have the problem that up until now everything worked absolutely fine without > C::P::Unicode, Template::Stash::ForceUTF8, Template::Provider::Encoding or any > other unicode plugin because I believed that if everything is utf8 you don't > real

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Jonathan T. Rockway
On Thu, Aug 09, 2007 at 10:27:27AM +0200, Tobias Kremer wrote: > month names which are displayed fine then. It looks like everything gets > encoded twice when utilizing these plugins. OK, so I changed my mind and I'll be a bit nicer. :) This is exactly the problem. Currently, your "unicode" da

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Jonathan T. Rockway
On Thu, Aug 09, 2007 at 10:27:27AM +0200, Tobias Kremer wrote: > I have the problem that up until now everything worked absolutely fine without > C::P::Unicode, Template::Stash::ForceUTF8, Template::Provider::Encoding or any ForceUTF8 is a hack hack hack. If your program doesn't work without it,

Re: [Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Pedro Melo
Hi, On Aug 9, 2007, at 9:27 AM, Tobias Kremer wrote: Following up on a conversion I started on the DateTime mailing-list I'd like to ask if it is really neccessary to use C::P::Unicode if a site uses utf8-encoding? I have the problem that up until now everything worked absolutely fine with

[Catalyst] Catalyst Unicode woes ...

2007-08-09 Thread Tobias Kremer
Following up on a conversion I started on the DateTime mailing-list I'd like to ask if it is really neccessary to use C::P::Unicode if a site uses utf8-encoding? I have the problem that up until now everything worked absolutely fine without C::P::Unicode, Template::Stash::ForceUTF8, Template::Prov

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Matt Rosin
Awesome, thanks. You certainly deserve benefitting from that, and thank you for the disclosure. Matt Rosin ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/c

Re: [Catalyst] output to tt2 and pdf

2007-08-09 Thread Ulf Lenski
thanks for helping, I'll try it now! Ulf. Matt S Trout schrieb: > On Wed, Aug 08, 2007 at 04:01:25PM +0200, Ulf Lenski wrote: > >> Hi, >> on http://www.catalystframework.org i found: >> "And in case you want PNG or PDF output, you'll need just a few lines..." >> where can I find an example for