Re: [Catalyst] how to get started?

2006-08-21 Thread Peter Edwards
Hi burninbruce, setting up CPAN to follow prequisites and install them automatically might make it easier. # perl -MCPAN -e shell If it's the first time, it will ask a load of setup questions, choose to follow prerequisites. Otherwise you can set it on with cpan o conf prerequisites_policy

Re: [Catalyst] how to get started?

2006-08-21 Thread Thomas Hartman
Since the dependency hell issue has been raised again, I'd like to ask, who'se using cpan? and who'se using cpan plus?Can anyone comment on the relative merits?FWIW, I'm currently struggling to install SQL::Translator, which is a requirement for DBIx::Class::DigestColumns. Having trouble with just

[Catalyst] load more than 2 yaml files in Catalyst

2006-08-21 Thread fayland
Now I'm using Config::YAML to load more than 2 yaml files in Catalyst, but I wonder why ConfigLoader don't support to load more than 2 yaml files? (like a.yaml b.yaml c.yaml, but not a.yaml a_local.yaml) Am I missing something? Thanks. -- Fayland Lam // http://www.fayland.org/

Re: [Catalyst] how to get started?

2006-08-21 Thread Chisel Wright
On Mon, Aug 21, 2006 at 11:47:26AM +0200, Thomas Hartman wrote: Having trouble with just cpan, and was suggested to use cpan plus. I find that some modules install better with cpan, and others with cpanplus I think I'm primarily using cpan, but in an ideal world I'd be creating deb/ubuntu

Re: [Catalyst] how to get started?

2006-08-21 Thread Nigel Metheringham
On Mon, 2006-08-21 at 11:13 +0100, Chisel Wright wrote: I think I'm primarily using cpan, but in an ideal world I'd be creating deb/ubuntu packages for everything and installing those. (the official ones are terribly out of date) I'm creating fedora/centos rpm packages for everything (I have a

Re: [Catalyst] how to get started?

2006-08-21 Thread Thomas Hartman
Anybody have ideas on what factors make for a better install with cpanplus, what better for cpan?One observation I will make, which will probably not be news to many of you, is that most of the breakage I see happens in the test phase of the install. EG, module Foo doesn't depend directly on

[Catalyst] Bypass TT wrapper

2006-08-21 Thread Tobias Kremer
Hi list, I have set up a site which utilizes the TTSite defaults for providing a common header/footer using TTs wrapper mechanism. What if I want to bypass the header/footer for certain URLs (specifically, I've forms which are injected into DIVs via AJAX and those forms are not supposed to have

Re: [Catalyst] how to get started?

2006-08-21 Thread John Napiorkowski
I also had a similar frustration when starting with Catalyst. It's definitely worth your time to muddle through it and make it work. One thing that I've been doing to help me keep track is I keep a running list of modules I've installed from a clean 5.8.7 perl to get everythings started that way

Re: [Catalyst] how to get started?

2006-08-21 Thread Chisel Wright
On Mon, Aug 21, 2006 at 08:08:19AM -0700, Steve Atkins wrote: Task::Catalyst is completely broken. Just out of interest, in what way? -- Chisel Wright e: [EMAIL PROTECTED] w: http://www.herlpacker.co.uk/ This is not an automated signature. I type this in to the bottom of every message.

Re: [Catalyst] how to get started?

2006-08-21 Thread Matt S Trout
Steve Atkins wrote: On Aug 21, 2006, at 2:47 AM, Thomas Hartman wrote: Since the dependency hell issue has been raised again, I'd like to ask, who'se using cpan? and who'se using cpan plus? CPAN. And I've never been able to install Catalyst without lots of manual installs of

Re: [Catalyst] how to get started?

2006-08-21 Thread Joe Landman
Chisel Wright wrote: On Mon, Aug 21, 2006 at 08:08:19AM -0700, Steve Atkins wrote: Task::Catalyst is completely broken. Just out of interest, in what way? Incorrect (as in old) version numbers, missing prerequisites somewhere in the chain, dependency upon modules which aren't common that

Re: [Catalyst] ways to do stuff and why

2006-08-21 Thread Brian Kirkbride
Mark Blythe wrote: If the controller truly never sees DBIC stuff, does that mean that your model logic never returns DBIC objects? For instance, let's say you have a logic method called findBestFit() that's supposed to return shoes that fit a given person and activity the best. Would it

Re: [Catalyst] how to get started?

2006-08-21 Thread Matt S Trout
Steve Atkins wrote: Task::Catalyst is completely broken. Contact Sebastian Riedel ([EMAIL PROTECTED]), he retained maintainership after leaving the project so there's nothing we can do about it. -- Matt S Trout Offering custom development, consultancy and support Technical

Re: [Catalyst] ways to do stuff and why

2006-08-21 Thread Matt S Trout
Mark Blythe wrote: I think the main bone of contention here is that Len is referring to his persistence layer as the model, whereas I consider it to just be a persistence layer - stuff like Model::DBIC::Schema is really only there for simple apps where what you're modeling *is* the database.

Re: [Catalyst] ways to do stuff and why

2006-08-21 Thread leonard . a . jaffe
Matt S Trout [EMAIL PROTECTED] 08/21/2006 : I tend to return the DBIC objects but make sure the controller only ever interacts with *semantic* methods rather than the DBIC-specific find/search/etc. so I could swap it out for such an extra layer if I ever need to. I think we just agreed on

Re: [Catalyst] how to get started?

2006-08-21 Thread Christopher H. Laco
Johan Lindstrom wrote: At 18:46 2006-08-21, Nate Wiger wrote: A big problem I ran into is that when Module::Build is downloaded via CPAN and auto-configured, cc compilation is disabled by default. You get: Module::Build is not configured with C_support So, I had to manually build

Re: [Catalyst] how to get started?

2006-08-21 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2006-08-21 19:25]: Long live EU::MM! You also enjoy torturing Schwern, don’t you? Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ List: Catalyst@lists.rawmode.org Listinfo:

Re: [Catalyst] how to get started?

2006-08-21 Thread Christopher H. Laco
A. Pagaltzis wrote: * Christopher H. Laco [EMAIL PROTECTED] [2006-08-21 19:25]: Long live EU::MM! You also enjoy torturing Schwern, don’t you? Regards, No, but I do love to be on the receiving end of his rants from time to time. ;-) signature.asc Description: OpenPGP digital signature

Re: [Catalyst] how to get started?

2006-08-21 Thread Steve Atkins
On Aug 21, 2006, at 8:54 AM, Matt S Trout wrote: Steve Atkins wrote: Task::Catalyst is completely broken. Contact Sebastian Riedel ([EMAIL PROTECTED]), he retained maintainership after leaving the project so there's nothing we can do about it. I'm not asking for it to be fixed (or

Re: [Catalyst] how to get started?

2006-08-21 Thread A. Pagaltzis
* Steve Atkins [EMAIL PROTECTED] [2006-08-21 20:20]: No. I really don't like using anything other than cpan to install perl modules if I can possibly avoid it. I'm close to making an exception for catalyst, though, so I may give cat-install a try. You didn’t even look at it, did you? (IIRC

Re: [Catalyst] how to get started?

2006-08-21 Thread Daniel McBrearty
FWIW I'd agree with what Max said. The first time I installed cat on a fresh system it drove me nuts. The second time it was alot easier. I'm just using normal CPAN. The biggest hassle is normally an external xxx-dev library that is needed, it can be a bit of detective work to discover which

[Catalyst] Dispatch matching more than the path?

2006-08-21 Thread Garrett Goebel
I've been looking at Audrey Tang's Jifty::Plugin::Dispatcher::REST (http://pugs.blogs.com/pugs/2006/07/rhox_slides_las.html) and DHH's "Discovering a world of Resources on Rails" (http://www.loudthinking.com/lt-files/worldofresources.pdf) presentation from the 2006 RoR conference. I'm trying to

Re: [Catalyst] dbic models and startup time server

2006-08-21 Thread Brandon Black
On 8/21/06, Josef Chladek [EMAIL PROTECTED] wrote: hi,we have a CRUD/cms app that uses many (approx. 20) dbic models/schemas. the startup time for _server.pl takes a lot of time (1min or so), when we run it under mod_perl restarting of apache takes also very long. we tried

[Catalyst] automatic CRUD (was: how to get started?)

2006-08-21 Thread burninbruce
Thanks for all the helpful replies! fireartist wrote: If you post the error messages you get to this list, I'm sure someone will be able to help. There were dozens, at least. It's probably the missing-dependency problem described in the other replies. Modules are not being installed

Re: [Catalyst] load more than 2 yaml files in Catalyst

2006-08-21 Thread Fayland Lam
Joel Bernstein wrote: On Mon, Aug 21, 2006 at 10:09:10AM +, fayland wrote: Now I'm using Config::YAML to load more than 2 yaml files in Catalyst, but I wonder why ConfigLoader don't support to load more than 2 yaml files? (like a.yaml b.yaml c.yaml, but not a.yaml a_local.yaml) Are