Re: [cgiapp] CGI::Application::Dispatch

2007-01-11 Thread Michael Peters
Dan Horne wrote: From: Michael Peters Dan Horne wrote: I received the following message when running the tests: [ error] You are using mod_perl response handlers [ error] but do not have a mod_perl capable Apache. Someone in #cgiapp just reported the same thing. It works fine for me

Re: [cgiapp] CGI::Application::Dispatch

2007-01-15 Thread Michael Peters
Dan Horne wrote: From: Michael Peters Then grab the latest dev version from CPAN - 2.10_02 (uploaded about 10 minutes ago) which should only use Apache::Test if you already have it installed and won't list it as a pre-req. It will also skip the mod_perl tests as well. Hi Michael

Re: [cgiapp] CGI::Application::Dispatch

2007-01-15 Thread Michael Peters
Michael Peters wrote: Dan Horne wrote: Just a side note - I initially attempted to run Makefile.PL (out of habit, I guess) and it failed due to the Apache::Test dependency. However, Build.PL worked fine and dandy Thanks for the catch. I've fixed this too and the final release

Re: [cgiapp] CGI::Application::Displatch v2, and CGI uploadInfo wierdness

2007-01-15 Thread Michael Peters
by the web server. Maybe somehow another CGI.pm object is being created somehow and is eating up the uploaded resource be you get a chance to get to it? -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] CGI::Application::Displatch v2, and CGI uploadInfo wierdness

2007-01-17 Thread Michael Peters
content with that apache process you're still tying up a database handle. Even with all this, I'd have to see some real numbers (time and memory usage) to be convinced that file uploads will be cheaper with CGI than with mod_perl. Especially if you put a simple proxy server in front. -- Michael

Re: [cgiapp] Troubleshooting Apache2 segfaults

2007-01-22 Thread Michael Peters
. But ultimately if that doesn't help you'll need to build with debugging symbols to get the full trace with arguments. To see more info about getting apache to dump core and how to analyze it: http://perl.apache.org/docs/2.0/devel/debug/c.html#Getting_the_core_File_Dumped -- Michael Peters Developer Plus

Re: [cgiapp] Prototype 1.5 REST tunneling

2007-01-26 Thread Michael Peters
this same tunneling convention. Thanks for bringing it up. I agree. Until browsers get their act together, we have to work around them. Any other thoughts? -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] Returning XML output for AJAX

2007-01-29 Thread Michael Peters
XML::Tiny that is supposed to be much smaller, use less memory and just use core modules. It might be worth checking out. But these days I actually use mostly JSON to send data to Ajax applications. Much faster and much easier imo. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Returning XML output for AJAX

2007-01-29 Thread Michael Peters
Rhesa Rozendaal wrote: Michael Peters wrote: I've normally used XML::Simple in the past, but it's not really that simple. I've just heard about the new XML::Tiny that is supposed to be much smaller, use less memory and just use core modules. It might be worth checking out. I took

Re: [cgiapp] CA::Dispatch

2007-01-30 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 commands

Re: [cgiapp] CA::Dispatch

2007-02-02 Thread Michael Peters
. Additionally, you have to use CAP::AutoRunmode in your CA derived App Module. Apart from that (very) small gotcha, they work perfectly together. Thanks for the confirmation. -- Michael Peters Developer Plus Three, LP - Web

Re: [cgiapp] Re: CA::Dispatch

2007-02-05 Thread Michael Peters
script as arguments to AbramsRest::Dispatch-dispatch() or as a method of AbramsRest::Dispatch named dispatch_args(). Sorry if I am being verbose my mind is not quite grokking the whole process. No problem. It's definitely something new. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] How do you use your own modules?

2007-02-05 Thread Michael Peters
approach we take. And to make it a little more automatic, we have project specific startup scripts that determine the path to lib based on where it's located in the file system (using FindBin) which then sets the right environment var and then starts/restarts apache. -- Michael Peters Developer Plus

Re: [cgiapp] Problem with Fcntl.pm in a compiled(perlcc) Perl-cgi program

2007-02-07 Thread Michael Peters
locate Fcntl.pm. But Fcntl.pm is there, When tried : locate Fcntl.pm, it is there at /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Fcntl.pm. A 32 bit perl is not going to look in an x86_64 lib. Is there any solution for this problem ? Recompile it on the 64 bit machine. -- Michael Peters

Re: [cgiapp] Curiosity poll?

2007-02-13 Thread Michael Peters
Robert Hicks wrote: I would be interested in seeing how many use TT vs HT. I use both. Sometimes I prefer TT. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] ...::Server's handle_request, ...Pluging::Stream and binary files.

2007-02-20 Thread Michael Peters
not sure why C::A::S is adding those bytes in the first place. They aren't needed and only change the content into something it wasn't originally. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail

Re: [cgiapp] Minor limitation of C::A::P::Stream and IO::{String,Scalar}

2007-02-21 Thread Michael Peters
of memory. The sooner you get that out of memory, the better. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiappr=1w

Re: [cgiapp] clueless on the callback for load_tmpl

2007-02-21 Thread Michael Peters
= 'owner', company_name = 'company', ); return $tmpl; } -- 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::P::Apache and other mod_perl handlers

2007-03-12 Thread Michael Peters
are not allowed? No, it shouldn't prevent anything like that. Registering one handler for a URI should have nothing to do with registering another handler for a different URI. -- Michael Peters Developer Plus Three, LP - Web

Re: [cgiapp] C::A::P::Apache and other mod_perl handlers

2007-03-12 Thread Michael Peters
John Saylor wrote: hi From: Michael Peters [mailto:[EMAIL PROTECTED] Does it work when you don't use C::A::P::Apache? no- same result. Well, then it's not related to the plugin. So this becomes a mod_perl question instead of a C::A one. You might try asking the question on that list

Re: [cgiapp] Plucene or Xapian?

2007-03-19 Thread Michael Peters
and really fast. CGI::Application::Search is built around 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] CA::Dispatch

2007-03-28 Thread Michael Peters
to be completely masked by the url for your application (ie, http://search.cpan.org/~wonko/CGI-Application-Dispatch-2.10/lib/CGI/Application/Dispatch.pm#CLEAN_URLS_WITH_MOD_REWRITE) then yes, you'll need rewrite rules. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] Tests and CGI::Application

2007-04-08 Thread Michael Peters
talk get's accepted) is using Selenium IDE as the starting point to write web tests. And hopefully soon, I'm going to try to get the business folks involved in creating those tests too. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] CAP::Dispatch::Regexp

2007-05-14 Thread Michael Peters
. Then in your application, the following urls could work exactly the same way (this would help with application migration, etc): /admin_user/update/23?name=Michael /admin_user?rm=updateid=23name=Michael -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] runmode return scalar reference ?

2007-05-14 Thread Michael Peters
::Application::Plugin::TT's tt_process() already returns a scalar reference. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com

[cgiapp] Job

2007-06-25 Thread Michael Peters
Just wanted to pass this on so that more eyeballs will peruse it... http://jobs.perl.org/job/5999 -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net

Re: [cgiapp] CGI::Application::Plugin::Config::Simple and default values

2007-06-26 Thread Michael Peters
gladly pass it on. -- 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] better msg handling in FormValidator ?

2007-08-08 Thread Michael Peters
or need to be translated into multiple languages, etc) then I put the messages in a config file (Krang does this) where the message's name matches the 'missing_' and 'invalid_' error flags. Whatever I do, I never hard code the error messages into the Perl code. -- Michael Peters Developer Plus Three

[cgiapp] [ANNOUNCE] Krang V2.20

2007-09-25 Thread Michael Peters
Krang v2.20 is now available (the source release is up now and binary builds should be up soon). Notable changes in this release: * Lots and lots of bug fixes * Implemented desk security as specified in docs/permissions.pod * Added --below_category_id option and implemented

Re: [cgiapp] For those interested... a few new Alien::* packages on CPAN...

2007-10-01 Thread Michael Peters
the Perl version with the JS version. Then Alien::Prototype::Window can depend on one version of Alient::prototype and Alien::scriptaculous can depend on another. -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] sending headers using CAP::Apache/mod_perl2

2007-10-02 Thread Michael Peters
directly. If you want to take a crack at implementing that, I'm sure I could find some time to apply the patches and make a release. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] CGI::Application::Dispatch prefix question

2007-10-10 Thread Michael Peters
that soon. -- 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] CGI::Application::Dispatch, mod_perl and PATH_INFO question

2007-10-17 Thread Michael Peters
} by default. But that you could override to get the url if you want. -- Michael Peters Developer Plus Three, LP - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l

Re: [cgiapp] How do you handle MS smart quotes?

2007-10-17 Thread Michael Peters
need to make sure that your calls are using the IO layer magic syntax. The biggest help for me was reading the perluniintro and perlunicode perldoc pages. -- Michael Peters Developer Plus Three, LP - Web Archive: http

Re: [cgiapp] Re: what i'd like to be doing: new authn/authz thoughts

2007-10-19 Thread Michael Peters
. It robs you of the opportunity to refer to any one of them in its own right. I completely agree. What I was saying was that the URL shouldn't reflect who is logged in, but what resource you are viewing. -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] what i'd like to be doing: new authn/authz thoughts

2007-10-19 Thread Michael Peters
something I'm thinking about now and then. Any other thoughts? Don't confuse who's logged in with what id is on the URL. Obviously what a person can do on that same page will be different if they are logged in and it's their profile (or a profile in their group). -- Michael Peters Developer Plus

Re: [cgiapp] Interactive input via telnet

2007-11-04 Thread Michael Peters
perl module, not a generic Perl web forum. You should probably look for another list or try your question on perlmonks.org -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] CGI::Application mod_perl 2

2007-11-11 Thread Michael Peters
Jon Daily wrote: I am porting a CGI::Application from CGI to mod_perl 2. My first question is if there is a recommended resource for using CGI::Application and mod_perl 2 together that I should use? I did come across Michael Peters' CGI::Application::Plugin::Apache module on CPAN. I am

[cgiapp] [request] Hardware for Smolder

2007-12-22 Thread Michael Peters
soon... Any donors? -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net

Re: [cgiapp] Re: Nothing fancy but IE chokes?

2008-01-01 Thread Michael Peters
%]/title Not only will this allow your variables to contain things like and without problems, but it will also protect you against XSS attacks. -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Adding Footer to Output

2008-01-02 Thread Michael Peters
this info without having to explicitly sending a TMPL_VAR for the year each time? I'd like this to be automatic. There's no way to do this automatically using H::T. You can't run code in H::T templates, just put markup around variables that you explicitly pass in. -- Michael Peters Developer

Re: [cgiapp] Adding Footer to Output

2008-01-02 Thread Michael Peters
Karen wrote: If you want permanent copyright, you have to do it the honest way, like Disney, and get Congress to keep extending the term indefinitely. I have to say that this made my day :) Although I'd probably =~ s/get/bribe/ -- Michael Peters Developer Plus Three, LP # CGI

Re: [cgiapp] Adding Footer to Output

2008-01-03 Thread Michael Peters
Dan Horne wrote: Michael Peters wrote: Just saying something is copyrighted doesn't make it so :) Er, assuming you're that actual author, why not? I'm not a lawyer (would I be hanging out here if I was :) and it has been some years since my last copyright law class at the university (so

Re: *****SPAM***** [cgiapp] headers problem

2008-01-08 Thread Michael Peters
Stefan Petrea wrote: Now I get a long wait after wich I still get 500. Look at your server's error logs. Until you do nothing we tell you will be more than just a guess. The server's error log is one of your best friends for web development. -- Michael Peters Developer Plus Three, LP

[cgiapp] Re: cgiapp plug JSON.

2008-01-20 Thread Michael Peters
.. but I'm just getting a lot of Error 500s and other errors from CGIapp. A 500 error means *look in your server log* :) -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] [request] Hardware for Smolder

2008-01-20 Thread Michael Peters
Adrian Howard wrote: Got anything for this yet? (not nagging - just seeing if it's still appropriate for me to do some begging :-) I've got a lead I'm waiting on. He needed to move some stuff around but was going to let me know when he was ready. Thanks for the prodding! -- Michael Peters

Re: [cgiapp] CA and AJAX

2008-01-29 Thread Michael Peters
to read and more natural to Perl. Check out C::A::Plugin::JSON for some easy ways to use it -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change

Re: [cgiapp] Template::TAL

2008-01-30 Thread Michael Peters
, Java and PHP. So if you're working on a multi language project then it's a good fit. Otherwise it's slow (slower than both TT and H::T) and I find it incredibly verbose and clumsy. I converted a few TAL templates into TT equivalents once and the reduction in size was almost 50%. -- Michael

[cgiapp] Re: Dispatcher

2008-01-31 Thread Michael Peters
is can't exist without quotes (like you have in my $DEBUG = true; Perl doesn't have true/false literals like that. Use 1 or 0. And then in your hash that you return you have $DEBUG = 'true', that will not do what you think it will. Try 'debug = 1'. -- Michael Peters Developer Plus Three, LP

Re: [cgiapp] How to send pdf file?

2008-02-01 Thread Michael Peters
/316431, but if you don't then it's pretty easy. -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit

Re: [cgiapp] How to send pdf file?

2008-02-04 Thread Michael Peters
are probably already tuned out to the PDF conversation. So you're also missing out on an audience. Their called MIME emails. Do a search CPAN. I've used MIME::Lite with some success, but it's not really lite. I think Email::MIME is one of the preferred modules now. -- Michael Peters Developer

Re: [cgiapp] Persistence

2008-02-06 Thread Michael Peters
documents. So you need to protect against nefarious JS folks. How does putting the session id in the URL cause XSS problems? XSS is all about *escaping* user entered data when outputting it. -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Persistence

2008-02-06 Thread Michael Peters
| html %] -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo

Re: [cgiapp] XSS

2008-02-08 Thread Michael Peters
/search?term=%3Cscript%3Ealert(%22p0wnd!%22)%3C%2Fscript%3E and I post it in some forum or email group (like this one) and people click on it. Now I have their information. -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Persistence

2008-02-08 Thread Michael Peters
Ron Savage wrote: On Wed, 2008-02-06 at 17:16 -0500, Michael Peters wrote: Hi Michael This is why escaping any data that could potentially come from a user is so important. Not just escaping. OP should be warned that server code cannot just rely on Javascript-base validation. Someone

Re: [cgiapp] Persistence

2008-02-08 Thread Michael Peters
understand people not wanting to be tracked long term, but why should anyone object to memory-only cookies? -- Michael Peters Developer Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
Perl will look in @INC for a file named Modules/Notify.pm and that has a package name of Modules::Notify. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Session name, CGI::Session and CAP::Session

2008-02-15 Thread Michael Peters
session hash as a multi-level hash. my $a_session = $self-session-param('A'); $a_session-{foo} = 'blah'; my $b_session = $self-session-param('B'); $b_session-{foo} = 'baz'; -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Michael Peters
) everything will break since everyone will appear to be coming from the same IP. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp

Re: [cgiapp] how to use C::A::Dispatch with FastCGI ?

2008-02-23 Thread Michael Peters
? -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp

Re: [cgiapp] URL rewriting...

2008-03-05 Thread Michael Peters
that, but it will also help you combine multiple app modules into a single app. If your application module is named MyApp::Stuff then you can do urls like /stuff/home /stuff/contact Very easily. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
built for sun4-solaris snip I've installed 100s of CPAN modules using these procedures with this build of Perl, so I'm comfortable with my environment. using the command line to install perl modules is so 2000 :) Have you tried the CPAN shell? -- Michael Peters Plus Three, LP # CGI

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
Michael Peters wrote: I am trying to be smarter than the average Makefile.PL, but I just seem to be getting more trouble then it's work at this point. I'll probably just go back to being dumb and not run the Apache/mod_perl tests unless the person already have Apache::Test installed. Ok

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-09 Thread Michael Peters
Michael Peters wrote: Ok, not instead of trying to use the toolchain to install Module::Build and then Apache::Test (if you answered yes at the prompt) I'm just going to be really dumb. If you have Apache::Test on your machine I will use it and run the mod_perl tests as well as the CGI ones

Re: [cgiapp] CGI::Application in a coding contest

2008-03-10 Thread Michael Peters
, I'm in Olso Norway for the Perl QA Workshop that weekend. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit

Re: [cgiapp] enciphered-cookie-only sessions

2008-03-11 Thread Michael Peters
encrypted data or some data structure. They need to be Base64 encoded (or similar) to be used in HTTP headers anyway, so it's all plain text. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] CGIApp Project Management

2008-03-13 Thread Michael Peters
version, taking screen shots, doing walkthroughs, etc). It'd suck to demo a new version of something to your boss and have it be slow just cause you're using CGI cause it's dev code. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] code reuse.

2008-03-17 Thread Michael Peters
and then return the db handle. Or something like that. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

[cgiapp] Re: Question regarding Dispatcher CGI::Application::Dispatch 2.13_01

2008-04-09 Thread Michael Peters
downloading and unzipping the file manually? errored out is not very descriptive. It's hard to give advice on what to do next without knowing more. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Using CGI::Cookie from inside CGI::Application

2008-05-21 Thread Michael Peters
domain.tld then you aren't. Using the string .domain.tld means any domain *under* this one, but not including this one. Try just using domain.tld instead since it means this domain and any under it. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Application params problem

2008-07-11 Thread Michael Peters
is just a fancy comma in Perl that will automatically quote the symbol to the left if it's a bare word. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change

Re: [cgiapp] Re: is my app caching db connection ?

2008-07-28 Thread Michael Peters
if you're using Oracle, or even Postgres then connections are much more expensive, so you should be looking for a caching solution. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Location not found with CGI::Application::Dispatch under mod_perl V 2

2008-09-01 Thread Michael Peters
, and that something different needs to be done for V2? It should work with V2. Try setting debug to true in your subclass and see what happens. Or can set it within apache's config using CGIAPP_DISPATCH_DEBUG (I just realized this isn't documented) PerlSetVar CGIAPP_DISPATCH_PREFIX 1 -- Michael

Re: [cgiapp] Anyone using HTML::Template::Expr ?

2008-09-12 Thread Michael Peters
place you would use HTML::Template just replace it with HTML::Template::Expr. If you're talking about C::A's load_tmpl() function, then you'll need to override it and replace it with your own version that uses H::T::E. -- Michael Peters Plus Three, LP # CGI::Application community mailing

Re: [cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread Michael Peters
is more common than non-static (each non-static page probably links to at least a dozen static files). -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Best practice for CGI errors

2008-09-22 Thread Michael Peters
your response as structured data (XML, JSON, etc)? If so, I'd just define a part of the spec that lists your application specific error codes and what they mean. If your response is not structured data, then just put a human readable error in the response. -- Michael Peters Plus Three, LP

Re: [cgiapp] Best practice for CGI errors

2008-09-22 Thread Michael Peters
can't give your tokens away to other people. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] Model design in C::A/Titanium

2008-09-23 Thread Michael Peters
might reconsider this advice. Unless I'm missing something? -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit

Re: [cgiapp] ($self vs $c) was: Re: New Plugin: RunmodeDeclare

2008-09-29 Thread Michael Peters
(which btw, does not have a friendly abbreviation :) do you plan on still using $c? Or will you go with $t? -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe

Re: [cgiapp] Re: New Plugin: RunmodeDeclare

2008-09-29 Thread Michael Peters
became real variables in your program. This was fine unless you used one of those variables for something else. This meant that anyone could craft a URL which would override a variable in your program. Nasty things can happen. -- Michael Peters Plus Three, LP # CGI::Application community

Re: [cgiapp] [OT] Anyone using JSON::XS to output to a web page?

2008-10-13 Thread Michael Peters
. In this case it sounds like the OP controls his data source since he's having problems sending it. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your

Re: [cgiapp] Re: utf8 form processing

2008-10-21 Thread Michael Peters
request then there's no reason to do it via require. In fact unless you're conditionally loading a module there's no reason (unless you're doing something sufficiently magical) to use require it. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] cached DBI connections with cgiapp/fastcgi

2008-10-22 Thread Michael Peters
. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp

Re: [cgiapp] CGI::Application + javascript + http server + icons

2008-11-19 Thread Michael Peters
anyway. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp

Re: [cgiapp] Benchmark of CGI::Application, HTTP::Engine, Catalyst, Mojo and others when used in a CGI environment.

2008-11-19 Thread Michael Peters
Mark Stosberg wrote: No big surprises, but perhaps interesting to take a look Well, I think it goes to show all those people using CGI::Simple just to save .2M and .03s are wasting their time :) -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Benchmark of CGI::Application, HTTP::Engine, Catalyst, Mojo and others when used in a CGI environment.

2008-11-19 Thread Michael Peters
Michael Peters wrote: No big surprises, but perhaps interesting to take a look Another surprise for me is that Titanium has a startup time of .14s where C::A has .21s. Isn't Titanium just C::A under the hood? How can it be faster? Also you don't mention how many times you ran each

Re: [cgiapp] run mode issues when posting data

2008-11-25 Thread Michael Peters
when handling them in your application. You can get both from $self-query-param(). Something else is wrong with your application. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Testing harness for non-CGI::App code

2008-11-26 Thread Michael Peters
, but also the environment you're running it in. If you run your tests just via the module but your application runs under Apache, then there will be bugs that your tests don't catch. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] How do I implement this pattern: Resume interrupted POST after login

2008-12-02 Thread Michael Peters
figure out what module you're going to run and just call it's run() directly after setting up a CGI.pm object with your thawed POST params. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] CGI::Application::Dispatch: Apache vs. IIS

2008-12-18 Thread Michael Peters
be happy to have it along. The easier it is for others to use the better. No need for them to go hunting all over CPAN for it. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Safe way to remember user login?

2009-01-13 Thread Michael Peters
computers to remember their private information. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] Safe way to remember user login?

2009-01-14 Thread Michael Peters
about the security of their own machine and you won't be responsible if they lose their credentials. Besides, if you were doing your passwords correctly, you wouldn't even be able to fill in the form since you wouldn't know what it is, only they would. -- Michael Peters Plus Three, LP # CGI

Re: [cgiapp] CGI::Application::Dispatch help

2009-01-14 Thread Michael Peters
in the PATH_INFO. Try turning on debugging and see if you can get any more information. -- Michael Peters Plus Three, LP # CGI::Application community mailing list #### ## To unsubscribe, or change your message

[cgiapp] questions about C::A::Server

2009-01-18 Thread Michael Peters
what I was planning on doing for the error log, and having all those urls, etc in the error log would be a bit much since they aren't errors. Thoughts? -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Re: CGI::Application::Dispatch help

2009-01-19 Thread Michael Peters
fREW Schmidt wrote: Ok, I have changed some things around in the hopes that it will fix my issues, but I am still not having much luck... If you're still having problems, post the debugging output from Dispatch. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] CGI::Application::Dispatch [post] runmode not working

2009-01-19 Thread Michael Peters
is never matched. Dispatch dispatches based on the URL. In your case that URL is going to be index.cgi. Change the action to be /save, keep your method as post and remove the name rm from that button (nameless buttons are pretty common in web forms). -- Michael Peters Plus Three, LP

Re: [cgiapp] Re: CGI::Application::Dispatch help

2009-01-19 Thread Michael Peters
in. This is the output I get (I added PATH_INFO) for the url: http://locahost:8080/frew/controller_station/awesome What is your document root? And what is your actual directory structure like under that root? -- Michael Peters Plus Three, LP # CGI::Application community mailing list

Re: [cgiapp] Re: CGI::Application::Dispatch help

2009-01-19 Thread Michael Peters
/VirtualHost #}}} I think the Location probably tramples the DocumentRoot and ScriptAlias directives. Maybe not. What happens if you change them. Also, why are you using a DocumentRoot or ScriptAlias directive when you're handling everything under '/' with that Location? -- Michael Peters Plus

Re: [cgiapp] Re: CGI::Application::Dispatch help

2009-01-19 Thread Michael Peters
point out that it works right on Ubuntu)? You could try just putting in your own dispatch_path() method in your Dispatch class to strip out the first directory part of the PATH_INFO. -- Michael Peters Plus Three, LP # CGI::Application community mailing list

<    1   2   3   4   5   >