Re: [cgiapp] CGIApp + FastCGI

2009-06-16 Thread Jeff MacDonald
F and excel files at users. :) Thanks folks. Your direction helped. -- Jeff MacDonald j...@interchange.ca # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery op

[cgiapp] CGIApp + FastCGI

2009-06-15 Thread Jeff MacDonald
ot sure what guidelines I should be following to protect against memory sharing, or if that is even an appropriate description of my issue. If anyone can point me in a direction that would be helpful. -- Jeff MacDonald j...@interchange.ca # CGI::Applicati

Re: [cgiapp] Re: CGI::Uploader - strange error with the closure. I think

2006-07-27 Thread Jeff MacDonald
Hi Mark, Yeah that did it, thanks again for the quick response. Jeff. On 7/25/06, Mark Stosberg <[EMAIL PROTECTED]> wrote: Jeff MacDonald wrote: > Closures still kind of hurt my brain.. not their fault tho, it took me > 5 years to understand hashes.. [I kid, but you g

[cgiapp] CGI::Uploader - strange error with the closure. I think

2006-07-24 Thread Jeff MacDonald
my ass, depending on situational needs.. Jeff MacDonald - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [cgiapp] Plugin TT - Changing Options

2006-07-24 Thread Jeff MacDonald
Hi, Thanks, you knew what I was getting at and answered it. Woo ! Jeff. On 7/20/06, Cees Hek <[EMAIL PROTECTED]> wrote: On 7/20/06, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > So, what I'm trying to do is : > > 1: turn off my PRE/POST processing and parse an email

[cgiapp] Plugin TT - Changing Options

2006-07-20 Thread Jeff MacDonald
un mode get's forwarded, signup_complete renders without the PRE / POST processing. Idea's ? Jeff. -- Unless otherwise indicated, anything I write is either garnered from experience or pulled out of my ass, depending on situational needs.. Jeff MacDonald ---

Re: [cgiapp] Happy New Year, and Cooler

2005-12-31 Thread Jeff MacDonald
> Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additi

Re: [cgiapp] Re: CGI::Uploader -> making it not generate thumbs, for non images.

2005-12-19 Thread Jeff MacDonald
The docs state you can do this 'img_1_thmb_1' => gen_thumb({ w => 100, h => 100 }) However here is what actually works 'img_1_thmb_1' => { transform_method => gen_thumb( w => 100, h => 100 )} Or maybe i'm mistaking what you want to happen,

Re: [cgiapp] Re: CGI::Uploader -> making it not generate thumbs, for non images.

2005-12-19 Thread Jeff MacDonald
> First, let's rewrite this in the new 2.0 syntax: > > 'img_1_thmb_1' => { > if_mimetype => '/^image\/.+/', > transform_method => gen_thumb({ w => 100, h => 100 }), > } I'm trying to use this syntax of course, without the mimetype yet.. this what I actually have spec => {

Re: [cgiapp] location of instance and application files

2005-12-18 Thread Jeff MacDonald
; > > - > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-ma

Re: [cgiapp] Number of rm's best practice (more)

2005-12-18 Thread Jeff MacDonald
yes , sorry about that. On 12/18/05, RA Jones <[EMAIL PROTECTED]> wrote: > On Sun, 18 Dec 2005, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > >I'm at about the same stage of "figuring things out" as you are, I'd > >recommend looking into > > &g

Re: [cgiapp] Number of rm's best practice (more)

2005-12-18 Thread Jeff MacDonald
> Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTE

[cgiapp] CGI::Uploader -> making it not generate thumbs, for non images.

2005-12-18 Thread Jeff MacDonald
what ever other conditions they would like. ie: some folks may want to only thumbnail if the width is greater than X, and so they could write that "if" in there... Let me know how this sounds Jeff. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca

Re: [cgiapp] Good practices: how many run modes in an app

2005-12-18 Thread Jeff MacDonald
> [EMAIL PROTECTED] > Phone: 212-684-6161 > Fax: 212-684-6226 > > > - > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http:/

Re: [cgiapp] Re: CGI::Uploader and mimetypes

2005-12-16 Thread Jeff MacDonald
Actually I just read the wishlist, i'll make it an option and work on the tests might as well "do it right" On 12/16/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > Here is the patch > > change line 616 to this > >my ($tmp_fh, $tmp_filename) = tempfi

Re: [cgiapp] Re: CGI::Uploader and mimetypes

2005-12-16 Thread Jeff MacDonald
Here is the patch change line 616 to this my ($tmp_fh, $tmp_filename) = tempfile('CGIuploaderX', UNLINK => 1, DIR => File::Spec->tmpdir()); :) I'll make a real patch for the mime stuff. Jeff. On 12/16/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote: >

Re: [cgiapp] Re: CGI::Uploader and mimetypes

2005-12-16 Thread Jeff MacDonald
heaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca --

[cgiapp] Re: CGI::Uploader and mimetypes

2005-12-13 Thread Jeff MacDonald
estions I should look at to keep this backwards compatible, or do you think it should be changed at all. Thanks folks. Jeff. On 12/13/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use CGI::Uploader and it's telling me the following > >

[cgiapp] CGI::Uploader

2005-12-13 Thread Jeff MacDonald
n to be writable. I can't think of a good reason why I would :) The man page does not recommend a way to set the temporary directory, I was wondering if any of you blokes know a way that I could tell it to use /tmp or /usr/tmp for example. Jeff. -- Jeff MacDonald http://www.halifaxbu

Re: [cgiapp] Can I substitute something else for $self

2005-12-13 Thread Jeff MacDonald
-- > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTE

Re: [cgiapp] running modes in sequence

2005-12-12 Thread Jeff MacDonald
;saveproject', > 'step2' => 'editproject'} > } > > Of course, I could call 'editproject' from 'saveproject', but that defeats > the modularity of the script. > > Thanks, Brad > > > >

Re: [cgiapp] A new project name for CGI::Application

2005-12-06 Thread Jeff MacDonald
On CGI::Application) > > But it would be nice to have a name that evokes the spirit of > CGI::Application and its plugins: flexible, adaptable, minimal: A > technology that gives the user control and choice... > > > Michael > > > --- > Michael Graham <[EMAIL PROTECTED]> > > > --

Re: [cgiapp] Re: "Best free DB for a web-based Perl app" response results...

2005-12-01 Thread Jeff MacDonald
On 12/1/05, Robert Hicks <[EMAIL PROTECTED]> wrote: > "... if i only needed MySQL, i'd use SQL Lite." > > Really? I think that would be a poor choice and I like SQLite. ; ) > > Robert I'll elaborate. PostgreSQL is already installed. It's what I "grew up with" I've very comfortable with it and I f

Re: [cgiapp] "Best free DB for a web-based Perl app" response results...

2005-12-01 Thread Jeff MacDonald
> in the next release. However, PgSQL is still slow, hard to use, and of > questionable reliability. Slow, i'm not going to argue cause it's "fast enough for me" and I don't have numbers. Hard to use ? What do you find hard ? I find it aboslutly devine to use, and mysql to be cludgy and awkward.

Re: [cgiapp] while debuging : apache error logs

2005-11-24 Thread Jeff MacDonald
> > Is there a way to suppress the referrer in error logs, or is there a > > different way I should be debugging these sorts of things ? > > Yeah, this is really annoying! Along with the timestamp and other gunk > that gets prepended to the start of every line. The worst part of it is > that if

[cgiapp] while debuging : apache error logs

2005-11-22 Thread Jeff MacDonald
ppress the referrer in error logs, or is there a different way I should be debugging these sorts of things ? -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca - Web Archive: http://www.mail-archive.

[cgiapp] Request for Best Practice : Inserting and Updating a field

2005-11-22 Thread Jeff MacDonald
me sample code on the net if that helps to illustrated my point. I guess this may be a bit of a 2 parter, second part being Do you folks have a method to easily populate a FillInForm object [well query object more accuratly i guess] using CDBI::Clients->retrieve maybe there is

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

2005-09-22 Thread Jeff MacDonald
gt; scaled down in size in order to make this cell fit on a > single page. Sometimes this may even result in unreadable > output. > > css/stylesheets > html2ps supports css to a limited extent, but the styles > must b

Re: [cgiapp] CGI::App book - separate list?

2005-09-09 Thread Jeff MacDonald
-- > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL

Re: [cgiapp] Quebec.. grr..... multilingual database schema

2005-09-08 Thread Jeff MacDonald
icon, so I havent's tried Tie::DBI myself. > > Regards, > Johan > > > On Thursday 08 September 2005 07:22, Jeff MacDonald wrote: > > Hiya, > > > > Not really CGI::App specific, but you guys are a sounding board for > > CGI related stuff that I trus

[cgiapp] Quebec.. grr..... multilingual database schema

2005-09-08 Thread Jeff MacDonald
g the same data twice [ie price, taxable etc] Jeff. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup

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

2005-09-07 Thread Jeff MacDonald
- > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECT

Re: [cgiapp] Master-detail forms

2005-09-06 Thread Jeff MacDonald
d name them "authorFirst_1" "authorFirst_2" etc. and I guess the way you lay it out really depends upon your application flow and how you want to user to experience the app. -- Jeff MacDonald http://www.halifaxbudolife.ca http://www.nintai.ca --

Re: [cgiapp] Q: Handling unwanted form submissions

2005-07-30 Thread Jeff MacDonald
> Let the record show: Microsoft is not an Australian company > > > > - > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e

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

2005-07-02 Thread Jeff MacDonald
> Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jeff MacDo

Re: [cgiapp] OT : HTML::Tidy

2005-06-24 Thread Jeff MacDonald
> > I'm trying to update a bunch of HTML documents in a database.. my code > > is like this > > > > my $tidy = new HTML::Tidy; > > $tidy->ignore( type=> TIDY_WARNING ); > > $tidy->clean("foo.html",$newcontent) or die "!@"; > > clean() returns the transformed contents, so: > > $newco

Re: [cgiapp] plugin authors get ready!

2005-06-24 Thread Jeff MacDonald
> Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe,

[cgiapp] OT : HTML::Tidy

2005-06-23 Thread Jeff MacDonald
point, i'd like to call an update. foo.html is just a place holder, doesn't even exist, docs say it doesn't have to. Thing is, from the man page, I can't figure out how to get at the cleaned up content... Tha

Re: [cgiapp] ANNOUNCE: CGI::Application::Framework (pre-release)

2005-06-23 Thread Jeff MacDonald
thing that perl already supports ? Do you know which perldoc page I might find it in ? Jeff. -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ htt

[cgiapp] CAF : Exceptions

2005-06-22 Thread Jeff MacDonald
of the errors, and makes multilingual stuff tres easy. Also, are there plans for buildin in internationalization hooks ? Thanks. -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] ANNOUNCE: CGI::Application::Framework (pre-release)

2005-06-21 Thread Jeff MacDonald
ttp://www.yapc.org/America/ - [EMAIL PROTECTED] > --- > > > ----- > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http

Re: [cgiapp] ANNOUNCE: CGI::Application::Framework (pre-release)

2005-06-21 Thread Jeff MacDonald
------ > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTE

Re: [cgiapp] Re: so many ways to do things.. ah the beauty of perl.

2005-06-09 Thread Jeff MacDonald
, Mark Stosberg <[EMAIL PROTECTED]> wrote: > On 2005-06-04, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > > On 6/3/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > >> I have an app which is basically a photoalbum of sorts. Now there is > >> an adminis

[cgiapp] so many ways to do things.. ah the beauty of perl.

2005-06-03 Thread Jeff MacDonald
on a conceptual level. Jeff. -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e

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

2005-05-31 Thread Jeff MacDonald
but prerun has already run for the current run mode, i guess you'd have to decided if you need prerun run again or not. On 5/31/05, Jonathan Mangin <[EMAIL PROTECTED]> wrote: > > - Original Message ----- > From: "Jeff MacDonald" <[EMAIL PROTECTED]> >

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

2005-05-31 Thread Jeff MacDonald
ection eq 'one') { return $self->other_runmode(); } if ($selection eq 'two') { return $self->somethingrunmode(); } } -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archiv

[cgiapp] Fwd: User no longer at Algorithmics

2005-05-16 Thread Jeff MacDonald
Y2AAwWNv7WE843WdCJVwJlR27JkczVC0OrFagtK/WPCQlxB7IHWApOYbNZVAkTNaYaWcbYXDs9UCntbP0Ke38yeJDZaiHo= Message-ID: <[EMAIL PROTECTED]> Date: Mon, 16 May 2005 15:19:00 -0300 From: Jeff MacDonald <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: cgiapp Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Di

[cgiapp] Shipping

2005-05-16 Thread Jeff MacDonald
n UPS. The ups part is likly the easiest as there are many modules out there for it. I'm not even sure if the other folks publish their data. So I do acknowledge that part of this project may be a bust, I'm just wondering who has wrangled with shipping calc's before. Thanks. --

[cgiapp] C::A::ValidateRM

2005-04-07 Thread Jeff MacDonald
return $pastdate; }, }, filters => ['trim'], field_filters => { quoted => ['decimal'], }, msgs => {any_errors => 'err__', prefix=>'err_'}, }); } Any idea's or things i could

Re: [cgiapp] configuration modules

2005-03-31 Thread Jeff MacDonald
> > As for why i don't use mod_perl. it's a long story, and i'm working > > towards using it in the future. > > Well, keep working towards it :) Our machines are currently infected with FastCGI.. - Web Archive: http://www.mail-

[cgiapp] configuration modules

2005-03-30 Thread Jeff MacDonald
I'm not working in a cached environment at all right now that is, no mod_perl. I"m wonderng how much extra over head would it be to load up that config file versus the method i'm using now.. As for why i don't use mod_perl. it's a long story, and i'm working towards

[cgiapp] c::a base classes and inheritance

2005-03-29 Thread Jeff MacDonald
m project to project.. Is this what is meant by reusing ? or is there an even better way ? -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http

[cgiapp] authentication.. multiple access levels oh my !

2005-03-29 Thread Jeff MacDonald
this if ($acllevel == 1) { $sql = "select * from purchaseorders"; } elsif($acllevel == 3) { $sql = "select * from purchaseorders WHERE userid = $userid"; } you get the point, this all seems very hacky to me. are there cgi modules that are made for doing this sort of thing a

Re: [cgiapp] Using ValidateRM etc...

2005-03-21 Thread Jeff MacDonald
y data besides the actual HTML (but you can if you need to). The > HTML needs to be passed in as a scalar ref, but I return that by > default from all my runmodes. > > Cheers, > > Cees > > - &g

Re: [cgiapp] Using ValidateRM etc...

2005-03-21 Thread Jeff MacDonald
n Purdy <[EMAIL PROTECTED]> wrote: > D'oh! Forgot that part! > > Also, you may need to put whatever flag in that anonymous hashref > ('some_errors' in the docs) that triggers your template code that > something is off. > > - Jason >

Re: [cgiapp] Using ValidateRM etc...

2005-03-21 Thread Jeff MacDonald
gt; - Jason > > Michael Peters wrote: > > Jason Purdy wrote: > > > > >> if (!$bookid) { > >> return $self->bookPool( { 'db_error' => 1, 'some_errors' => 1 } ); > -- Jeff MacDonald http://www.halifaxbudolife.ca ---

[cgiapp] Using ValidateRM etc...

2005-03-21 Thread Jeff MacDonald
l the fields that the user had filled in. Since ValidateRM already re-fills in the form in case of an error I did not write the code i'd typically write to do that step. Does anyone have any elegant ideas that i could use without writing the by hand code to re

Re: [cgiapp] E-commerce frameworks - DMart, OSCommerce

2004-12-09 Thread Jeff MacDonald
ur number of products are only a few hundred > and don't change that much, then Interchange may be too big of beast for > such a small store. It is in this smaller market that there is a need > for a good solution like the DMart proposal. I hope development on it > continues

Re: [cgiapp] E-commerce frameworks - DMart, OSCommerce

2004-12-09 Thread Jeff MacDonald
-- > > > Tony Fraser > > > [EMAIL PROTECTED] > > > Sybaspace Internet SolutionsSystem Administrator > > > phone: (250) 246-5368fax: (250) 246-5398 > > > > > > > > > > > >

Re: [cgiapp] E-commerce frameworks - DMart, OSCommerce

2004-12-09 Thread Jeff MacDonald
ax: (250) 246-5398 > > > > > - > Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ > http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 > To unsubscr

Re: [cgiapp] cgi-app.org

2004-12-03 Thread Jeff MacDonald
> > > > Jason A. Crome wrote: > > > Works ok for me. > > > > -- > > Jason A. Crome > > Senior Software Engineer, DEVNET, Inc. > > E-Mail: [EMAIL PROTECTED] > > http://www.devnetinc.co

[cgiapp] cgi-app.org

2004-12-03 Thread Jeff MacDonald
How many people does www.cgi-app.org just hang for ? I can resolve it.. but it does not go anywhere. Just sits there. -- Jeff MacDonald http://www.halifaxbudolife.ca - Web Archive: http://www.mail-archive.com/cgiapp

Re: [cgiapp] CGI::App website (was: Re: new competition: CGI::Prototype (and ::Callbacks))

2004-12-03 Thread Jeff MacDonald
> 1) How much more marketing do we get if we can say "C::A wiki, built > on C::A technology"? Or, rather, won't people ask "Why isn't this > built on C::A if it's such a good product?" I know that was an initial > stumbling block for me ... I didn't ask why it wasn't build on C::A, basicaly cause

Re: [cgiapp] CGI::App website (was: Re: new competition: CGI::Prototype (and ::Callbacks))

2004-12-03 Thread Jeff MacDonald
> > Actually, why would we use someone else's wiki implementation? Are we > the webapp capital of the Perl world? Why aren't we building our own > C::A wiki built on C::A technology?? > > Rob > > > > > On Thu, 2 Dec 2004 22:07:07 -0400, Jeff MacDonal

Re: [cgiapp] CGI::App website (was: Re: new competition: CGI::Prototype (and ::Callbacks))

2004-12-02 Thread Jeff MacDonald
Aye, I admin a MoinMoin wiki, and i really love it. It's pretty much changed the way our company stores information, in about one week.. and people actually use it. Jeff. On Fri, 3 Dec 2004 00:53:28 + (UTC), Mark Stosberg <[EMAIL PROTECTED]> wrote: > On 2004-12-02, Jeff Mac

Re: [cgiapp] Re: new competition: CGI::Prototype (and ::Callbacks)

2004-12-02 Thread Jeff MacDonald
boy is my face red... On Thu, 02 Dec 2004 19:48:00 -0500, Michael Peters <[EMAIL PROTECTED]> wrote: > try http://www.cgi-app.org > > it's listed in the docs... > > > > Jeff MacDonald wrote: > > Try to take this without offense... > > > &g

Re: [cgiapp] Re: new competition: CGI::Prototype (and ::Callbacks)

2004-12-02 Thread Jeff MacDonald
> > > > > -Original Message- > > From: Jeff MacDonald [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 02, 2004 5:18 PM > > To: Michael Peters > > Cc: Mark Stosberg; [EMAIL PROTECTED] > > Subject: Re: [cgiapp] Re: new competition: CGI::Prototy

Re: [cgiapp] Re: new competition: CGI::Prototype (and ::Callbacks)

2004-12-02 Thread Jeff MacDonald
in development. We > could also incorporate that feature requested earlier for returning a > filehandle... > > > Since that's a major feature addition, that release would be a good > > reason to beat our advocacy drums some. > > -- > Michael Peters > Developer > Plus Three, LP > > > > &

[cgiapp] A runmode for every page ?

2004-11-29 Thread Jeff MacDonald
s.] then other runmodes would only be used for doing business logic, adding things to a database etc.. I thought of using embedded perl with this.. but I'm not to sure if this is the right solution.. Please let me know what you have done to make drawing screens easier. --

Re: [cgiapp] showing more errors

2004-11-17 Thread Jeff MacDonald
funny thing about that.. afaik i'm not running mod perl. i did not install it. this is on apache2, if you need gobs more info to debug, just ask On Wed, 17 Nov 2004 12:38:17 -0500, Michael <[EMAIL PROTECTED]> wrote: > Michael wrote: > > Jeff MacDonald wrote: > >

Re: [cgiapp] showing more errors

2004-11-17 Thread Jeff MacDonald
n Wed, 17 Nov 2004 11:30:15 -0500, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > On Wed, 17 Nov 2004 11:32:02 -0400, Jeff MacDonald <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm writing up an app with cgi::app. Each time i get a fat

[cgiapp] showing more errors

2004-11-17 Thread Jeff MacDonald
e 144. at /var/www/localhost/htdocs/i360/jeff/peipork/cgi-bin/app.cgi line 10 It never really gives many tips on what the actuall error is, just that it's something blowing up an eval loop somewhere in that run mode. How can i make it give me more useful error messages ? -- Jeff MacDona

Re: [cgiapp] Calling external modules?

2003-10-30 Thread Jeff MacDonald
Here's what i do.. run_modes ( 'mode1' => 'module::method'; ); been doing that for ages, works like a charm. Jeff. On Thu, 2003-10-30 at 11:20, Darin McBride wrote: > On October 30, 2003 07:58 am, Clint Moore wrote: > > I swear that it is probably something that I am doing but I can't for >

[cgiapp] cgi app prerun

2003-10-17 Thread Jeff MacDonald
Hi In my cgiapp_prerun i have a chunk of code that does this if (runmode starts with a_) { try to authenticate the user if that fails { kick them out of the system} } } nice pseudo code eh ? anyways my current method to kick them out changes the header to the logi page, and returns 1.

RE: [cgiapp] Setting values in a select...

2003-04-02 Thread Jeff MacDonald
I'm gonna get hung for this one ;) $sql = "SELECT id,name,CASE WHEN id = 123 THEN 'SELECTED' END AS selected FROM sometable"; $prepare/execute/yada yada $tmp->param(LIST => $sth->fetchall_arrayref({})); where LIST is a list in HTML::Template format in the template. that might look like this.

RE: [cgiapp] Inserting Form Feeds when using FORMAT

2003-03-20 Thread Jeff MacDonald
Are you displaying this in a browser before printing it ? remeber that html it a layout language, not a document formatting language. meaning, that it doesn't really have a concept of page breaks. i think that's what you mean. alternativly, if you mean everything is not printed as you would exp

RE: [cgiapp] creating a .csv file...

2003-02-11 Thread Jeff MacDonald
a query as input.., > generate a csv > file then start the download using reusable code for all the runmodes that > need to offer a download button.. > > I am wondering if this is the easiest way to do it.. > > but thanks for the tip, I now know how to create xls files if I >

RE: [cgiapp] Compile Perl program with Pg module

2003-02-11 Thread Jeff MacDonald
You should use DBI as Pg is antiquated. As well using DBi will give you flexability to use other databases should you out grow postgres's funtionality. I said *should* as it takes quite a bit to out grow it. Jeff. > -Original Message- > From: John Li [mailto:[EMAIL PROTECTED]] > Sent: T

RE: [cgiapp] creating a .csv file...

2003-02-11 Thread Jeff MacDonald
hi, why not just make a run mode that generates the excel sheet using Spreadsheet:Writeexcel [i think] then just send the excel mime header and spit the excel out on STDOUT. this what i do. jeff. > -Original Message- > From: Franki [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February

RE: [cgiapp] CGI::Application 3.0

2003-02-02 Thread Jeff MacDonald
also, what if your run modes are outside of the main module. ie $self->row_modes( do_this => &util::do_that() } > -Original Message- > From: Christopher Hicks [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 02, 2003 12:19 PM > To: CGI::Application mailing list > Cc: Jesse Erlbau

[cgiapp] Best practices and faq

2002-11-13 Thread Jeff MacDonald
Hi, name : jeff macdonald role : long time lurker ;) Another project that I lurk in the mailing lists of is in the process of redesigning their website. The developers were talking about what approach they should use for various tasks. Then finally someone piped up and just said "lets jus