Re: [Catalyst] Any chance there is an arbitrary limit to how many classes you can load this way...?

2007-10-11 Thread Matt S Trout
( default_view = 'View::TD'); No! -config(default_view = 'TD'); Remember, the default_view arg is -what you pass to $c-view-. Which means no MyApp::View:: -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] New auth stuff and LDAP store...

2007-10-12 Thread Matt S Trout
thought would be to compile my own tinyldap as part of my test build process. There's also a Net::LDAP::Server on CPAN which may or may not be any use. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] connecting to a remote sqlite

2007-10-14 Thread Matt S Trout
On Sat, Oct 13, 2007 at 12:07:54PM +, rahed wrote: On 10/12/07, Matt S Trout [EMAIL PROTECTED] wrote: On Fri, Oct 12, 2007 at 11:50:01AM +0200, rahed wrote: Without prefetch, there is no error. Is it possible (and which way) to retrieve data from a remote db via proxy with Catalyst

Re: [Catalyst] Fucking spam.

2007-10-25 Thread Matt S Trout
Reported to nabble abuse. I'll be killing the post out the archives as well. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Fucking spam from nabble

2007-10-26 Thread Matt S Trout
is simply to not accept postings from nabble to the list. Since they have a history of being abused, and not being able to stop it, a read-only subscription would be required. I've already informed them their subscription will be turned read-only if this happens again. -- Matt S Trout

Re: [Catalyst] In search of a clue ... how do I access _PACKAGE_-config values , or more specifically, values put into myapp.yml ?

2007-11-05 Thread Matt S Trout
: 'not_the_default' -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

[Catalyst] Anybody in socal fancy doing some perl pimping?

2007-11-08 Thread Matt S Trout
http://www.socallinuxexpo.org/blog/2007/11/08/calling-all-free-open-source-projects/ -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Ubuntu / Catalyst

2007-11-09 Thread Matt S Trout
of which I don't remember the URLs to :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Ubuntu / Catalyst

2007-11-09 Thread Matt S Trout
-but-ubuntu-isms. But hell, it's your platform and that's just my opinion. None of our servers are going past 6.06 though :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd

Re: [Catalyst] Ubuntu / Catalyst

2007-11-09 Thread Matt S Trout
On Fri, Nov 09, 2007 at 03:27:50PM +, Daniel Hulme wrote: On Fri, Nov 09, 2007 at 03:01:52PM +, Matt S Trout wrote: then add http://debian.pkgs.cpan.org/ Just a quick note to avoid any confusion later: the above repo has binary deb files for i386 only. If you're running an AMD64 box

Re: [Catalyst] DBIC v Cache: What are catalyst best practices for caching DBIC results (with relationships included)

2007-11-14 Thread Matt S Trout
for prefetch. Why not just use DBIx::Class::Cursor::Cached ? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform

Re: [Catalyst] Re: Ubuntu / Catalyst

2007-11-15 Thread Matt S Trout
speed issue listed above is fixed in current patches. Is it fuck. It's now a 2* hit rather than a 30* hit but the brain-damage is still there, at least according to Jon Schutz's last benchmark of a couple weeks back. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] Re: Ubuntu / Catalyst

2007-11-15 Thread Matt S Trout
On Wed, Nov 14, 2007 at 05:11:48PM +, Richard Jones wrote: Matt S Trout wrote: That's because I was bitching about later Ubuntus, not Dead Rat. Dead Rat == CentOS 5? Anything that came out of Red Hat, basically :) I'm not a fan. -- Matt S Trout Need help with your

Re: [Catalyst] PathPart help

2007-11-16 Thread Matt S Trout
(slightly obsessive future-proofing but I've long since decided it's not paranoia and the requirements changes -are- out to get me :). -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] PathPart help

2007-11-17 Thread Matt S Trout
be passed happily to $c-uri_for without ambiguity, and still have minimal repeated code. (Disclaimer: code typed straight into mail. probably at least one typo or thinko lurking in there) If people like this approach, I could write it up as an advent entry ... -- Matt S Trout Need

Re: [Catalyst] expand CGI::FormBuilder

2007-11-23 Thread Matt S Trout
in touch with the C::C::FormBuilder author to arrange a release for you. -- Matt S Trout Catalyst and DBIx::Class consulting and support - Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Christmas fun in collectable card game form

Re: [Catalyst] Re: CMS Revisited

2007-11-28 Thread Matt S Trout
write a few database population sheets or include an sqlite database. That shouldn't take too long. Did you have a look at the shadowcat site codebase I posted in the last thread about CMSes as open code for people to make a start from? -- Matt S Trout Catalyst and DBIx::Class

Re: [Catalyst] Multiple Views in Catalyst (FW: Catalyst-dev Digest, Vol 29, Issue 14)

2007-11-29 Thread Matt S Trout
these settings as well. Did you try this yet? -- Matt S Trout Catalyst and DBIx::Class consulting and support - Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Christmas fun in collectable card game form - http

Re: [Catalyst] configurable base url?

2007-12-16 Thread Matt S Trout
that way. I don't believe we have official rules for this. But HTML only mail is Bad and Wrong. Maybe I should poke the list intro message to tell people not to ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] DBIx relationships

2007-12-16 Thread Matt S Trout
. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk

Re: [Catalyst] using Catalyst with legacy cgi scripts

2007-12-16 Thread Matt S Trout
to clean up and dist this or I'd've been hounding you mercilessly. Now you've done so in public your fate is sealed ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd

Re: [Catalyst] Setting the Catalyst Request object

2007-12-16 Thread Matt S Trout
, which inherits from both of their Request subclasses. Then, just have Cat use yours instead. Yes. But I'm wondering if there can't be a defined approach so that module authors don't have to worry about stepping on other modules. Moose roles will fix that in 5.80. -- Matt S Trout

Re: [Catalyst] [OT] ASP.NET MVC

2007-12-17 Thread Matt S Trout
. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk

Re: [Catalyst] RE: Permission Denied??

2007-12-17 Thread Matt S Trout
On Mon, Dec 17, 2007 at 10:32:55AM -0800, Emily Heureux wrote: Never mind, it doesn't have to do with Catalyst. You also forgot to start a new threaad so nobody saw the original message anyway. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] [OT] ASP.NET MVC#

2007-12-17 Thread Matt S Trout
against 5.80 trunk we can have a look ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Re: retrieving multiple values from forms

2007-12-18 Thread Matt S Trout
* and any_param_* methods (names made up on the spot and neither final nor necessarily even any good :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed

Re: [Catalyst] javascript in Catalyst using Template Toolkit

2007-12-21 Thread Matt S Trout
that chance these days :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] [RFC] Loading Plugins from lib/MyApp/Plugins

2007-12-21 Thread Matt S Trout
anyway. Unless somebody else objects I'd say patch it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] javascript in Catalyst using Template Toolkit

2007-12-23 Thread Matt S Trout
little more effort it is, doing things properly in the first place seems like a much better idea to me. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Catalyst::Plugin::Subrequest broken with Catalyst-Runtime-5.0712?

2007-12-24 Thread Matt S Trout
COMMIT BITS TO TRUNK IF IT KEEPS HAPPENING) P.S. Merry Christmas -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment

Re: [Catalyst] Database connections leaking

2007-12-24 Thread Matt S Trout
unaware of whether bugfixes and refactorings have been propagated to it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment

Re: [Catalyst] FastCGI Manager, Apache and SIGPIPE

2007-12-24 Thread Matt S Trout
) - the manager (8120) sees the child dying (8121) and kills the other child (8122) I suspect you're running an out of date FCGI::ProcManager; this looks like you're hitting a bug that's fixed in the latest release. -- Matt S Trout Need help with your Catalyst or DBIx::Class

Re: [Catalyst] Re-enable digest mode?

2008-01-13 Thread Matt S Trout
of DBIC or TT related questions on here rather than the relevant lists would certainly fit with this. In any case, digest replies haven't become a problem there and I have no desire to disable them unless they do. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] process a restored request

2008-01-13 Thread Matt S Trout
On Fri, Jan 11, 2008 at 07:06:17PM +, Jonas Alves wrote: On Jan 11, 2008 6:27 PM, Matt S Trout [EMAIL PROTECTED] wrote: Don't try and serialize $c-req, just dump any POST data back out into hidden fields in the login form, don't change the URL, and have the login form processed

Re: [Catalyst] Documentation on DBIx Class

2008-01-16 Thread Matt S Trout
extensions, of which there are lots, so just saying 'DBIx' when you mean DBIx::Class is wrong (and will potentially confuse people :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] PostgreSQL quoting issues

2008-01-16 Thread Matt S Trout
(or better still RUN USER INPUT THROUGH A VALIDATOR BEFORE YOU LET IT ON THE SAME SUBNET AS YOUR PRODUCTION DATABASE DAMMIT :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] Two ways to create record

2008-01-16 Thread Matt S Trout
On Tue, Jan 15, 2008 at 04:38:36PM +0300, Alex Povolotsky wrote: Matt S Trout wrote: Neither of these are standard DBIx::Class methods; the standard approach is to do my $obj = $rs-new(\%data); maybe use $obj-column_name($value) to set more data $obj-insert; ... I see. It does

Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-18 Thread Matt S Trout
supported too :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] [ANNOUNCE] New plugin: Catalyst::Plugin::Assets

2008-01-20 Thread Matt S Trout
' plugins over to this standard so you should make the change as soon as possible to avoid getting live users with the wrong config key. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Found a simple way to restrain the verbosity of C::C::FormBuilder under debug

2008-01-20 Thread Matt S Trout
but don't have the tuits. Maybe everyone (well, you core folk) should agree on precedence before someone tries to do it. THis is formbuilder-specific so nothing to do with Cat core at all. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: SV: [Catalyst] Problem with TT view and form.field

2008-01-21 Thread Matt S Trout
want. I want to be able to address the content using the name of the field. Have you considered trying the formbuilder mailing list? Your problem doesn't seem particularly Catalyst-specific so maybe they'll be able to help better than we can ... -- Matt S Trout Need help with your

Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-21 Thread Matt S Trout
a workstation oriented OS for develop and leave Windows as a somewhat memory-hungry game launcher, the one task at which I've found it mostly works. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-21 Thread Matt S Trout
them in detail; there's nothing particularly Catalyst-specific about the debuggers. What are you looking for that isn't already in the documentation? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-22 Thread Matt S Trout
write some! -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] Debugging Catalyst with Eclipse

2008-01-22 Thread Matt S Trout
. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk

Re: [Catalyst] index and default actions (was: Why no extra attributes on Private actions?)

2008-01-23 Thread Matt S Trout
of site. sub home :Chained('/') :Args(0) As far as default, I'd currently use that to do my 404 handling - is there an alternative way of doing that? sub error_404 :Chained('/') :Args (:Path probably works just as well as Chained in both examples) -- Matt S Trout Need help

Re: [Catalyst] Road Map doc complete

2008-01-23 Thread Matt S Trout
of CPAN gain us that post-processing it with a one-liner doesn't? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform

Re: [Catalyst] Automated testing of Captcha?

2008-01-24 Thread Matt S Trout
forcing the captcha to a particular string or disabling it entirely are probably your only options - but that wasn't the case here if you read carefully :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Accessing $schema in Model glue class (solved?)

2008-01-24 Thread Matt S Trout
to decide whether to use the app cache so we can keep sessions in memcache but use Cache::Null for the DBIC stuff during testing. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat

Re: [Catalyst] Accessing $schema in Model glue class (solved?)

2008-01-25 Thread Matt S Trout
On Fri, Jan 25, 2008 at 10:13:38AM +0100, Tobias Kremer wrote: Quoting Matt S Trout [EMAIL PROTECTED]: # in MyApp::Model::Schema (which ISA Catalyst::Model::DBIC::Schema) sub new { my $self = shift-NEXT::new(@_); my ($app, $config) = @_; $self-schema-default_resultset_attributes

Re: [Catalyst] Accessing $schema in Model glue class (solved?)

2008-01-25 Thread Matt S Trout
On Fri, Jan 25, 2008 at 01:07:49PM +0100, Tobias Kremer wrote: Quoting Matt S Trout [EMAIL PROTECTED]: On Fri, Jan 25, 2008 at 10:13:38AM +0100, Tobias Kremer wrote: Quoting Matt S Trout [EMAIL PROTECTED]: # in MyApp::Model::Schema (which ISA Catalyst::Model::DBIC::Schema) sub new

Re: [Catalyst] Debian unstable/testing [ot]

2008-01-28 Thread Matt S Trout
to look at this and he hasn't had time, can anybody else figure out how to make Runtime and Manual both happy and supply patches so we can release 'em? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] Automated testing of Captcha?

2008-01-28 Thread Matt S Trout
On Sat, Jan 26, 2008 at 02:07:04PM +0100, Sébastien Wagener wrote: On Fri, 2008-01-25 at 06:53 +, Matt S Trout wrote: If you're outside, then either forcing the captcha to a particular string or disabling it entirely are probably your only options - but that wasn't the case here if you

Re: [Catalyst] Re: REST - like uri design for CRUD

2008-01-29 Thread Matt S Trout
On Tue, Jan 29, 2008 at 08:19:42AM +, Ian Docherty wrote: This is something I have not seen mentioned before. I have no idea what a 'URI Template' would look like. See the RFC and the CPAN module. -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] index and default actions

2008-01-30 Thread Matt S Trout
question. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] Catalyst test server response times.

2008-01-30 Thread Matt S Trout
S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk/servers

Re: [Catalyst] Malformed class Name Hidden files

2008-01-31 Thread Matt S Trout
that, which is why I was asking to be told so I could chase it up having been the person to persuade him such a patch should be sent. Never mind ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] Malformed class Name Hidden files

2008-01-31 Thread Matt S Trout
, though it didn't catch ._* files (easy enough to add). Unfortunately he never responded. http://rt.cpan.org/Public/Dist/Display.html?Name=module-pluggable I see no patch. Please advise. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Malformed class Name Hidden files

2008-01-31 Thread Matt S Trout
to be told next time. It's a lot more efficient. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Catalyst test server response times.

2008-01-31 Thread Matt S Trout
didn't revise the patch, so it didn't get applied. If you want this functionality, please by all means revise the patch accordingly and lob it at [EMAIL PROTECTED] -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Process Template Toolkit Layouts

2008-02-01 Thread Matt S Trout
: [% PROCESS layout %] layout is under root/lib/stite/html but my application is looking for the layout file in root/src and root/lib most likely. You probably wanted [% PROCESS site/html/layout %] -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical

Re: [Catalyst] Catalyst-Plugin-Stacktrace 0.07 dist for testing

2008-02-02 Thread Matt S Trout
are reporting it's fixed, since with my improved understanding of just how fucking insane SIGDIE handlers are I think I can get rid of a bunch of code that was supposed to make things safer but aren't strictly required :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project

Re: [Catalyst] home dir set to /home/MyApp/lib/MyApp

2008-02-05 Thread Matt S Trout
installdeps' it's pretty insane to delete it anyway - so don't :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Weird loss of user in session

2008-02-05 Thread Matt S Trout
that. The old-style will stoip being supported sooner or later. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-05 Thread Matt S Trout
is equivalent to adding the contents of that call in front of core in the original load_components - why won't that work? Did you even try it? :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] using legacy auth stores with new auth system

2008-02-05 Thread Matt S Trout
only 'Authentication' should be listed in the Cat plugin import list. Don't the docs say it'll search the old namespace if it can't find anything in the new one? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] add components to files generated by C::Helper::Model::DBIC::Schema

2008-02-05 Thread Matt S Trout
need to include Core in it since the first load_components won't have run yet iehter). -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] forward not working with Apache web server

2008-02-06 Thread Matt S Trout
a provided filehandle are likely to go down the pipe to the client instead. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment

Re: [Catalyst] PAR deployment w/ non-standard layout

2008-02-06 Thread Matt S Trout
of CATALYST_HOME, but I don't see a problem with it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

[Catalyst] Note re config - Documenters and module authors please take note

2008-02-07 Thread Matt S Trout
in cat core) is -wrong- and we need to correct it. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Note re config - Documenters and module authors pleasetake note

2008-02-07 Thread Matt S Trout
'; is still safe. That still can't be safe without a deep clone. Which we can't do. -config already uses merge_config_hashes. That's why using it as a setter is safe. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director

Re: [Catalyst] Why use external FastCGI apps?

2008-02-08 Thread Matt S Trout
for shadowcat.co.uk because it's mostly a news + brochureware type site so a few seconds' downtime every so often really just doesn't matter to us. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Sharing a database handle between components

2008-02-09 Thread Matt S Trout
? Is there a better way to go about all this? Is there a way that will work now *and* after the app/context switch jshirley mentioned? The first argument to COMPONENT is $app The only difference is at some point it'll be an object rather than a classname. -- Matt S Trout Need help

Re: [Catalyst] Re: Sharing a database handle between components

2008-02-09 Thread Matt S Trout
On Sat, Feb 09, 2008 at 07:55:17PM +0100, Aristotle Pagaltzis wrote: * Matt S Trout [EMAIL PROTECTED] [2008-02-09 19:15]: What was wrong with just making the dbh acquired from - Scalar::Defer::lazy { $app-model('Foo')-schema-storage-dbh } ? Actually, that fails: T::P::DBI::new

Re: [Catalyst] Re: Sharing a database handle between components

2008-02-10 Thread Matt S Trout
On Sun, Feb 10, 2008 at 09:52:21AM +0100, Aristotle Pagaltzis wrote: * Matt S Trout [EMAIL PROTECTED] [2008-02-10 08:50]: To reduce coupling I'd probably do (in MyAPP) __PACKAGE__-config( 'View::TT' = { template_db_model = 'Foo' } ); and then have the view use thatas the arg

Re: [Catalyst] Not sure how to go about this ... or if this idea is even a good one ...

2008-02-10 Thread Matt S Trout
:Path('/') :Args(0) { sub one :Path('/') :Args(1) { sub two :Path('/') :Args(2) { :Chained('/') :PathPart('') would substitute for :Path('/') just fine, although unless you're actually building a chain I can't say I see a lot of point in using one. -- Matt S Trout Need help with your

Re: [Catalyst] Re: Sharing a database handle between components

2008-02-11 Thread Matt S Trout
On Sun, Feb 10, 2008 at 06:39:51PM -0600, Jonathan Rockway wrote: * On Sun, Feb 10 2008, Matt S Trout wrote: On Sun, Feb 10, 2008 at 05:41:28AM -0600, Jonathan Rockway wrote: At some point this pattern will be made easier (see Bread::Board on CPAN), and perhaps we can write a dbh manager

Re: [Catalyst] List spanish

2008-02-13 Thread Matt S Trout
on the same platform. Always easier if people can find stuff in the same place ... -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] $c-user-some_relationship always retrives user id from the db

2008-02-14 Thread Matt S Trout
to the reader, but would probably be best done using Data::Thunk and Data::Swap. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

[Catalyst] So, what do we want in the -next- book?

2008-02-18 Thread Matt S Trout
? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http://www.shadowcat.co.uk/servers

Re: [Catalyst] Why use external FastCGI apps?

2008-02-23 Thread Matt S Trout
across simultaneously, which can be important for some updates. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform

Re: [Catalyst] $c-user-some_relationship always retrives user id from the db

2008-02-23 Thread Matt S Trout
- it didn't really occur to me until now when you pointed out how not doing it could break stuff ... :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Doing work inside the DBIx::Class model

2008-02-23 Thread Matt S Trout
rows, make it a resultset method. If the operation is on a single row, make it a method on the row object. If the operation is on a bunch of different things and neither of those make sense, make it a method on the schema object. -- Matt S Trout Need help with your Catalyst or DBIx

Re: [Catalyst] Doing work inside the DBIx::Class model

2008-02-23 Thread Matt S Trout
::Components::ResultSet; load_classes() is trying to use this as a result class. Either move it or switch to load_namespaces. Note also there's a dbix-class list and I don't see a single bit of Catalyst code in your post, so I'd suggest you'd be better posting there. -- Matt S Trout Need

Re: [Catalyst] Why use external FastCGI apps?

2008-03-08 Thread Matt S Trout
On Mon, Feb 25, 2008 at 09:35:04AM -0500, Matt Pitts wrote: -Original Message- From: Matt S Trout [mailto:[EMAIL PROTECTED] Sent: Saturday, February 23, 2008 1:18 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Why use external FastCGI apps? On Tue, Feb 19, 2008

Re: [Catalyst] So, what do we want in the -next- book?

2008-03-08 Thread Matt S Trout
On Sat, Feb 23, 2008 at 09:25:07PM +0300, Alex Povolotsky wrote: Matt S Trout wrote: Since a fair few of you will now have John's book, I figured it was time to ask what you'd want from a second book. I guess the existing one provides a pretty good tutorial style, so we should be looking

Re: [Catalyst] multiple schemas per application

2008-03-08 Thread Matt S Trout
') works just fine. if you have any further questions, please ask on the DBIx::Class list. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] multiple database model support

2008-03-10 Thread Matt S Trout
::Schema. You can create as many of them as you like. DBIx::Class was designed from the ground up to support N connections via the same classes. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk

Re: [Catalyst] Catalyst @ Flourish Conference

2008-03-10 Thread Matt S Trout
apply :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] Patch for Catalyst::View::Mason

2008-03-10 Thread Matt S Trout
why not do it as a patch that allows a config option? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Implementing DBIx::Class

2008-03-10 Thread Matt S Trout
::Class POD for the details) and you'd be best asking DBIC-specific questions (like 1 and 2 here) on there. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Catalyst::Plugin::Server::XMLRPC and default action

2008-03-21 Thread Matt S Trout
when $c-action is undefined. This a bug in the plugin or do I need to somehow define a default XMLRPC action? Bug in the plugin. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst

Re: [Catalyst] Why use external FastCGI apps?

2008-04-06 Thread Matt S Trout
so long as it's there - a mis-placed article can be moved but a nonexistant one is no use at all :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want

Re: [Catalyst] Catalyst::Controller::REST and JSON::XS - Namespace/Custom modules

2008-04-06 Thread Matt S Trout
going wrong. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/http

Re: [Catalyst] Book - Japanese

2008-04-06 Thread Matt S Trout
customers asking for it in Japanese is probably what will make them do it if they do :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development

Re: [Catalyst] Memory leak under FastCGI?

2008-04-06 Thread Matt S Trout
the external fastcgi process periodically to free its memory? Yep. Other than really gross leaks it's often not worth the developer time involved to track them down. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp

Re: [Catalyst] Handy shotcuts

2008-04-06 Thread Matt S Trout
is attached. (1) Patches will -never- be attached without tests. If you haven't written tests, you should assume your code doesn't work. (2) There's no reason to pollute the core Catalyst with these; you could easily release this as a plugin. -- Matt S Trout Need help with your

Re: [Catalyst] fix config right before database connect?

2008-04-06 Thread Matt S Trout
::ConfigLoader docs for details. -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com

Re: [Catalyst] RFC for plugin to strip script name from URI; plugin name + code review

2008-04-06 Thread Matt S Trout
through so it things it was at / in the first place? -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Directorhttp://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http

Re: [Catalyst] Memory leak under FastCGI?

2008-04-10 Thread Matt S Trout
. Note also that the FCGI::ProcManager maintainer is Gareth Kirwan and can be found hopefully via this list or as gbjk on IRC. (moral of the story: RFC on here first before coding lest ye be reinventing a wheel :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project

  1   2   3   >