Re: [cgiapp] Question | Poll - Preferred ORM.

2008-09-25 Thread Barry Moore
Old Code: Class::DBI New Code: DBIx::Class Barry Moore Senior Research Specialist Eccles Institute of Human Genetics Dept. of Human Genetics University of Utah Salt Lake City, UT 84112 (801) 585-3543 On Sep 24, 2008, at 4:47 PM, Porta wrote

Re: [cgiapp] Titanium 1.00 released

2008-09-04 Thread Barry Moore
That looks like fun Mark. I look forward to trying it out. Thanks for your many contributions both past and present. Barry Barry Moore Senior Research Specialist Eccles Institute of Human Genetics Dept. of Human Genetics University of Utah Salt Lake City, UT 84112

Re: [cgiapp] Help with m// needed

2008-03-06 Thread Barry Moore
Hi Lou, You've got your variables around backwards. For that to match you need: $regexp = 'French'; $variable = 'French:6:47'; if ($variable =~ /$regexp/) { print This works\n; } BTW, this mailing list is specifically for CGI::Application issues, and it's members will generally

Re: [cgiapp] Program format (this is the way I write my code -help?)

2008-02-13 Thread Barry Moore
Lou, If your program was 10K lines long, then I'm guessing that there were a lot of different actions, and maybe a lot of html included in your code? If you start to rewrite this with CGI::Application you might want to think about clustering those actions into smaller groups and making

[cgiapp] CGIApp Project Management

2008-02-12 Thread Barry Moore
Hi all, I've been developing web apps with cgi-app for several years now, but for the first time I'm coordinating a project that will involve several developers, and I'm trying to think about how best to structure things - particularly in regards to version control. I've got three

Re: [cgiapp] Persistence

2008-02-08 Thread Barry Moore
This is an interesting thread, and XSS is something that I haven't really understood. Let me see if I'm understanding this correctly: Basically one version of an XSS attack would be for me to enter javascript code into a form on your web page. Then if you include my form submission in

[cgiapp] XSS

2008-02-08 Thread Barry Moore
Sorry for the second post. I decided that this topic has diverged enough it should be a separate thread. Reply to this one instead if you see it in time. This is an interesting thread, and XSS is something that I haven't really understood. Let me see if I'm understanding this correctly:

Re: [cgiapp] XSS

2008-02-08 Thread Barry Moore
Thanks Michael - that helps clear things up for me. B On Feb 8, 2008, at 8:40 AM, Michael Peters wrote: Barry Moore wrote: Basically one version of an XSS attack would be for me to enter javascript code into a form on your web page. Then if you include my form submission in other web pages

[cgiapp] TT::Plugin::Dumper and CGI::Session

2007-10-29 Thread Barry Moore
This is really a TT issue, and I'll post to that list also, but I thought I'd send it here as well since it has a good chance of biting other CAP users, so it would be good to have it in the archives. Using CGI::Session at the same time as Template::Plugin::Dumper can cause problems. The

Re: [cgiapp] TT::Plugin::Dumper and CGI::Session

2007-10-29 Thread Barry Moore
of all. B On Oct 29, 2007, at 2:03 PM, Peter Karman wrote: On 10/29/2007 01:50 PM, Barry Moore wrote: This is really a TT issue, and I'll post to that list also, but I thought I'd send it here as well since it has a good chance of biting other CAP users, so it would be good to have

[cgiapp] Re: more testing failures...

2007-03-13 Thread Barry Moore
of the night. All tests pass and the sun is shining in Salt Lake City. Barry On Mar 13, 2007, at 11:33 AM, George Hartzell wrote: Barry Moore writes: Yeah, I got the AutoRunmode, Dispatch and HTTP::Request::AsCGI prerequs, but was still getting errors. Sorry I pasted the errors way down in the cruft

Re: [cgiapp] Request for comments: Test::WWW::Mechanize::CGIApp

2007-03-12 Thread Barry Moore
Very nice George. I have immediate use for this on an app I just finished, and perhaps retrofit it onto some existing apps that are currently under-tested. I am getting some errors on make test (OSX perl 5.8.6). It's late so I'm not going to dig into these tonight, but this is a welcome

Re: [cgiapp] Curiosity poll?

2007-02-13 Thread Barry Moore
TT B On Feb 13, 2007, at 9:13 AM, Robert Hicks wrote: I would be interested in seeing how many use TT vs HT. Robert - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/

Re: [cgiapp] Re: In the scope of CGI::APP?

2006-10-10 Thread Barry Moore
Then do have a look at HTML::Prototype. Prototype is a great JS library that has many AJAX type functions. HTML::Prototype is a perl wrapper for that library. There is also CGI::Application::Plugin::HTMLPrototype. Barry On Oct 10, 2006, at 6:02 PM, Robert Hicks wrote: Sean Davis

[cgiapp] Debugging CA

2006-01-05 Thread Barry Moore
When I am using the perl debugger to debug a CA application like this: perl -d Pcode.cgi 'rm=advanced_query_process' And I want to step forward to poke around in the given run mode like this: c PcodeWebApp::advanced_query_process Rather than stopping at the first line of the give run mode

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

2005-12-06 Thread Barry Moore
Two thumbs up for Capiche!! Barry -Original Message- From: Gábor Szabó [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 12:05 AM To: Mark Stosberg Cc: cgiapp@lists.erlbaum.net Subject: Re: [cgiapp] A new project name for CGI::Application On 12/6/05, Mark Stosberg

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

2005-12-06 Thread Barry Moore
Viridian Rob I've heard you get up to 36 hours with Viridian. Does that come in capsules or tablets. ;) B - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/

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

2005-12-06 Thread Barry Moore
I'm changing my vote to Capsicum 'cause it's red hot! See logo idea at http://www.joss-moore.net/Barry/Capsicum.jpg. Yeah, yeah, I'm know I'm not a designer - I'll keep my day job. Barry

RE: [cgiapp] What's the best free DB for a web-based app?

2005-11-29 Thread Barry Moore
John, Most of the recommendations you'll get for open source db's will be either MySQL or PostgreSQL. Traditionally MySQL was considered to be more user friendly but also lighter weight in terms of advanced DBMS features and PostgreSQL had more advanced features, but carried a higher learning

RE: [cgiapp] Ajax?

2005-10-19 Thread Barry Moore
Well, I'm not writing from experience since I have yet to find the time to play with it, but Cees Hek's plugin for the HTML::Prototype library ( CGI::Application::Plugin::HTMLPrototype) supplies a JavaScript library for doing Ajax stuff like autocomplete and plenty more. Don't know if you could

RE: [cgiapp] RFC: Cacheable plugin ?

2005-10-15 Thread Barry Moore
-Original Message- From: Cees Hek [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 1:48 PM To: Michael Peters Cc: Mark Stosberg; cgiapp@lists.erlbaum.net Subject: Re: [cgiapp] RFC: Cacheable plugin ? Another caching aspect that I like is permanent caches that are only expired

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

2005-09-08 Thread Barry Moore
Well I'll pitch in here since I'm probably pretty close to your target audience. I'm not a web developer, I'm a biologist turned bioinformatician with a few years of perl experience, and no web dev background. I didn't know that web frameworks existed a year ago, but I needed to build web

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

2005-09-01 Thread Barry Moore
Cees, This looks really great! I have recently been learning CA, and while building my first few applications I struggled with session management and authentication. I would say that this new plugin will fill what was to me the most obvious hole in CA's plugin line-up. Thanks for this and

Re: [cgiapp] Restrict access to certain run modes

2005-08-17 Thread Barry Moore
expires, and the user has to re-login. Am I on track here, or are there easier ways to do this? Barry Cees Hek wrote: On 8/16/05, Barry Moore [EMAIL PROTECTED] wrote: If you're on Windows or something else without /tmp edit the line 16 of the cgiapp module to something like

RE: [cgiapp] Restrict access to certain run modes

2005-08-16 Thread Barry Moore
Prakash- I've been working on something similar lately, and I'll share what I've got working. I'm fairly new at all of this too, so Caveat lector! I'd appreciate any best practice comments/suggestions from anyone else who has time to look at this. The code is attached as two files: 1)

RE: [cgiapp] Should ValidateRM offer to set up DFV defaults for you?

2005-08-01 Thread Barry Moore
I'm one of those new user's you're talking about. Just started using ValidateRM (BTW, thanks for writing and sharing it!). In fact, just joined this list, and this is the first message I got. I can tell you that I love seeing ...or this step can be omitted, and the module will set some sensible