[cgiapp] [Fwd: Re: [cgiapp] Caching HTML::Template output under CGI::App]

2004-07-21 Thread Michael Peters
- the browser or the server. Either way you run into data conherency issues. Michael Peters Developer PlusThree I would suggest reading the docs on HTML::Template's caching methods. They may help, but HTML::Template is quite fast anyway. -spencer Mike wrote: Hello, I have a database application which

[cgiapp] [Fwd: Re: [cgiapp] Using DBIx::XHTML_Table]

2004-07-21 Thread Michael Peters
() an iteration of a TMPL_LOOP H::T or a [% FOR %] in TT. HTH, Michael Peters Developer PlusThree Robert wrote: My meager Perl skills are probably killing me on this one. I am trying to use the module in question to get info out of a database nicely format it and then plaster it into my html page. sub

Re: [cgiapp] Splitting large projects [again]

2004-07-23 Thread Michael Peters
the CGI query object you just created. Then call that objects 'run()' method. Does that make sense? Michael Peters Developer PlusThree - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http

[cgiapp] Re: ***Spam*** [02.93] [cgiapp] Changing URI parsing; mod_perl

2004-07-23 Thread Michael Peters
out of box, but then I spent all of my time trying to override all of it's built in functionality which turned out to be more work than doing it myself. Hope you enjoy the CGI::App world with the rest of us. Michael Peters Developer PlusThree

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
this seems to be an issue with C::A and not with your plugin structure) I like it so far. Simple yet does what it needs to do. Thanks for putting your TV viewing on hold. :) Michael Peters Developer Plus Three - Web Archive

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
vote is yes (not to criticize the naming of your tools Cees :). At least for all future plugins it seems to make sense to me. Michael Peters Developer Plus Three - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
: This does not look like a tar archive Are you able to untar them? If so, can you send me the plaintext via email? Yeah, same problems here. I'm using the module straight for testing without it being installed. Is there another tar'ed version? Michael Peters Developer Plus Three

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264

Re: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: William McKee wrote: Unfortunately, I don't understand the magic behind the Plugin code so I went to check out how you implemented it in your Session and TT modules. However, I am receiving errors when trying to untar these files: tar: Read 6264

Re: [cgiapp] Re: Size considerations...

2004-07-28 Thread Michael Peters
Robert wrote: Michael Peters [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert wrote: I am currently building out a reporting system that uses C-A and H-T to query some backend databases and then creating reports out of that data. Currently I use three files to do this. I use my

Re: [cgiapp] Long image URL

2004-07-30 Thread Michael Peters
clean it up, or you could even have you application delete images that are too old (as you define) when you create your next image. This might impact performance a little if you are generating a lot of images. Any thing in that mess help? Michael Peters Developer Plus Three

Re: [cgiapp] prerun_mode if rm already set?

2004-08-02 Thread Michael Peters
? Put in a debug print/die/warn statment inside the if( defined($q-param('back')) ) block just to make sure. Michael Peters Developer Plus Three - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http

Re: [cgiapp] how to do a progress bar or similar?

2004-08-03 Thread Michael Peters
Michael Peters Developer Plus Three - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-05 Thread Michael Peters
you're writing for you app you would use 'SomePlugin'; and the methods the author gave to you would automatically be there for you to use as if they belonged to the class you're currently writing. HTH -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-05 Thread Michael Peters
::Simple http://people.plusthree.com/~mpeters/CGI-Application-Plugin-Config-Simple-0.01.tar.gz -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-06 Thread Michael Peters
-plugins{foo}-foo_stuff; I don't particularly like that idea since it makes it more complicated, but at least it would solve namespace collisions cause the user using the plugin could name it whatever he wants. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-06 Thread Michael Peters
to use plugins. But it would certainly work. Just to set a reference point, do we all agree that everything we discussed would benefit from some agreed upon method of preventing namespace conflicts between plugins - no matter what space they are brought into? Yes -- Michael Peters Developer Plus

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-07 Thread Michael Peters
the user picks the name by which each plugin is accessible. Ok, now time for questions, comments, verbal abuse... -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-07 Thread Michael Peters
] Would that work? Would the plugin's accessor method be properly inherited by the child class? I'm pretty sure that would still work. All methods in the base class should be visible inside the child class. -- Michael Peters Developer Plus Three, LP -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] plz help ------ kill PID

2004-08-07 Thread Michael Peters
' it. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-08 Thread Michael Peters
behaviour by default. The concept of namespaces came about just for this kind of thing... separating methods, variables so that they won't override each other. Michael Peters wrote: Ok, some more thoughts and ideas on all of this... This method would work, but I think it has the possibility

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-09 Thread Michael Peters
provides, or according to the rules we've discussed. I'll have to look at the details of this, but I'm sure we can find an easy flexible way to handle it. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-11 Thread Michael Peters
your ideas. It might make things clearer to actually see an implementation of your system to see how it will work in practice. Let me know what you (and everyone else on this list) thinks of the above ideas and then I'll try and take a crack at it in the next few days. -- Michael Peters

Re: [cgiapp] Strange mysql behaviour

2004-08-11 Thread Michael Peters
. HTH -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [cgiapp] Re: Proposal for Error handling runmode

2004-08-23 Thread Michael Peters
it. :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [cgiapp] Re: RFC - C::A::Plugin - abstract base class for plugins

2004-08-25 Thread Michael Peters
a a hash key to the CGI::Application which reflects the name of your plug-in, such as: $self-{'Config::Simple'} ### Thoughts? The above pod would work for me except for a blurb about naming your plugin in the C::A::Plugin namespace :) -- Michael Peters Developer Plus Three, LP -- Michael Peters

Re: [cgiapp] Applications that generate custom forms...

2004-08-27 Thread Michael Peters
that are more complex may provide a challenge... You might/should have built in regexes for different types, but I agreee that it might be too much to have the user learn regexes. -- Michael Peters Developer Plus Three, LP -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] cgi::app vrs ???

2004-08-31 Thread Michael Peters
] - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Peters Developer Plus Three, LP

[cgiapp] setting multiple tmpl_path's

2004-09-03 Thread Michael Peters
an array. Any work arounds? if not I guess I'll make a patch... -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] setting multiple tmpl_path's

2004-09-03 Thread Michael Peters
; } require HTML::Template; my $t = HTML::Template-new_file($tmpl_file, @extra_params); return $t; } --- Michael Peters [EMAIL PROTECTED] wrote: hello all, I'm trying to find a way to pass multiple search paths either to TMPL_PATH or tmpl_path in my base class and then have all my

Re: [cgiapp] setting multiple tmpl_path's

2004-09-03 Thread Michael Peters
() in my base class. Am Fri, 03 Sep 2004 13:38:38 -0400 schrieb Michael Peters [EMAIL PROTECTED]: I don't think that splitting on ':' in load_tmpl is the best way to go about this.. however I do think that HTML::Template should split on ':'. This would make it easy to add multiple paths using

Re: [cgiapp] setting multiple tmpl_path's

2004-09-03 Thread Michael Peters
something most people would be used to it would make sense. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2

Re: [cgiapp] setting multiple tmpl_path's

2004-09-04 Thread Michael Peters
Peters Developer Plus Three, LP -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL

Re: [cgiapp] Changing the query object after new()

2004-09-08 Thread Michael Peters
Rhet Turnbull wrote: On Wed, 08 Sep 2004 10:39:08 -0400, Michael Peters [EMAIL PROTECTED] wrote: Unless you modify every run mode of every application module to save their state before returning to the browser In my particular application, this is fairly easy. All my runmodes call a common

Re: [cgiapp] Basic parameter passing question

2004-09-08 Thread Michael Peters
to William, I probably am confused about how the web application processes forms. Thanks for helping out! Sean On Sep 8, 2004, at 3:19 PM, Michael Peters wrote: It depends on what you mean by pass cgi parameters between run modes. If you mean that one mode generates a page that the user sees

[cgiapp] RFC - patch to allow an array ref in tmpl_path/TMPL_PATH

2004-09-08 Thread Michael Peters
::A (including docs and a test) to add this ability in. All test currently pass. Mark/Jesse - any way this can be incorporated any time soon? any other features/bug/fixes out there for another release? Thanks, -- Michael Peters Developer Plus Three, LP -- Michael Peters Developer Plus Three, LP --- CGI

Re: [cgiapp] Proposal: improving mode_param()

2004-09-09 Thread Michael Peters
add a new key to pass to new MODE_FROM_PATH = 1... just another idea to consider...but I like the idea overall. This should be backwards compatible with the current options. As would both of my suggestions. -- Michael Peters Developer Plus Three, LP -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Re: plugins

2004-09-09 Thread Michael Peters
William McKee wrote: On Thu, Sep 09, 2004 at 09:51:25AM -0400, Michael Peters wrote: cfg() dbh() validate_rm() session() don't forget ... tt() config() What modules implement these? It looks like tt stands for Template Toolkit (or possibly Text::Template). How is this plugin different from

Re: [cgiapp] status of next release

2004-09-09 Thread Michael Peters
. PATH_INFO support in mode_param 4. adding arrayref support to load_tmpl(). Once I recieve the patches from yourself and Rob, I'll merge everything and post a beta for review. Looking forward to it :) -- Michael Peters Developer Plus Three, LP --- CGI-Application-3.22/lib/CGI/Application.pm 2004-02-13

[cgiapp] ANNOUNCE: CGI-Application-Dispatch-0.01

2004-09-13 Thread Michael Peters
-new(..); $app-mode_param(sub {'run_mode'}); #this will set the run mode -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com

[cgiapp] ANNOUNCE CGI::Application::Plugin::Config::Simple 0.03

2004-09-14 Thread Michael Peters
The uploaded file CGI-Application-Plugin-Config-Simple-0.03.tar.gz has entered CPAN as file: $CPAN/authors/id/W/WO/WONKO/CGI-Application-Plugin-Config-Simple-0.03.tar.gz size: 5271 bytes md5: 097e6655c1349bf0706c081c7f100e6e No action is required on your part -- Michael Peters

Re: [cgiapp] Re: ANNOUNCE: CGI-Application-Dispatch-0.01

2004-09-16 Thread Michael Peters
Mark Stosberg wrote: On 2004-09-13, Michael Peters [EMAIL PROTECTED] wrote: or this (vanilla cgi) /app/index.cgi?/module_name/run_mode?extra_stuff... into something that will be functionally similar to this my $app = Module::Name-new(..); $app-mode_param

Re: [cgiapp] [PATCH] added hook

2004-09-18 Thread Michael Peters
should package up what I have so far and see what people think. I'm going to use it in a project I'm working on regardless but I was thinking about publishing it eventually anyway. -- Michael Peters Developer Plus Three, LP - Web

Re: [cgiapp] cant get cookies in popup windows...... plz.. help me

2004-09-20 Thread Michael Peters
help me... Regards Manoj -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Installing for perl 5.6.0

2004-09-20 Thread Michael Peters
tar -zxvf CGI-Application-3.22.tar.gz cd CGI-Application-3.22 perl Makefile.PL PREFIX=/my/local/path make make test make install Does that help? or were you asking something different? -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Installing for perl 5.6.0

2004-09-20 Thread Michael Peters
Joel Gwynn wrote: -Original Message- From: Michael Peters [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 11:22 AM To: cgiapp Subject: Re: [cgiapp] Installing for perl 5.6.0 Joel Gwynn wrote: Maybe this is more of a CPAN question, but maybe somebody here can help. I'm trying

Re: [cgiapp] CAP::Apache and CAP::Session

2004-11-18 Thread Michael Peters
that everyone is happy. Maybe the best I can hope for is that my plugin doesn't work with every plugin that uses CGI.pm specific features. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com

Re: [cgiapp] Read Only Field

2004-11-24 Thread Michael Peters
', -size=100, -value= $usr_ml, -maxlength=100)); } That's not really a C::A question. Why don't you just print out the value instead of using a input box? I don't think you can make input fields non-modifiable unless you set them as 'disabled'. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Read Only Field

2004-11-24 Thread Michael Peters
it might be confusing to users who can't modify a field even though it looks like every other field? I would think that using a 'disabled' input field would be less confusing and we all know how confused some users can be. Just a thought... -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Read Only Field

2004-11-25 Thread Michael Peters
are placing in the form that you don't want modified and place that in the form too. Then check the hash when you get the parameters back. Just setting it to 'readonly' will not be sufficient security. -- Michael Peters Developer Plus Three LLP

Re: [cgiapp] A runmode for every page ?

2004-11-29 Thread Michael Peters
not to sure if this is the right solution.. I think I remeber some talk about this just a bit ago... CGI::Application::Plugin::TemplateRunner? Maybe you could add some of your needs to what that plugin does. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Problem with modes.

2004-11-29 Thread Michael Peters
! # Want to go to mode2_sub but cannot set the 'rm' hidden variable as I have lost the template 1 context!. What to do? return $self-mode2_sub; } That should do it. -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] Hidden variable or Query String or Form for run mode access?

2004-11-30 Thread Michael Peters
the values you are getting from the user and stuffing them in cookies... which I would say is a bad idea. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] App instance not accessible from child module: Code or design flaw?

2004-12-02 Thread Michael Peters
/CGIapp/OrderOfOperations There's also a lot of material on the wiki showing how to process forms, use sessions, etc. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] Using the submit button as the runmode holder

2004-12-02 Thread Michael Peters
need a change to the perl. -- 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] Re: new competition: CGI::Prototype (and ::Callbacks)

2004-12-02 Thread Michael Peters
addition, that release would be a good reason to beat our advocacy drums some. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

Re: [cgiapp] 2 New(?) Ideas

2004-12-04 Thread Michael Peters
? Pass along a param to the runmode method? Then pass that to the template as a param? That sounds like a reasonable plan to me :) -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] Re: 2 New(?) Ideas

2004-12-04 Thread Michael Peters
that this helps me to avoid premature optimization. -- 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] CAP::Apache

2004-12-05 Thread Michael Peters
... Am I right in guessing CAP::Session will be using mod_perl instead of CGI.pm? It will be using Apache::Request instead of CGI.pm since you can run with CGI.pm under mod_perl -- Michael Peters Developer Plus Three, LP - Web Archive

Re: [cgiapp] CAP::Apache

2004-12-05 Thread Michael Peters
Cees Hek wrote: On Sun, 05 Dec 2004 17:50:53 -0500, Michael Peters [EMAIL PROTECTED] wrote: Right now they are incompatible. This is not because of the way CAP::Apache deals with http headers but because CAP::Session assumes your query object has a 'cookie()' method. You can still use both

Re: [cgiapp] high profile sites using C::A ?

2004-12-09 Thread Michael Peters
think of any off the top of my head. I'm heading over to PerlMonks now to see if I can find anything in Super Search there. In the meantime... could anybody do some 'name dropping' for me? I'd appreciate it! -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] problem with PATH_INFO not being recognized

2004-12-09 Thread Michael Peters
as if no path_info was provided. This is a fairly new edition to the C::A world. What version are you running? I think it is only available in the latests (3.31). If that's a issue, like someone else pointed out, you can use C::A::Dispatch (which you might want to do anyway :) or upgrade C::A. -- Michael

Re: [cgiapp] a question about urls mapping to the project directory layout

2004-12-10 Thread Michael Peters
of user into a module, but you url's would be the same. And you would only need it one place and it would work under vanilla cgi or mod_perl. Just some more ideas. -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] Re: ANNOUNCE: CGI::Application::Plugin::LogDispatch

2004-12-13 Thread Michael Peters
, I will hopefully have one by the end of the week. -- 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] authentication -- is this the best way to do it?

2005-01-06 Thread Michael Peters
: LocationMatch /app/public_stuff/admin_.* Require group admin /LocationMatch This would mean that all run modes in the Public::Stuff application module that begin with 'admin_' would also be protected. Hope that gives you even more ideas. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] More dynamic run_mode change questions

2005-01-07 Thread Michael Peters
in the same module that the user will have access to it. I don't know if I'm missing the point of your question or not, but this has never been an issue for me. As a side note, when would you ever have mode1 return mode2 and the user not have permissions to run mode2? -- Michael Peters Developer Plus

Re: [cgiapp] More dynamic run_mode change questions

2005-01-07 Thread Michael Peters
Sean Davis wrote: On Jan 7, 2005, at 9:17 AM, Michael Peters wrote: Sean Davis wrote: For those of you using path_info parsing to get at run_modes, how do YOU deal with the dynamic run_mode changes? It is easy enough to return $self-other_run_mode, but in the setting of using path_info

Re: [cgiapp] Inline C::A

2005-01-07 Thread Michael Peters
arg=bar -- -- 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] Problem recognizing modes in URLs

2005-01-28 Thread Michael Peters
might look at is to see if you have any other locations that start off with '/lunae' since this might also influence the PATH_INFO even if it doesn't process the response. Just some ideas. Maybe there's something better than PATH_INFO that Dispatch can use. Any ideas? -- Michael Peters Developer

Re: [cgiapp] Problem recognizing modes in URLs

2005-01-28 Thread Michael Peters
Michael Peters wrote: Just some ideas. Maybe there's something better than PATH_INFO that Dispatch can use. Any ideas? It might be as simple as stripping the Location off of the beginning of the path and using that. It was my understanding that that's what PATH_INFO was, but maybe

Re: [cgiapp] Problem recognizing modes in URLs

2005-01-28 Thread Michael Peters
Michael Peters wrote: Alexandre Jousset wrote: I respond to myself to clarify some things... I patched the C::A::Dispatch handler function to print the $path_info variable (got with $r-path_info()) to a file in /tmp. Apparently for the URL localhost/lunae/home/mode3, $path_info is set

Re: [cgiapp] Problem recognizing modes in URLs

2005-01-28 Thread Michael Peters
Alexandre Jousset wrote: Michael Peters wrote: I checked and I have neither 'home' in document root nor locations that starts with /lunae. I tried to change Home.pm with Test.pm and getting /lunae/test/mode1 also give me a $path_info of /mode3... :-( Maybe you could bring this up

[cgiapp] Re: CGI::Application::Plugin::Apache and mod_perl 2.0

2005-02-01 Thread Michael Peters
goal is to get it to work under both. I'll look at your changes and incorporate where necessary. I know I keep saying that mp2 support will be coming soon, but I keep getting a little swamped with projects at work. It won't be long though I promise :) Thanks for the feedback and help. -- Michael

[cgiapp] Re: CGI::Application::Plugin::Apache and mod_perl 2.0

2005-02-01 Thread Michael Peters
and help. -- 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

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

2005-02-09 Thread Michael Peters
headers (e.g. Apache::Cookie) without CGI::Application clobbering them. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com

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

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

[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

  1   2   3   4   5   >