[cgiapp] Access to C::A object in CAP::ValidateRM profile

2006-07-07 Thread Wojciech Pietron
CAP::ValidateRM 2.1 CA 4.03 Hello, there is a simple profile in application based on CGI::Application and CAP::ValidateRM like that: sub _form_profile { return { required = 'email', msgs = { any_errors =

[cgiapp] Re: Access to C::A object in CAP::ValidateRM profile

2006-07-07 Thread Lance A. Brown
Hi, I used this syntax to get access to $self inside a profile. I basically treated the sub that creates the form profile as a method in the class and called it as such. Worked like a champ. In the run mode: # Check edit data my ($results, $err_page) = $self-check_rm('show_form',

[cgiapp] Re: re-branding CGI::App

2006-07-07 Thread Robert Hicks
Cees Hek wrote: Let's call it møøse!!! Oh wait, that one is taken already. How about døtCGI!!! Nope, no good. How about Cøtølyst!!! This is tougher than I thought :) Seriously though, I think a cool name would be a good thing. But I generally come up with really crap names so I will leave

Re: [cgiapp] Re: re-branding CGI::App

2006-07-07 Thread Spencer Christensen
Bill Stephenson wrote: Does anyone remember this thread? http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg04537.html Although none of these names really grabbed me, I think it's worth reviewing. Ha! Yes, and many of them still make me chuckle. Captain Perl makes me think of a

[cgiapp] Re: re-branding CGI::App: taking a step back

2006-07-07 Thread Mark Stosberg
So I've caught up all the re-branding conversation. I'll try to add a fresh perspective. There are really two things we are talking about here. One is a single Perl module named CGI::Application. The other is a Larger Thing Which Not Yet Been Named. Roughly, this is what you can do with

[cgiapp] RFC v2: CGI::Application::Plugin::Cache

2006-07-07 Thread Jason A. Crome
Howdy, Here's the second (and hopefully final!) RFC for CGI::Application::Plugin::Cache. I received a LOT of good feedback, both on and off list, and a whole bunch more at YAPC. I wish I could say a lot of ideas were mine - I have to give Cees, hide, and Perrin a lot of props for

RE: [cgiapp] RFC v2: CGI::Application::Plugin::Cache

2006-07-07 Thread Dan Horne
Hi Jason Great work - I could really use this! One thing I like about HTML::Mason's caching is that it can effectively get one process to cache a new version of an expired page and set the expiration time on the old one a bit more into the future so that other processes still get the old cached

Re: [cgiapp] Re: Access to C::A object in CAP::ValidateRM profile

2006-07-07 Thread Ron Savage
On Fri, 07 Jul 2006 09:25:10 -0400, Lance A. Brown wrote: Hi Wojciech, Lance Here's how I do that. Complications: (a) 2 separate CGI forms can have the same drop-down campus menu, one for the academic's office campus and one for their teaching campus. Hence the parameter $id_name in sub

Re: [cgiapp] RFC v2: CGI::Application::Plugin::Cache

2006-07-07 Thread Jason A. Crome
Dan - Thanks for the positive feedback! While I haven't documented or done much with the driver interface yet, I imagine the abstraction it provides will also give driver authors the flexibility to add features to their caching backend of choice. Thanks for the info/suggestion. I'm