Re: [cgiapp] ANN: New releases for CAP::DevPopup, CAP::HtmlTidy and H::T::Pluggable

2005-10-04 Thread Michael Peters
name as pointed out by Mark). I am planning on making that an option for the popup plugin too. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] ANN: New releases for CAP::DevPopup, CAP::HtmlTidy and H::T::Pluggable

2005-10-04 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: Rhesa Rozendaal wrote: I've been a busy little bee, and have updated three modules. Making CAP::HtmlTidy co-operate with CAP::DevPopup was my primary goal for today, and I'm quite pleased with the result. You can see it in action on http

Re: [cgiapp] CGI::Application performance alternatives

2005-10-03 Thread Michael Peters
modules not thinking about shared memory. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e

Re: [cgiapp] CGI::Application performance alternatives

2005-10-03 Thread Michael Peters
some resources on the DB server. Like I mentioned earlier, most people have a smaller number of mod_perl processes as the backend. I would say that you probably need about as many back end mod_perl processes as FastCGI/PPerl processes for the same load. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] CGI::Application performance alternatives

2005-10-03 Thread Michael Peters
with reporting shared memory. This is being fixed but unless you've patched your kernel you wont see how much memory processes are sharing. You can read more here: http://www.gossamer-threads.com/lists/modperl/modperl/78318?search_string=gtop%20linux%20shared;#78318 -- Michael Peters Developer Plus

Re: [cgiapp] CGI::Application performance alternatives

2005-10-03 Thread Michael Peters
of the persistent perl. So any cron jobs, etc will need to load their own perl and their own versions of modules. Now on most applications this doesn't really matter. But it might. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] CGI::Application performance alternatives

2005-10-03 Thread Michael Peters
Cees Hek wrote: On 10/3/05, Michael Peters [EMAIL PROTECTED] wrote: Memory will only get unshared if it's written to. So it's quite possible that there are a lot of modules out there that will change package level variables, etc and thus unshare a page. But I don't think this is a perl issue

Re: [cgiapp] RFC: CGI::Application::Plugin::Output::PDF

2005-09-23 Thread Michael Peters
how much address info is provided... no i'm babbling.. Using PDF::API2 you just add a new page like so: my $pdf = PDF::API2-new(); my $page = $pdf-page(1); # add some text $page-gfx-textlabel(); $page-update(); # get a new page $page = $pdf-page(2); ... -- Michael Peters Developer Plus Three

Re: [cgiapp] Re: RFC: CGI::Application::Plugin::Output::PDF

2005-09-23 Thread Michael Peters
a PDF of something that is never actually seen in HTML by the user. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l

Re: [cgiapp] Best practices to keep the robots from shopping ?

2005-09-23 Thread Michael Peters
this, and that separate script for get/post idea just gave me the shivers -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr

Re: [cgiapp] ANNOUNCE: CGI::Application::Plugin::DevPopup 0.01

2005-09-21 Thread Michael Peters
Tregar to get his DB profiler pop up thingy working with new DevPopup too. http://use.perl.org/~samtregar/journal/25051 -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] Question on session cookies left on disk

2005-09-15 Thread Michael Peters
you need to scale. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL

Re: [cgiapp] Is there a better C::A design pattern

2005-09-15 Thread Michael Peters
approach because the 2nd reminds me too much of PHP :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] RFC: synopsis for CGI::App book

2005-09-08 Thread Michael Peters
to replace/re-invent all their tools :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e

Re: [cgiapp] RFC: CGI::Application::Plugin::Auth

2005-09-01 Thread Michael Peters
users. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Layout template ideas?

2005-08-30 Thread Michael Peters
templates with arguments. This is especially helpful for recursive templates (eg, a threaded discussion) where you can pass the root node to a template much like you would for a recursive function. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Layout template ideas?

2005-08-29 Thread Michael Peters
this: wrapper.tmpl html headtitle[% page_title %]/title/head body[% content %]/body /html gooey.tmpl [% SET page_title = 'Gooey Center' %] ... Your perl code: my $template = Template-new( WRAPPER = 'wrapper.tmpl', ... ); -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] RFC: CGI::Application::Plugin::CAPTCHA

2005-08-27 Thread Michael Peters
and then allow some mechanism that someone can use if they need to override it. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l

Re: [cgiapp] RFC: CGI::Application::Plugin::CAPTCHA

2005-08-26 Thread Michael Peters
and still almost as fast as the other 2 (look at BerkeleyDB and BerkeleyDB::Lite) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] RFC: CGI::Application::Plugin::CAPTCHA

2005-08-26 Thread Michael Peters
Cache::* module suits?. Ok, before we go down this road, can anyone give me a good reason that we need to permanently store these images or even cache them? The CAPTCHA phrase should be random enough that we would never use the same image twice in a reasonable amount of time right? -- Michael

Re: [cgiapp] RFC: CGI::Application::Plugin::CAPTCHA

2005-08-25 Thread Michael Peters
with my approach would be if some or all browsers wouldn't accept cookies with an image. I can't imagine why they wouldn't, but I've never tested it myself. -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] RFC: CGI::Application::Plugin::CAPTCHA

2005-08-25 Thread Michael Peters
Jason A. Crome wrote: On Aug 25, 2005, at 11:56 AM, Michael Peters wrote: I don't think the user should have to call create_captcha() at all. It should be a run mode that is automatically added to the using app. What about those runmodes that don't need a CAPTCHA? All of my runmodes

Re: [cgiapp] Re: RFC: CGI::Application::Plugin::CAPTCHA

2005-08-25 Thread Michael Peters
Mark Stosberg wrote: On 2005-08-25, Michael Peters [EMAIL PROTECTED] wrote: Jason A. Crome wrote: On Aug 25, 2005, at 11:56 AM, Michael Peters wrote: I don't think the user should have to call create_captcha() at all. It should be a run mode that is automatically added to the using app

Re: [cgiapp] suggestion for ::FillInForm shortcut

2005-08-22 Thread Michael Peters
since according to the docs for CAP::FiF -b $html must be a scalarref. So there shouldn't be any confusion. Too magical ? I don't think it's too magical. This is essentially what ::ValidateRM does to right? -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] ANNOUNCE: CAP::LinkIntegrity 0.02

2005-08-19 Thread Michael Peters
the module you want to use to generate the checksum (e.g. Digest::MD5 or Digest::SHA1), or you can create your own subroutine to do the work. Overall, very cool stuff... -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] ANNOUNCE: CAP::LinkIntegrity 0.02

2005-08-19 Thread Michael Peters
I should have thought of that too. Examples are good. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] using run mode names to provide file name extensions

2005-08-19 Thread Michael Peters
it a Content-Disposition header to give the file a name? Content-Dispositioni: attached; filename=download.zip; -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] using run mode names to provide file name extensions

2005-08-19 Thread Michael Peters
Michael Peters wrote: What happens if you send it a Content-Disposition header to give the file a name? Content-Dispositioni: attached; filename=download.zip; Of course that should be Content-Disposition not Content-Dispositioni. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] new plugin proposal: RequireSSL

2005-08-01 Thread Michael Peters
be a configuration variable that tells the plugin to 'rewrite' any incoming urls for a given run mode into an HTTPS scheme. This would be done simply using URI and doing an HTTP redirect. I've added it to the wiki -- Michael Peters Developer Plus Three, LP

[cgiapp] [ANNOUNCE] Data::FormValidator::Constraints::DateTime 1.02

2005-07-26 Thread Michael Peters
by: WONKO (Michael Peters) Request entered on: Tue, 26 Jul 2005 14:03:51 GMT Request completed: Tue, 26 Jul 2005 14:05:50 GMT NAME Data::FormValidator::Constraints::DateTime - D::FV constraints for dates and times DESCRIPTION This package provides constraint routines for Data

Re: [cgiapp] ANNOUNCE: AnyTemplate 0.10_02 developer release and RFC

2005-07-25 Thread Michael Peters
() is par for the course. You module is a plugin/mix-in so it's not only allowed to add behavior, but change existing behavior. I would also think it allows other plugins to use load_tmpl() without having to guess what templating engine is being used. Keep up the good work Michael! -- Michael

Re: [cgiapp] ANNOUNCE: AnyTemplate 0.10_02 developer release and RFC

2005-07-25 Thread Michael Peters
to solve if there's a real use-case. And if it doesn't come up, then we continue with a simpler API/code base :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] ANNOUNCE: AnyTemplate 0.10_02 developer release and RFC

2005-07-25 Thread Michael Peters
sense. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] CRUD/BREAD style template question

2005-07-19 Thread Michael Peters
and you add tests before you add features then it's normally not a big deal. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

[cgiapp] name and 'err_' flags

2005-07-18 Thread Michael Peters
to accomplish this? -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Re: ANNOUNCE: ::Plugin::ValidateRM 2.00_01 with new dfv() method

2005-07-16 Thread Michael Peters
Cees Hek wrote: On 7/15/05, Michael Peters [EMAIL PROTECTED] wrote: my $error_page = $self-check_rm(...); if( $error_page ) { return $error_page; } else { my $email = $self-dfv-valid('email'); } Which seems very readable to me. I don't want to join the debate on whether

Re: [cgiapp] Re: ANNOUNCE: ::Plugin::ValidateRM 2.00_01 with new dfv() method

2005-07-15 Thread Michael Peters
Mark Stosberg wrote: Thanks for the feedback Michael. Comments below. On 2005-07-12, Michael Peters [EMAIL PROTECTED] wrote: Mark Stosberg wrote: Hello, I've just uploaded a new developer release of ValidateRM to CPAN, which you can also get here: http://mark.stosberg.com/dfv/CGI

Re: [cgiapp] Re: CGI::App Generator

2005-07-14 Thread Michael Peters
. I'll also second the idea of making it a subclass of Module::Starter. It's a really easy tool to make sure you don't forget something in your cpan dist and still makes sense for non-cpan stuff. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] RFD: Developer mailing list?

2005-07-14 Thread Michael Peters
will happen there and this lists traffic will reduce. So it might be an annoyance for some, but probably only temporary. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] Getting more out of CGI::App with less syntax.

2005-07-12 Thread Michael Peters
base class even supports Petal which I've never used :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] ANNOUNCE: ::Plugin::ValidateRM 2.00_01 with new dfv() method

2005-07-12 Thread Michael Peters
when the package provides a lot so that your namespace isn't cluttered with stuff you're not going to use. However, I can't see someone using this module without using those methods. Thumbs up? Thumbs down? Up, way up! -- Michael Peters Developer Plus Three, LP

[cgiapp] [OT} CGI::Session phalanxin'

2005-07-08 Thread Michael Peters
distribution. If this is the case, is the goal to first get it to pass all of it's tests and then to fix it? -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] CGI::Session Subversion Repository

2005-07-07 Thread Michael Peters
: Connection closed unexpectedly [EMAIL PROTECTED] CGI-Session]$ svn update svn: Connection closed unexpectedly Any ideas? I've used svn quite a bit and have never had this problem? I'm using svn client 1.1.4 -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] More AJAX Stuff with HTML::Prototype

2005-07-07 Thread Michael Peters
, they don't point out that Perl has been doing most of this kinda stuff for a while now. I guess that's what you get for being the old kid on the block :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] CGI::Session Subversion Repository

2005-07-07 Thread Michael Peters
Jason A. Crome wrote: I have no idea what caused this. . . I ended up uninstalling the FreeBSD port and getting a fresh tarball from the Subversion web site. After a quick recompile and a little testing, all seems to be well. Cool, that fixed it, thanks! -- Michael Peters Developer Plus

Re: [cgiapp] Re: CGI::Session Subversion Repository

2005-07-06 Thread Michael Peters
Jason A. Crome wrote: If you still would like an account, please let me know. Well, since you asked :) I would like one. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] Re: RFC: Data::FormValidator 4.0

2005-07-06 Thread Michael Peters
like that as well (although that wouldn't be that critical a move). This would also go along with with my D::FV::C::DateTime the D::FV::C::Upload and the D::FV::C::Geo (which is still floating around in my head :) -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Re: need a setup hook?

2005-07-05 Thread Michael Peters
Mark Stosberg wrote: On 2005-07-05, Michael Peters [EMAIL PROTECTED] wrote: Mark Stosberg wrote: Jason Purdy wrote: I foresee a need for a setup hook for the BREAD plugin, to dynamically create runmodes. I think you can just define these at the init() stage when the same effect. You

Re: [cgiapp] Re: need a setup hook?

2005-07-05 Thread Michael Peters
Mark Stosberg wrote: On 2005-07-05, Michael Peters [EMAIL PROTECTED] wrote: I think you are wrong. Looking at the source code of new(), We can see the object creation: # Create our object! my $self = {}; bless($self, $class); Right, but how do you register a callback for init

Re: [cgiapp] Re: need a setup hook?

2005-07-05 Thread Michael Peters
a reboot :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Re: CGI::Session progress report and a proposed change of venue

2005-07-05 Thread Michael Peters
Mark Stosberg wrote: On 2005-07-05, Michael Peters [EMAIL PROTECTED] wrote: There is at least one more that I would like to make. I've tried to contact the author before about it, but to no avail. It envolves allowing C::S to use mod_unique_id to generate the unique identifier since

Re: [cgiapp] RFC: CGI::Application::Plugin::AJAX v0.02

2005-07-05 Thread Michael Peters
it works but maybe that would become clearer as I play with it some more. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l

Re: [cgiapp] Re: review of Catalyst::Model::CDBI::CRUD from a CGI::App perspective

2005-07-05 Thread Michael Peters
Mark Stosberg wrote: On 2005-07-05, Michael Peters [EMAIL PROTECTED] wrote: I've usually used one of the 2 nameing conventions: 1) edit (show the edit screen), update (perform the update), add (show the add screen), insert (perform the insertion) 2) show_edit, edit, show_add, add Yours

Re: [cgiapp] Param method?

2005-07-04 Thread Michael Peters
Mark Fuller wrote: From: Michael Peters [EMAIL PROTECTED] Not just that, but it also provides an easy way to pass variables between methods as well as communicating between plugins and other base classes. I'm not an OO guru. If I'm off base please forgive me. But, what's the difference

[cgiapp] couple of issues from a plugin author

2005-07-04 Thread Michael Peters
the changes and patches. These are pretty minor and I don't think they will affect the test suite (except to add tests for the new hook), but I'll make sure everything passes :) -- Michael Peters Developer Plus Three, LP - Web

Re: [cgiapp] Modules that use AnyTemplate (was Re: [cgiapp] BREAD (or CRUD) Project)

2005-07-01 Thread Michael Peters
::Search to use AnyTemplate at the moment (even though I lied in my YAPC talk and said it 'currently' supports it... well it 'currently' supported it on my laptop :) -- Michael Peters Developer Plus Three, LP - Web Archive: http

[cgiapp] YAPC presentation slides

2005-07-01 Thread Michael Peters
. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [cgiapp] Random thoughts from a CGI::Application newbie

2005-07-01 Thread Michael Peters
Development' (you can only use the embedded if you are using mod_perl :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l

Re: [cgiapp] C::A::Generator (was BOF Minutes)

2005-07-01 Thread Michael Peters
be easier to just copy-paste/fiddle than to actually abstract it out. But we're kinda stupid in this regard. Please join up on the matchstick mailing list and express your interest. We just need a good kickstart (well, ok, some time wouldn't hurt either). -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] plugin authors get ready!

2005-06-24 Thread Michael Peters
it personally. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Adding is_hook_available() ?

2005-06-23 Thread Michael Peters
Mark Stosberg wrote: On 2005-06-21, Michael Peters [EMAIL PROTECTED] wrote: I suppose we also need an is_hook_available($hookname) method :) Yeah, I thought of that too. Then the CAP::MyDBH plugin could look for the config hook if it's available, else pick something else appropriately

Re: [cgiapp] Re: positional plugin ordering

2005-06-23 Thread Michael Peters
Mark Stosberg wrote: On 2005-06-20, Michael Peters [EMAIL PROTECTED] wrote: It seems to me that most use cases for plugin execution order aren't about when something happens, but when it happens in relation to something else. I agree this a key point. So far we have seen two use cases

Re: [cgiapp] plugin authors get ready!

2005-06-23 Thread Michael Peters
Michael and lots more will be there so we'd definitely have a good group if the time's right. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] positional plugin ordering

2005-06-21 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: Right now the order of execution for callbacks is based on the class inheritance tree which in turn is controlled by the order the user 'uses' the plugins. So, anything added to an existing callback would always be run before the built in sub (ie

Re: [cgiapp] positional plugin ordering

2005-06-21 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: # now inside of my dbh plugin $self-add_callback( after_config = \_setup_dbh ); Then my base class can simply: use C::A::P::MyConfig; use C::A::P::MyDBH; Minor detail: what would happen if I'm only interested in your CAP

Re: [cgiapp] positional plugin ordering

2005-06-21 Thread Michael Peters
Michael Peters wrote: Rhesa Rozendaal wrote: This is true. After reading the above, and other comments you make below this doesn't seem like that big of a change. Okay, here are patches against 4.01 that defines the 'after_*' hooks for the init, prerun, postrun and teardown phases

Re: [cgiapp] OT: Beer in New York

2005-06-18 Thread Michael Peters
the place and the time on any of those dates. I'm not local, but I'll be in NY the evening of the 21st. If that works for everyone else, then i'm game. I know that Jesse's wife just released child 2.0 so we'll see if he can break away for an evening. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Re: Hooks, HTML::Tidy plugin

2005-06-17 Thread Michael Peters
for passing around plugin config data too. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e

Re: [cgiapp] CGI::Application::Plugin::Apache mod_perl 2.0.00

2005-06-14 Thread Michael Peters
Apache::Test) and choose which module it loads. Since you specify the included httpd conf file under apache test it needs to be compatible with the version of Apache the user has installed. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] revisiting adding bounce() or internal_redirect was: (Re: CGI::App 4.0_4 released, adds load_tmpl hook.)

2005-06-09 Thread Michael Peters
can just do return $self-next_mode(1); and then in next_mode sub next_mode { my ($self, $redirect) = @_; if( $redirect ) { # do something extra special } . . } Or something similar. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] calling run_mode if form has 2 submit buttons

2005-05-31 Thread Michael Peters
a certain run mode and a certain submit button was pressed you would change to a different mode (using prerun_mode() method). HTH -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

[cgiapp] ANNOUNCE CGI::Application::Search 0.02

2005-05-23 Thread Michael Peters
to describe it again. Here are the changes... - find and fix document mistakes (Sam Tregar) - added tutorial for getting started with swishe (Sam Tregar) - added TEMPLATE option to setup() (Sam Tregar) -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] ANNOUNCE: CGI::Application::Search

2005-05-20 Thread Michael Peters
look at the HIGHLIGHT_CONTEXT, HIGHLIGHT_START and HIGHLIGHT_STOP in the setup() method you can see how to do that. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] Re: ANNOUNCE: CGI::Application::Search

2005-05-20 Thread Michael Peters
Mark Stosberg wrote: On 2005-05-19, Michael Peters [EMAIL PROTECTED] wrote: Due to prodding and coaxing by some coworkers I finally got around to putting this on CPAN. It's a C::A based module that lets you easily add a site search to your application using swish-e (http://www.swish-e.org

Re: [cgiapp] Re: Yet another callback system proposal

2005-05-20 Thread Michael Peters
. While it does provide protection from this additional dependency it causes extra headache for someone who may not know the dependency exists. Maybe if it's listed as an optional dependency it wouldn't be so bad, so that CPAN could still follow it if the user wants... -- Michael Peters Developer Plus

[cgiapp] ANNOUNCE: CGI::Application::Search

2005-05-18 Thread Michael Peters
is set is will then use Text::Context to obtain a suitable context of the search content for each result returned and highlight the text according to the HIGHLIGHT_START and HIGHLIGHT_STOP options. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] OT - YAPC::NA 2005

2005-05-03 Thread Michael Peters
plan went to sleep() until he was born. Good luck to all the CGI-App speakers! Post the news of your talks back to the list. I'll definitely be making the slides available to any and all who want them after it's all over. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] OT - YAPC::NA 2005

2005-05-03 Thread Michael Peters
there sometime that week and I'm sure we can scrounge up some more people. :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com

Re: [cgiapp] Ad Server

2005-04-27 Thread Michael Peters
Matthew Weier O'Phinney wrote: On 4/26/05, Jason Purdy [EMAIL PROTECTED] wrote: Michael Peters wrote: Joel Gwynn wrote: So the ads are inserted via javascript and not interpreted php? What are the non-javascript options, just out of curiousity. It really shouldn't be that hard to write

Re: [cgiapp] Ad Server

2005-04-26 Thread Michael Peters
Michael Peters wrote: Joel Gwynn wrote: So the ads are inserted via javascript and not interpreted php? What are the non-javascript options, just out of curiousity. It really shouldn't be that hard to write a one mode C::A that would randomly pick an ad and send it to the browser. If you

Re: [cgiapp] Template and interpolation

2005-04-22 Thread Michael Peters
think he might mean interpolation inside of tags. tmpl_include tmpl_var name.html -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] Ruby on Rails and CGI::Application

2005-04-04 Thread Michael Peters
I've seen (I know, I know, I should really try it out first hand) it doesn't do anything that can't already be done with perl (Maypole, Catalyst, C::A w/TT and Class::DBI). -- Michael Peters Developer Plus Three, LP - Web Archive

Re: [cgiapp] configuration modules

2005-03-30 Thread Michael Peters
using it in the future. Well, keep working towards it :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] Global default for Templates

2005-03-22 Thread Michael Peters
, cache = 1); } Much simpler and easier to maintain if C::A changes the interanals of it's load_tmpl method. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] Using ValidateRM etc...

2005-03-21 Thread Michael Peters
it easier if ValidateRM exposes the method it uses to create the error page as part of it's public API? Would this make sense Mark? or is there a better way? -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] Calling run mode without knowing name of sub

2005-03-14 Thread Michael Peters
. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [cgiapp] CGI::Application Patch Proposal: bounce()

2005-03-14 Thread Michael Peters
is that this should not be a part of C::A, it would still make a nice plugin :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com

Re: [cgiapp] CGI::Application Patch Proposal: bounce()

2005-03-14 Thread Michael Peters
this sort of dual-use of a run-mode? What functionality would it add? If it get's implemented, I'm sure it would be trivial to allow something like $self-bounce('display_widget', %extra_args); -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] CGI::Application::Dispatch V 1.03 under Win2K

2005-03-11 Thread Michael Peters
to come to work to get replies. So, don't be surprised if I don't answer immediately :-(. We'll try not to be impatient then :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] CGI::Application and CGI::Session

2005-03-10 Thread Michael Peters
it to still be there after you deliver a page to the user. Others have suggested it before so I'm just following up... Have you looked at CGI::Application::Plugin::Session? It's about the easiest way in the world to use sessions with C::A. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Class::DBI please help with error

2005-03-10 Thread Michael Peters
. Let us know if the above helps. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail

Re: [cgiapp] Class::DBI why is it so great?

2005-03-04 Thread Michael Peters
related group of actions, then issue a commit, then repeat. If something fails, the commit is never issued and Class::DBI does a good job of logging what failed. Does that help? -- Michael Peters Developer Plus Three, LP - Web

Re: [cgiapp] Best practices for error logging notification?

2005-03-03 Thread Michael Peters
, but interesting: btail http://www.vanheusden.com/btail/ Its a bayesian tail filter so you 'teach' it what kind of log messages matter to you and what kind don't. An interesting approach to filtering through a lot of junk. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Class::DBI why is it so great?

2005-03-02 Thread Michael Peters
a lot more than you gave it credit for though. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe

Re: [cgiapp] Repository of RPMs for Fedora?

2005-02-28 Thread Michael Peters
could just make a bundle of all the CPAN modules you want on those machines and skip the rpm step. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] CGI::Application::Plugin::Apache 0.10

2005-02-23 Thread Michael Peters
the problem. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Using CGI::Application and SHTML/SSI pages?

2005-02-22 Thread Michael Peters
really slow things down. This is one of the reasons I suggested using a templating system. It would all be within one process. Even under mod_perl this system would be faster than SSI. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Directory structure for website

2005-02-22 Thread Michael Peters
for organization than for any limitation of mod_perl/C::A. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] Directory structure for website

2005-02-22 Thread Michael Peters
permission to perform the given action. Authz/Authen are just the shorthand Apache uses. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] CGI::FormBuilder

2005-02-18 Thread Michael Peters
it. It's really easy to create the profile and then take the valid results and map that to a create() or update(). -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

<    1   2   3   4   5   >