[Catalyst] Catalyst::Helper Changes

2009-09-08 Thread kevin montuori
Hi all -- I'd like to modify what Catalyst::Helper creates when initializing a new product. I'm wondering if there's a "best practice" for this or if I'm on my own. Thanks for any pointers. k. -- kevin montuori ___ Li

Re: [Catalyst] Catalyst::Helper Changes

2009-09-08 Thread kevin montuori
changing the conf file contents and name, and adding a line to MyApp.pm. There's more, but I think this is a fairly representative example of the kind of thing. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.

[Catalyst] Re: Catalyst::Helper Changes

2009-09-10 Thread kevin montuori
ory so they're kept with the project. Also I create a number of .../.template files and populate them with project-specific templates (for the benefit of emacs). There's probably more ... that's why I'm looking to automate it. k. -- kevin montuori montu...@gmail.com ___

[Catalyst] Re: Deployment in practice

2009-10-09 Thread kevin montuori
on. Pulling straight from VC you never really have that assurance. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: Forcing model to reconnect with different connect_info

2009-12-10 Thread kevin montuori
ard off to it. sub unset_model :Private { # omg, this is a wicked hack. my ($self, $c) = @_; for my $key ( keys %{ $c->stash } ) { if (ref $c->stash->{$key} eq 'MyApp::Model::DB') { delete $c->stash->{$key}; re

Re: [Catalyst] Slow Makefile.PL

2010-03-22 Thread kevin montuori
directory and into /tmp it's as fast as you'd expect. My guess is that FileVault is slowing things down. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst S

Re: [Catalyst] Alternatives to DBIx?

2010-04-17 Thread kevin montuori
#x27;s worked out well for me, particularly when I hand an SP off to a DBA for optimization; as a rule I get less grief when it's just SQL and not SQL embedded in some other language.) k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Li

Re: [Catalyst] Alternatives to Catalyst ?

2010-04-26 Thread kevin montuori
t implies > lack of understanding. Not if there's a spare can in the trunk for the backhoe. Everybody's situation is different, and there's often a good reason for seemingly "incorrect" questions. k. -- kevin montuori ___

Re: [Catalyst] problem with basic test of auto-generated TTSite code

2010-07-27 Thread kevin montuori
On Tue, Jul 27, 2010 at 10:07 AM, Leandro Hermida wrote: > Is it because at compile time MyApp doesn't have the path_to() method? >  How should I write the test? Perhaps a 'use MyApp' statement? k. -- kevin montuori _

Re: [Catalyst] Catalyst 5.8: the Perl MVC Framework - Packt Publishing

2010-08-01 Thread kevin montuori
in a world where Apress, ORA, AW, &c. books are so well done. Something as seemingly simple as consistent capitalization appears beyond Packt's reach. All things told, I wouldn't recommend it. k. -- kevin montuori ___ List: Catalyst@lis

Re: [Catalyst] source out accessors to LDAP-Model

2010-12-13 Thread kevin montuori
outines/accessors. See the documentation related to the "connection_class" and "entry_class" configuration items. You can specify subclasses of Catalyst::Model::LDAP::Connection and Catalyst::Model::LDAP::Entry and use them exa

[Catalyst] Re: How to insert from form to MySQL with autoincrement primary key?

2007-12-09 Thread kevin montuori
that "PK::Auto is now part of Core." k. -- kevin montuori [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: retrieving multiple values from forms

2007-12-15 Thread kevin montuori
ef $c->request->params->{title} ? @{ $c->request->params->{title} } : ($c->request->params->{title} || ''); k. -- kevin montuori [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsy

[Catalyst] Re: retrieving multiple values from forms

2007-12-18 Thread kevin montuori
''); the @{ ... } bit was not extraneous. (on the other hand, if there's a more idiomatic way of doing this i'd love to hear about it.) but this is not a catalyst issue, 'perldoc perlref' for more on references. cheers. k. -- kevin montuori

[Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-21 Thread kevin montuori
tful life than the other kind -- as a release engineer, i make sure that's the case. sure there are times when planning for everything that might change is too difficult or not practical or too expensive, but catalyst makes this common problem just sort of go away wit

[Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-22 Thread kevin montuori
mbda () (define-key html-mode-map "\C-c\C-c\h" 'ii-insert-catalyst-url))) and there'd be no new finger memory to develop, so no extra work whatsoever. cheers. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: javascript in Catalyst using Template Toolkit

2007-12-22 Thread kevin montuori
>>>>> "KD" == Kieren Diment <[EMAIL PROTECTED]> writes: KD> On 23 Dec 2007, at 01:06, kevin montuori wrote: >> (add-hook 'html-mode-hook KD> well tt-mode would be more sensible. my mileage varied. the font-locking of TT keywords would be ok b

[Catalyst] Re: two Catalyst flaws

2008-01-03 Thread kevin montuori
aid. that's too bad as it diminishes the book's usefulness.) k. [1] http://tinyurl.com/2fd5ld -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: h

[Catalyst] Re: Development environments and performance

2008-01-16 Thread kevin montuori
n releasing code to integration for regression testing. i'm certainly not seeing the performance problems that have been reported on this list. cheers. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.sc

[Catalyst] Re: Development environments and performance

2008-01-16 Thread kevin montuori
i'd be in favor of the former too; my argument is that the latter can (and does, sometimes) work. obCatalyst (finally): part of the reason i like catalyst so much is the ease with which it's possible to crank up individual development servers (even, for instance, two versions of the same code) and i'd repeat that i've found them to be very lightweight and work well in a shared resource setting, your mileage probably varied. cheers. k. -- kevin montuori ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: bypassing password authentication

2008-03-11 Thread kevin montuori
fo, $c); if (ref $user_obj) { return $user_obj; } else { $c->log->error("Unable to locate user in user store."); return; } } 1; -- kevin montuori [EMAIL PROTECTED] AIM: ignavusinfo ___ List: Catalyst@lists.scsy

[Catalyst] Re: Two Forms via FormBuilder on one page

2008-09-22 Thread kevin montuori
>>>>> "aj" == abhishek jain <[EMAIL PROTECTED]> writes: aj> Someone pl. reply, when you searched for catalyst::controller::formbuilder on cpan to see what else might come up, did you miss c::c::formbuilder::multiform? k. -

[Catalyst] Catalyst::Plugin::XMLRPC/Catalyst::Component::ACCEPT_CONTEXT issue.

2008-11-01 Thread kevin montuori
d this is the correct behavior or is there a bug somewhere? i've included the three modules and MyApp.pm below, everything else in the project is untouched. thanks for any help! cheers. k. -- kevin montuori [EMAIL PROTECTED] ## # # lib/MyAp

[Catalyst] Re: recommendation

2008-11-10 Thread kevin montuori
rading from one version to another. see create_ddl_dir() here: http://tinyurl.com/5vgwcj and sqlt-diff here: http://tinyurl.com/6ql6wo for details. i'm much better at writing perl classes than DDL though, so it was obvious that this was the right thing for me in a 50 table, 10 view database. no d

[Catalyst] Re: Catalyst::Plugin::XMLRPC/Catalyst::Component::ACCEPT_CONTEXT issue.

2008-11-14 Thread kevin montuori
? anyway, thanks for the pointer. k. -- kevin montuori [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/

[Catalyst] Re: One App, multiple databases

2008-11-19 Thread kevin montuori
ation but that use the same schema? i might be mistaken, but it seems that tying a user to a physical database circumvents some of the abstraction MVC provides. k. -- kevin montuori [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: ht

[Catalyst] Re: Beginner Question: Controller Layout

2008-12-09 Thread kevin montuori
does allow for a mix of role based and app specific authz. by doing the work in a mix-in class the authz logic is easily changed (or audited) independently of what the controller is doing. it's also nice for controllers to ask relevant questions like "can_edit_widget" rather than &q

[Catalyst] Re: Only call individual fields by number?

2008-12-16 Thread kevin montuori
arkup works fine: [% first_name = formbuilder.field.first_name; last_name = formbuilder.field.last_name -%] ... [% first_name.field %] [% last_name.field %] [% first_name.label %] [% last_name.label %] k. --

[Catalyst] Re: New Catalyst Book?

2009-02-06 Thread kevin montuori
i can't wait to read the catalyst book. one of the great selling points of the framework (to management types) is the idea that any programmer off the street could come in and hit the ground running in a catalyst shop ... having a second book helps further that notion significantly. k.

[Catalyst] Re: How to detect if the current form request is a post?

2009-04-01 Thread kevin montuori
crypted connections, for instance. (that's not to imply that it's not possible with POST, but it's less trivial. particularly at 3 am.) i think the maxim is: be strict in what you send and generous in what you receive. applications adhering to thi

[Catalyst] Re: RFC: Sample press release and announcement homepage

2009-04-24 Thread kevin montuori
a long time now. Also, why does Perl have to be a "scripting language"? I don't write scripts (particularly with Moose), I write programs. If you're uncomfortable with "any major language" (or, better, "any popular language") how about substituting "