Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread Daniel McBrearty
it's usually easier to let cpan find the distribution itself. try : cpan install My::Module it will usually then try to install dependencies after asking you Daniel On 8/22/06, Samuel Baechler [EMAIL PROTECTED] wrote: hi guys it was a hard work for me too to get Catalyst to work, :).

Re: [Catalyst] ways to do stuff and why

2006-08-22 Thread Zbigniew Lukasiak
There is one practical argument for having the business logic in the model - it is the necessity of using it from command line/cron job tools. I have not yet heard a similar argument from the other side - that is for having the logic in the controller. --ZbyszekOn 8/21/06, [EMAIL PROTECTED]

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Josef Chladek
Am 22.08.2006 um 00:54 schrieb Brandon Black: Yes, or take a stab at improving the performance yourself of course :) well, could you point me in the direction where 'most' of the time is spent during startup? is it the connect, checking, preloading, ...? which module? we might do our best

[Catalyst] Serving binary content with Catalyst

2006-08-22 Thread Kentucky Mandeloid Mo.
Hi, all I have some issue with serving binary content through Cat using FastCGI engine. Sometimes in the server logs appears messages like FastCGI sent in stderr: UTF-16 surrogate 0xd80f at /usr/lib/perl/5.8/IO/Handle.pm line 199 I think FCGI output stream is set to :utf8 somewhere. So

Re: [Catalyst] ways to do stuff and why

2006-08-22 Thread Zbigniew Lukasiak
If I reformulate my statement as follow:There is one practical argument not to have the business logic in the controller - it is ...Can we agree?The result I would like to get from this conversation is that I don't see some point of time controllers with business logic in them at CPAN. --ZbyszekOn

Re: [Catalyst] Dispatch matching more than the path?

2006-08-22 Thread Matt S Trout
Garrett Goebel wrote: 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

Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread Matt S Trout
Samuel Baechler wrote: it's usually easier to let cpan find the distribution itself. try : cpan install My::Module well, as i said in my previous mail i tried this too (samuel# cpan install Catalyst::Plugin::Session::Store::FastMmap ). but the problem remains the same: cpan can't find

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Lars Balker Rasmussen
On Tue, Aug 22, 2006 at 09:51:31AM +0200, Josef Chladek wrote: Am 22.08.2006 um 00:54 schrieb Brandon Black: Yes, or take a stab at improving the performance yourself of course :) well, could you point me in the direction where 'most' of the time is spent during startup? is it the

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

2006-08-22 Thread Carl Franks
On 21/08/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: fireartist wrote: Many modules, particularly DBI / DBD::SQLite, include C code which needs to be compiled on the target machine. Ok, now I realize Catalyst isn't what I'm looking for. I need something more lightweight. I'm doing

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

2006-08-22 Thread Joel Bernstein
On Tue, Aug 22, 2006 at 01:37:49AM +, Fayland Lam wrote: 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?

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Brandon Black
On 8/22/06, Josef Chladek [EMAIL PROTECTED] wrote: what we notice: in Catalyst/Model/DBIC/Schema.pm the time of therequire of the schema$schema_class-requireis fast for the first loaded schemas (0.05s) but takes about 0.6s forthe last schemas. also time to connect

Re: [Catalyst] multiple row entry

2006-08-22 Thread A. Pagaltzis
* Alan Humphrey [EMAIL PROTECTED] [2006-08-22 18:45]: How to you handle the data entry of the tracks and artists? I've thought about an add button that would open up a separate page for each track, but that's clunky. Is there a better way? Something Ajaxian? The oldskool way is to have

Re: [Catalyst] multiple row entry

2006-08-22 Thread Nate Wiger
Alan Humphrey wrote: All – I have a UI problem that I’d like to see how other people deal with. Using the CDs example, imagine a data input page containing fields for the following: CD title Artist(s) Tracks There’s one title, 1 or more artists and 1 or more tracks. How to

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Jonathan Rockway
More CPAN trivia. The generally-regarded-as-safe way to determine the version of a Module (as per EUMM, anyway) is: perl -MModule -e 'print Module-VERSION'; VERSION is provided by UNIVERSAL, so it will always work (even if the module picked an odd way of declaring its version). Of course, it

Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread Jonathan Rockway
Daniel McBrearty wrote: it's usually easier to let cpan find the distribution itself. try : cpan install My::Module This is not the correct way to invoke cpan. CPAN installs by default; the command you've listed will install install and My::Module. install.pm happens to be in

[Catalyst] Framework Confusion: Catalyst, Jifty, Woodstock (Mojo)? 'Sup?

2006-08-22 Thread Hugh Lampert
Experts: Why is Catalyst a qw/better more-robust more-enduring better-Rails-Killer easier-to-use/ framework than Jifty or (Woodstock|Mojo)? Seeing these other frameworks mentioned online - just curious. -- Hugh

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Brandon Black
On 8/22/06, Brandon Black [EMAIL PROTECTED] wrote: [...] and it might not be possible to make it significantly faster without rewriting it in XS [...]Ok, I lied. I went back to stare at Algorithm::C3 and Class::C3, and I remembered an earlier performance hack I had tried, but never got around to

Re: [Catalyst] Framework Confusion: Catalyst, Jifty, Woodstock (Mojo)? 'Sup?

2006-08-22 Thread Jonathan Rockway
Hugh Lampert wrote: Experts: Why is Catalyst a qw/better more-robust more-enduring better-Rails-Killer easier-to-use/ framework than Jifty or (Woodstock|Mojo)? Only you can answer these questions. Try them out, and use what you like. Catalyst's advantage is flexibility. It can do

Re: [Catalyst] Framework Confusion: Catalyst, Jifty, Woodstock (Mojo)? 'Sup?

2006-08-22 Thread Brandon Black
On 8/22/06, Hugh Lampert [EMAIL PROTECTED] wrote: Experts:Why is Catalyst a qw/better more-robust more-enduringbetter-Rails-Killer easier-to-use/framework than Jifty or(Woodstock|Mojo)?Seeing these other frameworks mentioned online - just curious. Well, for one thing, Jifty is the only framework

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Josef Chladek
Am 22.08.2006 um 17:29 schrieb Brandon Black: Is this timed under mod_perl, or standalone? If you're timing it under mod_perl, its probably just getting progressively slower as all of the copies get started up. If not, can the increasing times be explained by increasing schema

Re: [Catalyst] dbic models and startup time server

2006-08-22 Thread Josef Chladek
Am 22.08.2006 um 20:29 schrieb Brandon Black: On 8/22/06, Brandon Black [EMAIL PROTECTED] wrote: [...] and it might not be possible to make it significantly faster without rewriting it in XS [...] Ok, I lied. I went back to stare at Algorithm::C3 and Class::C3, and I remembered an

[Catalyst] Defining User and Role in a same table for authorization

2006-08-22 Thread Nagarajan M
Hi All,I am trying out the examples provided in the tutorial for authentication and authorization. In that example user and role are seperated out, in my case I want to use one table which contain role as a column, like id username password role (ie. one user will have one role)How

Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread A. Pagaltzis
* Jonathan Rockway [EMAIL PROTECTED] [2006-08-22 20:00]: cpan My::Module Another::Module is the correct invocation. Or you can pass `-i` to be explicit: cpan -i My::Module Another::Module Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/

[Catalyst] While the Catalyst CPAN install discussion is still going on....

2006-08-22 Thread Dennis Daupert
I've used CPAN.pm a lot, have installed Catalyst on various unix boxen (linux, solaris), have always been able to coerce mods to install. Until now. My ISP runs BSD, perl 5.8.0 (oh my god!! and yes, I've asked them to upgrade, and was told "someday, we just don't know what day"). I

Re: [Catalyst] Can't find 'Catalyst::Plugin::SessionStateTest'

2006-08-22 Thread Daniel McBrearty
h. thanks. as it happens, I *did* wonder what all that juno crap was about :-) On 8/22/06, A. Pagaltzis [EMAIL PROTECTED] wrote: * Jonathan Rockway [EMAIL PROTECTED] [2006-08-22 20:00]: cpan My::Module Another::Module is the correct invocation. Or you can pass `-i` to be

[Catalyst] Sessions not working with Store::File State Cookie

2006-08-22 Thread Roland Lammel
I had a very strange behaviour when using the latest session plugin with store::file and state::cookie.These are the versions used along with Catalyst 5.700010.11 Catalyst::Plugin::Session0.08 Catalyst::Plugin::Session::Store::File 0.01 Catalyst::Plugin::Session::State::CookieOn every request a

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

2006-08-22 Thread Fayland Lam
Joel Bernstein wrote: On Tue, Aug 22, 2006 at 01:37:49AM +, Fayland Lam wrote: 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

Re: [Catalyst] Sessions not working with Store::File State Cookie

2006-08-22 Thread Yuval Kogman
On Wed, Aug 23, 2006 at 03:30:25 +0200, Roland Lammel wrote: I had a very strange behaviour when using the latest session plugin with store::file and state::cookie. These are the versions used along with Catalyst 5.70001 0.11 Catalyst::Plugin::Session 0.08