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() -- Pe

Re: [Catalyst] CMS

2007-09-26 Thread Peter Karman
foo %] gets written. Oh, and images. :) -- 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/catal

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

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 >&g

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

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

2007-09-24 Thread Peter Karman
) 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 PROTECTED] . http://peknet.com/ ___

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 wo

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

2007-09-24 Thread Peter Karman
with them. That way someone could 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 ++

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

2007-09-24 Thread Peter Karman
required for it to show 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-ar

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

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

2007-09-24 Thread Peter Karman
LDAP plugins need some help getting up to the latest Authentication API, I 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/ __

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 undocumen

[Catalyst] CatalystX::CRUD

2007-09-21 Thread Peter Karman
(e.g., the rdbo() method in the above create example). I imagine 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. Thought

[Catalyst] Catalyst::Model::Search

2007-09-21 Thread Peter Karman
earch 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

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

2007-09-21 Thread Peter Karman
7;rose' in your POD anywhere, you'd get hits. Try searching for 'brown fox' to see what I mean. -- Peter Karman . [EMAIL PROTECTED] . http://peknet.com/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.o

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

2007-09-20 Thread Peter Karman
sure I haven't your experience but for me (and also 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 suggest

Re: [Catalyst] Catalyst + RHTMLO

2007-09-08 Thread Peter Karman
r with DBIC (or others) to help define an API. I outlined the existing requirements here: http://thread.gmane.org/gmane.comp.web.catalyst.general/14116/focus=14133 -- Peter Karman . [EMAIL PROTECTED] . http://www.peknet.com/ ___ List: Catalyst@l

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 &#

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, p

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

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

2007-07-21 Thread Peter Karman
alidation classes (better IMHO)? For the moment the error messages are localized in the template with a macro. Thank you for your attention. Regards, -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@list

[Catalyst] ANNOUNCE: new Catalyst::Controller::Rose and Catalyst::Model::RDBO on CPAN

2007-06-29 Thread Peter Karman
e Catalyst::Exception instead of Carp and added throw_error() method to allow for easy overriding. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinf

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

2007-06-15 Thread Peter Karman
app. See also http://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/li

Re: [Catalyst] Auth plugin for mod_auth_tkt

2007-06-06 Thread Peter Karman
with the existing Session::* 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@li

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: Cat

Re: [Catalyst] template toolkit caching

2007-05-31 Thread Peter Karman
I believe 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

Re: [Catalyst] Link to file

2007-05-24 Thread Peter Karman
l only since tying up Cat time with static content is considered Not a Best Practice. So I just avoid it altogether and run a separate apache process on my dev box that serves my static content for me. That way moving from dev to production is as simple as changing the config definition for [%

Re: [Catalyst] Catalyst and CGI::Ajax

2007-05-23 Thread Peter Karman
e 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

Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Peter Karman
ually, 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 P

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

2007-05-21 Thread Peter Karman
ve this bug? My template like this: [% item %] [% item %] 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://peknet.com/ . [

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

2007-05-15 Thread Peter Karman
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
yst object, 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.

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

2007-05-09 Thread Peter Karman
Dave Rolsky scribbled on 5/9/07 8:57 AM: On Wed, 9 May 2007, Peter Karman wrote: * subclass subclass subclass I meant that as in 'pound this into my own brain' rather than 'always do this'. As in, 'remember that if an existing module does 90% of what you want,

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

2007-05-09 Thread Peter Karman
talyst Model feature. -- 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

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

2007-05-02 Thread Peter Karman
package MyApp::B; use 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.raw

Re: [Catalyst] many Views that may include common display fragments

2007-04-25 Thread Peter Karman
rtal route. The app I'm working on is a CRM one... with various dashboard status, hot-list and other fragments that need displaying on many different pages. that sounds just like TT, which IIRC, you were avoiding because it seemed "less contemporary" ;) -- Peter Karman . http

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

[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 PROT

Re: [Catalyst] MySQL server has gone away

2007-04-19 Thread Peter Karman
27; it works fine. Has anyone come across this before? Any hints to fixing this would be greatly appreciated. http://perl.apache.org/docs/1.0/guide/databases.html#The_Morning_Bug I often experienced it with the Session::Store::DBI plugin; I think the latest version fixes that. -- Peter Kar

Re: [Catalyst] Handling slow uploads externally

2007-04-12 Thread Peter Karman
CGI 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 describi

Re: [Catalyst] little syntax

2007-04-12 Thread Peter Karman
tt2 to access the id and name? 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://pekne

Re: [Catalyst] HOWTO reference config settings from template

2007-04-12 Thread Peter Karman
es/CatRose/lib/CatRose/View/TT.pm 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

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 %]

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

2007-04-04 Thread Peter Karman
on if it doesn't fit the generic model. Just like a real web designer would. ;) I find that defining the form in YAML is one level removed from the XHTML itself, so I just define a base RHTMLO class with default labels for all my fields, and then do whatever the business requirements dema

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

2007-04-03 Thread Peter Karman
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/ . [EMAIL

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

2007-04-03 Thread Peter Karman
LO that strikes 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

Re: [Catalyst] Swish-e

2007-03-23 Thread Peter Karman
ioned from Catalyst. In case you do end up wanting to try out Swish-e, I have uploaded my Swish-e Model class to CPAN. I have been using it in production for about 6 mos. It is modeled after the Catalyst::Model::Xapian API. http://search.cpan.org/~karman/Catalyst-Model-SWISH-0.01/ -- Peter K

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] Rose::DB

2007-03-19 Thread Peter Karman
Christian Storm scribbled on 3/19/07 6:15 PM: Is anyone working on a Rose::DB catalyst model plugin? I think you mean Rose::DB::Object, and yes, I have one I'd been considering contributing. If you're interested in collaborating, email me offlist. -- Peter Karman . http://

Re: [Catalyst] PageCache and Apache

2007-03-15 Thread Peter Karman
ince that fresh 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/li

Re: [Catalyst] Performance

2007-03-09 Thread Peter Karman
ures in your chains. 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@l

Re: [Catalyst] Bread crumb

2007-02-07 Thread Peter Karman
ing 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:

Re: [Catalyst] Recommend methods for form handling

2007-01-19 Thread Peter Karman
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
txt I 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.m

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

Re: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAP settingsfor Microsoft Active Directory

2006-12-22 Thread Peter Karman
http://article.gmane.org/gmane.comp.web.catalyst.general/7523/match=ldap pek -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.

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

2006-09-20 Thread Peter Karman
imilar to what you describe and set stash var in begin() method: if ($c->req->browser->windows && $c->req->browser.ie) { $c->stash->{ie_win_too_bad}++; } -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] __

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

2006-09-19 Thread Peter Karman
wned by Sebastian Riedel so we have no way of getting > patches fed back and as such they shoul be considered entirely > unmaintained. > would it still be called C::P::Compress? Or would a new namespace be needed? -- Peter Karman . http://peknet

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

2006-09-19 Thread Peter Karman
Peter Karman scribbled on 9/19/06 10:45 AM: see http://article.gmane.org/gmane.comp.web.catalyst.general/2089/match=static+simple+compress I didn't see mention of any fix in the list archives, hence this patch. To make some amends for my earlier bone-headedness, here's pa

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

2006-09-19 Thread Peter Karman
l backend setup. Which server 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] ___

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

2006-09-19 Thread Peter Karman
Perrin Harkins scribbled on 9/19/06 10:34 AM: > Peter Karman wrote: >> Patch below allows Compress::Deflate plugin to play nicely with >> Static::Simple and to allow for skipping deflation based on browser. >> Specifically, we found issues with older versions of IE tha

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

2006-09-19 Thread Peter Karman
ou +want to skip deflation. + +Example: + + __PACKAGE__->config( compress => { skip_ie => 6 } ) + +will skip deflation for all IE browsers below version 6. + +B The B feature requires the Catalyst::Plugin::Browser module. + + =head1 SEE ALSO L. -- Peter Karman . http://p

Re: [Catalyst] multiple row entry

2006-08-24 Thread Peter Karman
a small JS lib built 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.

Re: [Catalyst] Bug in uri_for()

2006-07-14 Thread Peter Karman
s_string ) which is similar to what you're doing, but with the documented method rather than forcing the overload to occur. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmod