Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-03-10 Thread Peter Karman
On 03/10/2008 07:14 AM, Zbigniew Lukasiak wrote: Hi Peter, On Wed, Feb 20, 2008 at 7:48 PM, Peter Karman [EMAIL PROTECTED] wrote: Also look at CatalystX::CRUD::Model::DBIC. Feedback appreciated. I had today another look at CatalystX::CRUD - it is promising, but I think there is too

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-06 Thread Peter Karman
DBIC and C::C::HTML::FormFu, so I made my own. Anyway, kudos! Consider contributing a CX::CRUD::Controller::FormFu then! :) If you based yours off the Rose::CRUD API, you're mostly there. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Base controllers and multiple inheritance

2008-03-05 Thread Peter Karman
. IME, there isn't much you want like that. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Session Expiry

2008-03-01 Thread Peter Karman
'expires' entry in the cache. AFAIK it is the only session store class to do that. I don't know if that is a fault with how the Cache store itself is implemented, or with the implementation of the superclass. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Instant CRUD with DBIC::Schema

2008-02-20 Thread Peter Karman
On 02/20/2008 09:17 AM, Alex Povolotsky wrote: Hello! Scaffold seems to be a good thing, but it is using CDBI. Maybe something like it with DBIC exists? Also look at CatalystX::CRUD::Model::DBIC. Feedback appreciated. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com

[Catalyst] using frontend proxy with non-/ PATH_INFO

2008-02-11 Thread Peter Karman
-{prepend_path_info} ) { +$base_path = $c-config-{prepend_path_info} . $base_path; +} + my $path = $base_path . ( $ENV{PATH_INFO} || '' ); $path =~ s{^/+}{}; -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-02-05 Thread Peter Karman
to CPAN etc. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ 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

Re: [Catalyst] How to use dbh in the model

2008-01-29 Thread Peter Karman
/Fast.pm line 38. MyApp::Model::DBI connect_info is automatically loaded from the global config file. I need to get the models dbh into DBIx::Simple-new(). What am I doing wrong? override new() instead? See the Catalyst::Component docs. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-25 Thread Peter Karman
-- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ 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

Re: [Catalyst] OT: YUI v Ext JS

2008-01-25 Thread Peter Karman
if Ext had some widget I really wanted, I would just use both together. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
you can safely ignore those test failures for now. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
On 01/24/2008 03:45 PM, Andrew Peebles wrote: Peter Karman wrote: On 01/24/2008 02:49 PM, Andrew Peebles wrote: perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 23 Jan 2008 23:30

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread Peter Karman
On 01/24/2008 03:22 PM, Jonathan Rockway wrote: Peter Karman [EMAIL PROTECTED] writes: On 01/24/2008 02:49 PM, Andrew Peebles wrote: perl -MCPAN -e 'install Catalyst::Authentication::Store::LDAP' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed

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

2008-01-22 Thread Peter Karman
Peter Karman wrote on 1/20/08 7:53 PM: Aristotle Pagaltzis wrote on 1/20/08 7:36 PM: * Peter Karman [EMAIL PROTECTED] [2008-01-20 22:10]: there's no checking of HTTP method at all. Yikes!! img src=http://example.org/foo/id/42/delete; I actually consider that a feature, since

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

2008-01-20 Thread Peter Karman
. -- Peter Karman . http://peknet.com/ . [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

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

2008-01-20 Thread Peter Karman
Aristotle Pagaltzis wrote on 1/20/08 7:36 PM: * Peter Karman [EMAIL PROTECTED] [2008-01-20 22:10]: there's no checking of HTTP method at all. Yikes!! img src=http://example.org/foo/id/42/delete; That API is intentionally RESTish It’s not REST if it ignores the uniform interface – it’s

Re: [Catalyst] View plugin for excell/OO

2008-01-14 Thread Peter Karman
::Class to excel sheet, but Catalyst-View-Excel-Template-Plus is not enough documented. Can anyone show me examples pls. Thanks. Look at CatalystX::CRUD::View::Excel. http://search.cpan.org/~karman/CatalystX-CRUD-View-Excel-0.03/ -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] View plugin for excell/OO

2008-01-14 Thread Peter Karman
On 01/14/2008 08:01 AM, Angel Kolev wrote: the file archive_report.tt is in MyApp/root/src/sheets xls that i receive is named myapp_archives_export.xls what are the contents of MyApp/root/src/sheets ? That's what will matter. Is that template actually getting called? -- Peter Karman

Re: [Catalyst] ResultSet renderer?

2008-01-07 Thread Peter Karman
of CatalystX::CRUD::Model::DBIC that might be useful to look at. I'm sure the templates generated by RDGC could be adapted to use it instead. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http

Re: [Catalyst] Re: Database connections leaking

2007-12-31 Thread Peter Karman
in place of plain DBI handles, so that anyone who needs this functionality can use that instead of maintaining the $N'th copy of the code? How is this different than DBI's own connect_cached() method? http://search.cpan.org/~timb/DBI-1.601/DBI.pm#connect_cached -- Peter Karman . [EMAIL PROTECTED

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

2007-12-18 Thread Peter Karman
it’s impossible to forget to unpack the array when you meant to do that.) I did something similar in my last $job, where I just had a begin() block in my Root.pm that reset params-{foo} to always return an arrayref. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com

Re: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAP problems

2007-11-12 Thread Peter Karman
Apache stores the user name from its auth in the REMOTE_USER env var. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive

Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread Peter Karman
awhile back too: http://www.mail-archive.com/[EMAIL PROTECTED]/msg06061.html -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable

[Catalyst] ANNOUNCE: Rose::DBx::Garden::Catalyst

2007-11-09 Thread Peter Karman
perl mk_cat_garden.pl # start your Catalyst dev server cd MyApp perl script/myapp_server.pl # enjoy the fruits at http://localhost:3000/rdgc Feedback, comments, patches, tests, docs, etc., all welcome. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com

Re: [Catalyst] Re: [OT] Search Solution

2007-11-09 Thread Peter Karman
On 11/09/2007 03:47 PM, Octavian Rasnita wrote: Do you have a recommendation for a good perl module that can be used easyly for creating a spider that should index a web site? If you don't need UTF-8, check out Swish-e. It has a spider and parser. -- Peter Karman . [EMAIL PROTECTED

Re: [Catalyst] A question on persistence with sessions or similar

2007-11-06 Thread Peter Karman
. Really, it is very simple. And I thought I had it. $c-flash $c-session That does what you describe. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

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

2007-10-18 Thread Peter Karman
Thanks to Adam, mst and jshirley for bringing me into the Cat fold. Catalyst-Plugin-Authentication-Store-LDAP-0.0600 was just pushed to CPAN. This brings the LDAP auth plugin up to speed with the current C::P::Authentication realms API. On 09/24/2007 12:22 PM, Peter Karman wrote: On 09/24

<    1   2