Re: [cgiapp] Titanium won't install

2011-02-27 Thread Gurunandan R. Bhat
Hi, From the extract you have posted the problem appears to be that Test::WWW::Mechanize (a prerequisite for ::CGIApp) failed to install since the test t/contact_lacks.t failed. Just see if you can force install Test::WWW::Mechanize first and then install the ::CGIApp after that installs

Re: [cgiapp] Calling redirect under CA::Dispatch and mod_rewrite

2010-12-01 Thread Gurunandan R. Bhat
On Wed, 2010-12-01 at 14:16 -0500, Mark Stosberg wrote: On 11/26/2010 04:07 PM, Gurunandan R. Bhat wrote: Hi, I am moving my application to work under CA::Dispatch and using mod_rewrite to hide the dispatch script (index.cgi) from the URL. I am using rewrite rules .htaccess copy

[cgiapp] Calling redirect under CA::Dispatch and mod_rewrite

2010-11-26 Thread Gurunandan R. Bhat
Hi, I am moving my application to work under CA::Dispatch and using mod_rewrite to hide the dispatch script (index.cgi) from the URL. I am using rewrite rules .htaccess copy-pasted (without change) from the CA::Dispatch man page and I am getting some very strange results when I try to use

Re: [cgiapp] Future of the wiki (was: Re: CGI::Application wiki page Examples)

2010-01-28 Thread Gurunandan R. Bhat
I had offered Mark to port content on the wiki to Movable Type a few months earlier. At that time, Mark had very valid concerns - that MT does not offer key features required of a wiki. But that was MT4 and a re-evaluation of MT after the release of MT5 recently might be interesting. Regards

Re: [cgiapp] Problem understanding using CAP::Authentication

2009-12-25 Thread Gurunandan R. Bhat
Sorry Folks. My Mistake: Not calling CGI::Session-name('myname') after passing a non-default name in the COOKIE_PARAMS. Fixed now. Must have been the Turkey :) Apologies for disturbing your holidays!! On Sat, 2009-12-26 at 01:49 +0530, Gurunandan R. Bhat wrote: Hi, I have used CAP

Re: [cgiapp] proposal for new cgiapp hook: loaded_html_tmpl

2009-11-11 Thread Gurunandan R. Bhat
On Tue, 2009-11-10 at 20:56 -0500, Mark Stosberg wrote: To proceed, I'd like to hear at least a small chorus of voices claiming that the they use the die_on_bad_params feature. I use it all the time as an alternative to an if-then-else: if a piece of content is not to be displayed, I

Re: [cgiapp] Is C::A::PSGI available?

2009-11-10 Thread Gurunandan R. Bhat
Indeed, now it does. Thanks. On Tue, 2009-11-10 at 20:39 -0500, Mark Stosberg wrote: On Sat, 07 Nov 2009 10:48:02 +0530 Gurunandan R. Bhat g...@informationmatters.in wrote: Hi, Is CGI::Application::PSGI available? The link from the Plack website gives a 404. Are you

Re: [cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-31 Thread Gurunandan R. Bhat
On Fri, 2009-10-30 at 16:22 -0400, Brad Van Sickle wrote: I see what your problem is now.. (code snipped) It seemed a little hackish and messy to me at the time, but it was the best I could think of. There probably is a much better way. Let me know what method you end up going

[cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-30 Thread Gurunandan R. Bhat
Hi, Is it possible to add the output of a template to every page/run-mode without going through assigning it to a template-param in each run-mode? I am aware of using cgi-postrun to wrap the output of a run-mode, but it seems not possible to *insert* a div of content in an arbitraty (but fixed

Re: [cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-30 Thread Gurunandan R. Bhat
-0400, Brad Van Sickle wrote: In postrun you can populate a variable with a subroutine call and then substitute that variable anywhere in your template, or even insert it into your runmode output if desired. Is that what you are looking for, or am I way off base? Gurunandan R. Bhat

Re: [cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-30 Thread Gurunandan R. Bhat
, modify/insert your div of content into the template parameters. HTH, Jason Gurunandan R. Bhat wrote: Hi, Is it possible to add the output of a template to every page/run-mode without going through assigning it to a template-param in each run-mode? I am aware of using cgi

Re: [cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-30 Thread Gurunandan R. Bhat
certainly know your requirements better than I do. Perhaps if you could provide me an example of HTML layout I might have a better idea about what you're talking about? Hopefully this is at least useful to you in a future project. Gurunandan R. Bhat wrote: Now I get it! Thanks

Re: [cgiapp] Adding a div of fixed content to evey page. Possible?

2009-10-30 Thread Gurunandan R. Bhat
Can you do what you want with the associate option to your template? -Kurt Indeed I can. But I prefer and am looking for a method that I can call in my SuperClass (prerun or postrun) since the content to be filled-in is independent of all individual run-modes. Jason's adding a callback to

[cgiapp] Tasks after fork()'ing a CGI::Application

2009-08-10 Thread Gurunandan R. Bhat
Hi, I am forking a CGI::Application to perform a long-running task. The implementation is copied from this ingenious method: http://www.stonehenge.com/merlyn/LinuxMag/col39.html To summarize that article: The child process and begins the long task, logging its progress to a Cache::FileCache

Re: [cgiapp] Tasks after fork()'ing a CGI::Application

2009-08-10 Thread Gurunandan R. Bhat
On Mon, 2009-08-10 at 11:18 -0400, Michael Peters wrote: I would actually suggest that you don't fork your web process to do background tasks. The problem is that your web processes are generally much heavier than you need which means wasted resources. It also can cause scalability

Re: [cgiapp] Tasks after fork()'ing a CGI::Application

2009-08-10 Thread Gurunandan R. Bhat
On Mon, 2009-08-10 at 18:17 +0200, Rhesa Rozendaal wrote: Michael Peters wrote: Gurunandan R. Bhat wrote: Thanks. I did seriously consider TheSchwartz and gearman. I have two features that I want to implement: First, I want to pass some feedback to the user who queued the task

[cgiapp] Profiling CA with Devel::NYTProf

2009-07-04 Thread Gurunandan R. Bhat
Hi, I am trying to profile a CGI::App application (vanilla CGI, no mod_perl) with Devel::NYTProf, by adding: #!/usr/bin/perl -d:NYTProf to the top of my .cgi script. When I run the application through my browser, I find that many of the functions called after I navigate through

Re: [cgiapp] Re: Movable Type fork: an opportunity for CGI::Application

2009-06-25 Thread Gurunandan R. Bhat
-0400, Mark Stosberg wrote: On Wed, 24 Jun 2009 13:34:06 +0530 Gurunandan R. Bhat g...@informationmatters.in wrote: Thats great news. I checked out from Git but could not find references or use of CGI::Application anywhere in the source. Has development begun? The work done so far

Re: [cgiapp] Movable Type fork: an opportunity for CGI::Application

2009-06-24 Thread Gurunandan R. Bhat
Thats great news. I checked out from Git but could not find references or use of CGI::Application anywhere in the source. Has development begun? Regards Gurunandan On Wed, 2009-06-24 at 17:54 +1000, Ron Savage wrote: Hi Mark On Tue, 2009-06-23 at 15:26 -0400, Mark Stosberg wrote: Today

Re: [cgiapp] Some general questions on CGI::App and OO web application design philosophy

2009-06-07 Thread Gurunandan R. Bhat
On Wed, 2009-05-06 at 21:47 -0400, Brad Van Sickle wrote: This isn't a technical question, so I hope I'm not misusing this list... I just discovered CGI::App a few weeks ago, and I'm still pretty new to writing web applications using a reusable, extendable OO framework. I can clearly

[cgiapp] CAP to implement CGI::Expand?

2009-05-16 Thread Gurunandan R. Bhat
Hi, Is there a plugin that would enable me to use features that I get with CGI::Expand in vanilla CGI? Thanks, Gurunandan # CGI::Application community mailing list #### ## To unsubscribe, or change your

Re: [cgiapp] Problems using CAP::DBH with DBD::Sybase

2008-08-28 Thread Gurunandan R. Bhat
I checked the Bug database on peppler.org and it turns out this one is documented. I am linking the workaround just in case someone else has the same issue: http://www.peppler.org/bugdb/view?bug_id=633 Regards Gurunandan On Wed, 2008-08-27 at 21:47 +0530, Gurunandan R. Bhat wrote: Friends

[cgiapp] Problems using CAP::DBH with DBD::Sybase

2008-08-27 Thread Gurunandan R. Bhat
Friends, I am building an application with CAP::DBH and DBD::Sybase. Unfortunately DBD::Sybase implements ping() that causes it to fail if there is an active statement handle. I have tested this in a stand-alone script without CGI or CA. DBD::Sybase::ping() works after I have called

[cgiapp] Using CAP::Authentication with multiple scripts

2008-08-01 Thread Gurunandan R. Bhat
Hi, I am new to CGI::App and want to use CAP::Authentication. I have a couple of questions and would really appreciate some help: 1. I want to use CAP::Authentication::Driver::DBH. with my own custom run-mode that generates a login page. Is that OK? Or do I have to use