Re: [Catalyst] user maintenance

2007-09-02 Thread Jon Schutz
foreign key specs should look something like this (cutting and pasting at random one that DBIx::Class/SQL::Translator has generated from one of my schema): CONSTRAINT `service_fk_customer` FOREIGN KEY (`customer`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE ON UPDATE CASCADE, -- Jon

Re: [Catalyst] Catalyst Hosting

2007-08-09 Thread Jon Schutz
Hi Matt, Declaration/disclaimer - I might personally benefit from this if you use it. If you use promo code CATLIST1 you should get $50.00 off Dreamhost hosting in the first year. Entirely up to you. Regards, -- Jon On Thu, 2007-08-09 at 15:01 +0900, Matt Rosin wrote: Thanks

RE: [Catalyst] Ajax

2007-08-03 Thread Jon Schutz
for the pre-built components. As someone who avoids writing javascript as much as possible, I've found YUI very tolerable. -- Jon On Fri, 2007-08-03 at 11:09 +0200, Hartmaier Alexander wrote: Hi Octavian! They all have nothing to do with either the template language or the web framework. I

Re: [Catalyst] Test server as a child process

2007-07-31 Thread Jon Schutz
; die Failed to start test server if $i == $wait_secs; sleep(1); } -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] displaying email addresses

2007-06-28 Thread Jon Schutz
of Perl if you had the mind to. I haven't come across an equivalent in Perl. -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Jon Schutz
} = something. What happens if an error occurs with your DBIC schema manipulation - does it bypass the setting of the template? HTH. -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable

Re: [Catalyst] How to stop Catalyst::Engine::HTTP::POE?

2007-05-24 Thread Jon Schutz
, and that seems to clean up nicely. Bit like killing a vampire I guess - have to use exactly the right weapon or it just won't die. Thanks for you help. -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

[Catalyst] How to stop Catalyst::Engine::HTTP::POE?

2007-05-23 Thread Jon Schutz
hitting this type of problem, yes? -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] How to stop Catalyst::Engine::HTTP::POE?

2007-05-23 Thread Jon Schutz
Hi Andy, On Thu, 2007-05-24 at 00:35 -0400, Andy Grundman wrote: On May 24, 2007, at 12:03 AM, Jon Schutz wrote: I am using Catalyst::Engine::HTTP::POE in a test harness; when the tests complete, I would like to gracefully terminate all child processes that C::E::HTTP::POE starts

Re: [Catalyst] Re: oe1.orf.at now running on Catalyst

2007-04-20 Thread Jon Schutz
-up. So, the site's not perfect (whose is?), but it is relevant and informative. Link on! I say. -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] MySQL server has gone away

2007-04-19 Thread Jon
). -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/

Re: [Catalyst] Announce: Website In A Box

2007-03-19 Thread Jon
started OK, but on the home page it came up with the warning: read_file '/users/jon/public_html/WIAB/trunk/WIAB/t/content/index.pod' - sysopen: No such file or directory at /users/jon/public_html/WIAB/trunk/WIAB/script/../lib/WIAB/Model/Content.pm line 43 Guess I'd better read the docs now! HTH

Re: [Catalyst] Announce: Website In A Box

2007-03-19 Thread Jon
After that all started OK, but on the home page it came up with the warning: read_file '/users/jon/public_html/WIAB/trunk/WIAB/t/content/index.pod' - sysopen: No such file or directory at /users/jon/public_html/WIAB/trunk/WIAB/script/../lib/WIAB/Model/Content.pm line 43 Guess I'd

Re: [Catalyst] Regex -- optional index.html

2007-03-01 Thread Jon
How about this: m!^training/webcasts/webcast_data/(\d+)/(index.html|$)! On Thu, 2007-03-01 at 14:51 -0800, Bill Moseley wrote: I want to match these two (not using Chained, btw): /training/webcasts/webcast_data/186/ /training/webcasts/webcast_data/186/index.html But not this:

Re: [Catalyst] Help with XMLRPC

2007-02-16 Thread Jon
I had to declare all my subs like this: sub add : XMLRPC('add') { ... } Without explicitly appending ('add'), it wouldn't work... which is not what the pod says. HTH. -- Jon On Fri, 2007-02-16 at 10:53 -0300, Patricio A. Bruna wrote: im trying to start with Catalyst::Plugin::XMLRPC but im

[Catalyst] Why I chose Perl and Catalyst

2007-02-13 Thread Jon
finally done that - here it is for anyone who has an interest: Perl + DBIx::Class + Catalyst - Our Technology Choice http://software-reviews.summer-snowstorm.com/content/view/17/27/ -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] Advent Calendar

2006-12-27 Thread Jon
On Wed, 2006-12-27 at 11:30 -0500, Kenny Gatdula wrote: Hi, I agree with you that a table of contents would be useful. Maybe next year? In the meantime, this will work. http://dev.catalyst.perl.org/wiki/DocLinks/AdventCalendar2006 That's great, thanks. -- Jon

[Catalyst] Advent Calendar

2006-12-26 Thread Jon
be applied. I would like to make one small suggestion - would it be possible to add a table of contents? (As in a list of titles rather than dates). It's a great resource and a TOC would make it much easier to refer back to the various articles at a later time. Regards, -- Jon

Re: [Catalyst] SchemaLoader?

2006-12-25 Thread Jon
Likewise I couldn't get sqlt to work with DBIx::Class; it doesn't seem to be set up to take the DBIx::Class options. But you can achieve the same end like this: use SQL::Translator; my $translator = SQL::Translator-new( debug = 0,

[Catalyst] Best practice for using transactions?

2006-12-15 Thread Jon Warbrick
coderef to wrap), and I can't see where I could appropriately call txn_begin/txn_commit/txn_rollback to achieve a useful effect. Any advice from people who've been here before (even if it's 'you don't want to do that') would be very welcome. Jon. -- Jon Warbrick Web/News Development, Computing

Re: [Catalyst] Mason configuration in YAML

2006-12-08 Thread Jon Warbrick
}; Er, can you? Where do you get $c from? Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] log infor using FastCGI enigine in Apache

2006-11-14 Thread Jon
On Tue, 2006-11-14 at 09:31 +, Chisel Wright wrote: On Tue, Nov 14, 2006 at 01:50:39PM +1030, Jon wrote: I found Catalyst::Log::Log4perl a good alternative. Unfortunately not compatible with Catalyst::Plugin::Dumper though. Yeah, dig back through the archives and you'll find mst's

Re: [Catalyst] How to use FastCGI engien?

2006-11-13 Thread Jon
/Myapp/script. HTH. -- Jon On Mon, 2006-11-13 at 18:44 +0800, Mao DengFeng-e13751 wrote: Hi, I have installed mod_fastcgi into apache and I got this information: Apache/2.0.55 (Unix) PHP/4.4.2 mod_fastcgi/2.4.2 Server at apflex.pcs.mot.com Port 80

Re: [Catalyst] log infor using FastCGI enigine in Apache

2006-11-13 Thread Jon
I found Catalyst::Log::Log4perl a good alternative. Unfortunately not compatible with Catalyst::Plugin::Dumper though. -- Jon On Tue, 2006-11-14 at 10:57 +0800, Mao DengFeng-e13751 wrote: Hi, I have made catalyst is runing in apache with FastCGI engine. It's really very fast:) But when I

RE: [Catalyst] Re: template comparison

2006-10-29 Thread Jon Warbrick
want the current developer version (0.04_01) which fixes problems working with config files. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org

Re: [Catalyst] Catalyst::Engine needs a stop method

2006-10-28 Thread Jon
However, I'd love to see a proper RFC for an Engine stop method on catalyst-dev so we can have a proper discussion about it. Moving discussion to catalyst-dev now... -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] Catalyst::Engine needs a stop method

2006-10-27 Thread Jon
I need to launch a long-running (minutes up to hours) background program from Catalyst. I have it working almost well enough - I do the usual double-fork, closing standard file descriptors, and had to take some particular care to use POSIX::_exit and put an eval{} around the daemon code so that

Re: [Catalyst] Reaction opened up for people to play with (patches welcome :)

2006-10-17 Thread Jon Warbrick
appears to be needed for Date parsing but doesn't appear as an explicit dependency. Now to actually play with it... Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Dispatching question: same path but different args attributes

2006-10-17 Thread Jon Warbrick
by Catalyst-Runtime is likely to lead to confusion for anyone who goes looking for 'something called Catalyst'. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] Debugging Catalyst Apps

2006-10-12 Thread Jon Warbrick
at first line of subroutine after it is compiled. It make it easy to set a breakpoint on entry to something like a method in a plugin without first having to work out where it's loaded and without having to edit it. Jon. -- Jon Warbrick Web/News Development, Computing Service, University

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-03 Thread Jon Warbrick
On Mon, 2 Oct 2006, Matt S Trout wrote: Jon Warbrick wrote: But for some reason my Catalyst::View::MicroMason view, called Lookup::View::MicroMason _isn't_ successfully configured - it behaves as if the extra mixins are not present. Anyone any idea why? Yes. Because it's broken

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-02 Thread Jon Warbrick
successfully configured - it behaves as if the extra mixins are not present. Anyone any idea why? Jon. --- name: Lookup Model::LookupDB: schema_class: Ucam::LookupDB connect_info: - dbi:Pg:dbname=jw35 View::MicroMason: Mixins: - -Filters - -CompileCache

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-01 Thread Jon Warbrick
On Thu, 28 Sep 2006, Ash Berlin wrote: Jon Warbrick wrote: Can a Catalyst::Model::DBIC::Schema model be configured from a YAML file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in the documentation somewhere, but if so I've yet to find it... Jon

[Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-09-28 Thread Jon Warbrick
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in the documentation somewhere, but if so I've yet to find it... Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge

Re: [Catalyst] Tutorial - CatalystBasics

2006-09-09 Thread Jon Warbrick
installation using cat-install hadn't (understandably, with hindsight) upgraded Catalyst::View::TT. Doing so resolved both problems. Thanks to John Napiorkowski for his 'try upgrading' suggestion. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge