Re: [Catalyst] get the path to the home

2007-09-28 Thread Peter Karman
On 09/28/2007 07:30 AM, Octavian Rasnita wrote: Hi, I have a I18N module in my Catalyst application and I want to get the path to the home directory of the application. Is it possible to get it without hard codding it in that module? $c-path_to() -- Peter Karman . [EMAIL PROTECTED

Re: [Catalyst] CMS

2007-09-26 Thread Peter Karman
to provide real-time re-use of other .tt files (via PROCESS) within the .tt file being edited. So a user could (e.g.) pick a snippet from a dropdown list and insert it, and then see the rendered text immediately. But on save, only the [% PROCESS foo %] gets written. Oh, and images. :) -- Peter

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

2007-09-24 Thread Peter Karman
have tuits to spend on it and would gladly contribute code/tests/docs if I was told those were needed, and given a pointer to where to start. TIA -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] CatalystX::CRUD

2007-09-24 Thread Peter Karman
On 09/23/2007 11:24 AM, Matt S Trout wrote: On Fri, Sep 21, 2007 at 08:57:35AM -0500, Peter Karman wrote: CXCM subclasses would need to implement at least the following methods: * new_object - returns CatalystX::CRUD::Object-new() * fetch - returns CatalystX::CRUD::Object-new

Re: [Catalyst] Catalyst::Controller::Rose::Simple = CatalystX::RoseIntegrator

2007-09-24 Thread Peter Karman
up. Thank you. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org

Re: [Catalyst] Catalyst::Model::Search

2007-09-24 Thread Peter Karman
install C::M::Search and get all they need to implement a new subclass, without also needing to satisfy all the Plucene dependencies. cheers, pek -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ --- Search.pm.orig 2007-09-24 10:33:51.534326000 -0500 +++ Search.pm 2007-09-24 10:56

Re: [Catalyst] Catalyst::Model::Search

2007-09-24 Thread Peter Karman
On 09/24/2007 11:02 AM, Peter Karman wrote: On 09/23/2007 11:28 AM, Marcus Ramberg wrote: Catalyst::Model::Search is a quite old module which have been living in Catalyst trunk for quite a while. It's being used by MojoMojo, and it just happened to work, so I pushed it to CPAN so

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

2007-09-24 Thread Peter Karman
the interface eventually disappearing. These include get_user() instead of the newer find_user() et al. As I have the time (and who knows how long that will last...), I'd still like to bring the LDAP plugins up to speed. I'll hack on it a bit today and see where I get. -- Peter Karman . [EMAIL

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

2007-09-24 Thread Peter Karman
On 09/24/2007 11:55 AM, Peter Karman wrote: As I have the time (and who knows how long that will last...), I'd still like to bring the LDAP plugins up to speed. I'll hack on it a bit today and see where I get. These patches seem to bring the LDAP plugins up the latest Authentication API

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

2007-09-24 Thread Peter Karman
On 09/24/2007 12:22 PM, Peter Karman wrote: On 09/24/2007 11:55 AM, Peter Karman wrote: As I have the time (and who knows how long that will last...), I'd still like to bring the LDAP plugins up to speed. I'll hack on it a bit today and see where I get. These patches seem to bring

Re: [Catalyst] Re: Announce: CatalystX::Controller::reCAPTCHA

2007-09-24 Thread Peter Karman
Kieren Diment wrote on 9/24/07 7:17 PM: Thanks to mst clarifying what the CatalystX namespace is for [snip] I, for one, would benefit from that clarification. Matt, can you fill me [us] in? -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

[Catalyst] Catalyst::Model::Search

2007-09-21 Thread Peter Karman
junkie -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

[Catalyst] CatalystX::CRUD

2007-09-21 Thread Peter Karman
that there could then be classes like: CatalystX::CRUD::Model::DBIC CatalystX::CRUD::Object::DBIC CatalystX::CRUD::Model::CDBI CatalystX::CRUD::Object::CDBI etc., that would all play nicely with C::C::Rose. Thoughts? -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com

Re: [Catalyst] Catalyst::Model::Search

2007-09-21 Thread Peter Karman
On 09/21/2007 09:39 AM, Jonathan Rockway wrote: Peter Karman wrote: I see Catalyst::Model::Search on CPAN now. As the maintainer of Catalyst::Model::SWISH, I'd love to get in on that namespace action. Is Catalyst::Model::Search intentionally undocumented? Are there plans for a formal API

Re: [Catalyst] Catalyst::Controller::Rose::Simple

2007-09-20 Thread Peter Karman
for Peter Karman, C::C::Rose author), the suffix ::Simple (suggested by him) means Take all that [what already exists, i.e. Catalyst and Rose] and make it simpler to use together. Alexandre, Actually, I had suggested you use ::Simple because in your original email to me, (a) you had indicated you

Re: [Catalyst] Problems forwarding to view

2007-08-02 Thread Peter Karman
Adeola Awoyemi wrote on 8/2/07 6:12 AM: Hi all, I'm trying to use Catayst::View::XSLT and my end sub looks like this: # from MyApp::Controller::Root sub end : Private { my ( $c, $self ) = @_; $c-forward( $c-view('XSLT') ); } my ($self, $c) = @_; you got 'em reversed. -- Peter

Re: [Catalyst] Re: [RHTMLO] RDBO/RHTMLO integration with Catalyst - work in progress

2007-07-22 Thread Peter Karman
Matt S Trout wrote on 7/22/07 12:48 PM: On Sat, Jul 21, 2007 at 08:02:24AM -0500, Peter Karman wrote: check out Catalyst::Controller::Rose on cpan. It has a different philosophy than what you've described. But if you find features missing that you think would make it more useful, please

[Catalyst] Re: [RHTMLO] RDBO/RHTMLO integration with Catalyst - work in progress

2007-07-21 Thread Peter Karman
. Thank you for your attention. Regards, -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com

Re: [Catalyst] Re: [RHTMLO] RDBO/RHTMLO integration with Catalyst - work in progress

2007-07-21 Thread Peter Karman
Alexandre Jousset wrote on 7/21/07 1:12 PM: Peter Karman a écrit : check out Catalyst::Controller::Rose on cpan. It has a different philosophy than what you've described. But if you find features missing that you think would make it more useful, please send me patches/tests/docs etc. You

Re: [Catalyst] RFC for handling reverse proxies not deployed to standard ports.

2007-06-15 Thread Peter Karman
://article.gmane.org/gmane.comp.web.catalyst.general/6703/match=moseley+port+http+backend -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

Re: [Catalyst] Auth plugin for mod_auth_tkt

2007-06-06 Thread Peter Karman
::* stuff? -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

Re: [Catalyst] deploying a Catalyst app

2007-06-04 Thread Peter Karman
On 06/01/07 15:00, mla wrote: I've always used cvs/svn for the app. Tagged it for staging/prod and pulled the changes to the appropriate servers. svn++ -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst

Re: [Catalyst] template toolkit caching

2007-05-31 Thread Peter Karman
Template::Plugin::Cache will do what you want. Perrin (the author) has a patch from me that lets you pass in the Cache object from Catalyst and use that, so any supported backend is available. If you bug him, I'll bet he'll get a new version up on CPAN. ;) -- Peter Karman . http://peknet.com

Re: [Catalyst] Catalyst and CGI::Ajax

2007-05-23 Thread Peter Karman
and Scriptaculous: http://search.cpan.org/src/KARMAN/Catalyst-Controller-Rose-0.02/t/examples/CatRose/ And yes Dojo/Mocha/YUI/lib-de-jour lovers, I know Prototype isn't cool anymore. ;) -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst

Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Peter Karman
, RDBO works like you describe DBIC. The *Manager classes are for groups of objects. For one object to another, you use the fk and relationship Metadata definitions (1-1, 1-m, m-m, etc). $objectB = $objectA-objectB; -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Catalyst with apache, how to auto restart like run myapp_server.pl -r?

2007-05-21 Thread Peter Karman
template like this: a href=/itemh1[% item %]/h1/a a href=[% c.uri_for('/item') %][% item %]/h1/a That second is a FAQ. Make sure you read the Catalyst advent calendars at: http://www.catalystframework.org/calendar/2005/ http://www.catalystframework.org/calendar/2006/ -- Peter Karman . http

Re: [Catalyst] Form validation in insert() and update()?

2007-05-15 Thread Peter Karman
are also describing. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org

Re: [Catalyst] Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-09 Thread Peter Karman
. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http

Re: [Catalyst] Shoot out -- Catalyst / RoR / Other MVC apps --

2007-05-09 Thread Peter Karman
, session(), and all the rest of the methods would be available via the object returned from session(). Yes, the Catalyst::Plugin::Cache system could work much the same way. There seem to be a lot of syntatically sweet methods in some plugins that just wrap around the core method. -- Peter

Re: [Catalyst] How to make MyApp::B a part of MyApp::A ?

2007-05-02 Thread Peter Karman
base qw( MyBaseClass ); 1; then override and extend MyApp::A and MyApp::B for whatever application-specific reasons you have. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http

[Catalyst] [ANNOUNCE] Rose::* modules on CPAN

2007-04-23 Thread Peter Karman
::R controllers is an entire example Catalyst app called CatRose. It's in the t/examples/ directory. It includes templates, in-place-editing with Javascript, and some other goodies. Comments/patches/tests welcome. cheers, pek -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] [ANNOUNCE] Rose::* modules on CPAN

2007-04-23 Thread Peter Karman
Jeff Chimene scribbled on 4/23/07 1:06 PM: I've installed the Catalyst-Controller-Rose 0.02 and the examples stayed in the CPAN working directory. Is this the intended behavior? yup. They're just examples. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] HOWTO reference config settings from template

2007-04-12 Thread Peter Karman
Jeff Chimene scribbled on 4/12/07 9:29 AM: Hi, I'm not sure if this is a Catalyst question - How do I reference __PACKAGE__config settings from a Template Toolkit template? I'd like to use the config tool to set values outside the stash. [% c.config.yourconfigkeyhere %] -- Peter

Re: [Catalyst] HOWTO reference config settings from template

2007-04-12 Thread Peter Karman
cheers. pek -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: [EMAIL PROTECTED] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ Dev site: http

Re: [Catalyst] little syntax

2007-04-12 Thread Peter Karman
? Or please point me to somewhere that I could do some reading on the question. you want: $c-stash-{recs} = [EMAIL PROTECTED]; and then in tt: [% FOR rec IN recs; rec.id; rec.name; END %] -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Handling slow uploads externally

2007-04-12 Thread Peter Karman
and a Catalyst base controller being released on CPAN? I'd be interested in collaborating on something if you end up rolling your own. We were looking at this recently: http://trac.lighttpd.net/trac/wiki/Docs%3AModUploadProgress and doing something similar to what you're describing. -- Peter Karman

Re: [Catalyst] HTML::FormFu and Rose::DB::Object?

2007-04-03 Thread Peter Karman
you as less than a clear separation of concerns? -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Can not start my apache with catalyst app under mod_perl

2007-04-03 Thread Peter Karman
sugo.seepaul.dyndns.org:0, exiting... How can I say Perl where to seek for this script? though the mod_perl docs claim that PerlSwitches can be inside a vhost, I had a similar experience the other day that was solved by putting that -I/path outside the vhost directive. -- Peter Karman . http://peknet.com

Re: [Catalyst] Swish-e

2007-03-22 Thread Peter Karman
: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg06061.html -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] PageCache and Apache

2007-03-15 Thread Peter Karman
copy is cached on the server, it seemed a fair tradeoff to me if it solved the problem. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst

Re: [Catalyst] Performance

2007-03-09 Thread Peter Karman
. I'm still having high hopes to build something fast(er) with URI::Template. http://search.cpan.org/~jsiracusa/Rose-URI-0.021/lib/Rose/URI.pm -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo

Re: [Catalyst] Bread crumb

2007-02-07 Thread Peter Karman
a (modified) version of C::P::Breadcrumbs for a while and it works ok. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

Re: [Catalyst] Recommend methods for form handling

2007-01-19 Thread Peter Karman
and slimmer. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site

Re: [Catalyst] HTML to plain text conversion

2007-01-08 Thread Peter Karman
like it because it preserves tables pretty well. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail

Re: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAPsettingsfor Microsoft Active Directory

2006-12-22 Thread Peter Karman
Hermida, Leandro scribbled on 12/22/06 10:11 AM: -Original Message- From: Peter Karman [mailto:[EMAIL PROTECTED] http://article.gmane.org/gmane.comp.web.catalyst.general/7523/ match=ldap It works! Thanks for this link! glad it helped. TLS or SSL don't seem to work when

Re: [Catalyst] Checking client browsers, best approach?

2006-09-20 Thread Peter Karman
$c-req-browser.ie) { $c-stash-{ie_win_too_bad}++; } -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http

[Catalyst] patch: C::P::Compress::Deflate

2006-09-19 Thread Peter Karman
browsers below version 6. + +BNOTE: The Bskip_ie feature requires the Catalyst::Plugin::Browser module. + + =head1 SEE ALSO LCatalyst. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] patch: C::P::Compress::Deflate

2006-09-19 Thread Peter Karman
should handle the compression? Seems like maybe the backend could, since we are caching pages, but don't know if there are accepted best practices on this. Thanks. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst

Re: [Catalyst] multiple row entry

2006-08-24 Thread Peter Karman
on Prototype that I am getting near to open sourcing. It does exactly this: spreadsheet-style editing of multiple rows of data. Let me know offlist if you'd like an alpha copy; I'd love to get some feedback on it. cheers, pek -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED

Re: [Catalyst] Bug in uri_for()

2006-07-14 Thread Peter Karman
this morning. I think the issue is how the URI::http object is overloaded. My solution was to do the same thing the overloading does: $c-uri_for( $c-req-base-as_string ) which is similar to what you're doing, but with the documented method rather than forcing the overload to occur. -- Peter