Re: [cgiapp] CGI::Application::XML

2003-11-25 Thread Terrence Brannon
Darin McBride wrote: And this, I think, is where many users have wished for C::A to be separated from H::T. I second this wish. - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/

Re: [cgiapp] CGI::Application::XML

2003-11-25 Thread Terrence Brannon
Jason Yates wrote: HTML::Template is nice but XSLT is nicer :). XSLT strength comes from it's abliity to tranform structured XML data into another form of structered XML data. Not simply replacing text with text. Do you have any practical examples demonstrating the need for XML to XML

Re: [cgiapp] CGI::App 3.2 proposed release available

2003-11-25 Thread Terrence Brannon
Mark Stosberg wrote: From working with the code, I also have a number of other suggestions which I think will improve the distribution and make it easier to maintain: - Jump on the Module::Build bandwagon to promote this more pleasant and portable alternative to MakeMaker. For the simple needs

Re: [cgiapp] CGI::Application::Session - session plugin for CGI::Application

2004-01-20 Thread Terrence Brannon
Cees Hek wrote: What if someone wants to create a CGI::Application::Session module based on Apache::Session? Someone has: http://perlmonks.org/index.pl?node_id=142050 - Web Archive: http://www.mail-archive.com/[EMAIL

Re: [cgiapp] Re: CGI::App::DBH or Ima::DBI

2004-01-27 Thread Terrence Brannon
William McKee wrote: After initial joy of abstracting my SQL, I grew to hate the DBIx::Recordset API because I couldn't understand my own code when I went back to code after several months. 1 - if your recordset calls were wrapped in a descriptive function name, perhaps the inability to

Re: [cgiapp] Re: CGI::App::DBH or Ima::DBI

2004-01-27 Thread Terrence Brannon
Mark Stosberg wrote: Could you say more about this William? I usually inline my SQL. The one time I tried to abstract out of the code, I felt like it was an extra layer of abstraction that made the code harder to understand and debug without benefits that exceeded that. What specific benefits do

[cgiapp] [ANNOUNCE] Config::DBI - database connection support via Config::ApacheFormat files

2004-01-27 Thread Terrence Brannon
housing via XML. Ima::DBI Ima:DBI is part of the tech stack Perl's most popular Perl database wrapper, Class::DBI. It does connection and SQL warehousing via Perl. DBIx::Connect The first module I wrote to address what I could not address under the auspices of DBIx::Password. AUTHOR Terrence Brann

Re: [cgiapp] Re: Writing the CGI::Application book

2004-01-29 Thread Terrence Brannon
Sam Tregar wrote: DBIx::Recordset for object wrapping of SQL queries for managability. ] I thought this was just another OO DB wrapper, but I don't remember looking too closely. No, I would say that DBIx::Recordset is a procedural API for driving a database. The usage therefore

Re: [cgiapp] Re: Writing the CGI::Application book

2004-01-29 Thread Terrence Brannon
John Day wrote: HTML::Template is a good candidate for the view (but not the only candidate!). [ print statements and here-documents are *NOT* good candidates. ] Agreed, H::T has its shortcomings. The steep learning curve of TT is one of H::T's best points! Of course after I have read the

Re: [cgiapp] Re: Writing the CGI::Application book

2004-01-29 Thread Terrence Brannon
Richard Dice wrote: My experience with SQL DBI is that it quickly becomes unwieldly. I guess my question is, what kind of SQL/DBI helper techniques are you using to reign in the unwieldly-ness? There are a number of CPAN modules that typify each technique. [ E.g. SQL::Snippet for

Re: [cgiapp] Re: Writing the CGI::Application book

2004-01-29 Thread Terrence Brannon
John Day wrote: H - titles can have a huge impact on how writers think. Jesse has been very careful to keep the vision for CGI::A clear, let it not be cluttered with application or even author specific code, but keep it clean, clear and a wonderful foundation on which anybody can build.

Re: [cgiapp] Re: Writing the CGI::Application book

2004-01-29 Thread Terrence Brannon
Mark Stosberg wrote: What we /need/ is more open source applications so we can see more examples of how we all code, and learn from the best and worst of that. I have a 13k .tar.gz file that contains a CGI::Application that is up and running and useable 24 hrs/day. It is a site which keeps

Re: [cgiapp] Re: Template::Toolkit Plugins

2004-01-29 Thread Terrence Brannon
William McKee wrote: This could be pulled into another template with the following line: xi:include href=header.tmpl / I want to make a fundamental points about website design here... componentizing a website's view via a templating language is very different from what experts in

[cgiapp] lists.erlbaum.net and cgiapp-subscr...@lists.erlbaum.net do not work?

2009-01-05 Thread Terrence Brannon
Re: http://cgi-app.org/index.cgi?DeveloperPortal I cannot subscribe to this list via the email address cgiapp-subscr...@lists.erlbaum.net And lists.erlbaum.net does not go to a list subscription page. Hi. This is the qmail-send program at remnick.erlbaum.net. I'm afraid I wasn't able to

[cgiapp] CGI::Application::Plugin::Authentication --- Can't locate object method _cgiapp via package Aff

2009-01-14 Thread Terrence Brannon
Hello, I am using CGI::Application::Plugin::Authentication and my package starts out like this: package Aff; use CGI::Carp 'fatalsToBrowser' ; use base 'CGI::Application'; use CGI::Application::Plugin::Authentication; use CGI::Application::Plugin::Session; use Local::Seamstress;

Re: [cgiapp] Form validation best practices

2009-01-26 Thread Terrence Brannon
, it returns you to a certain page and you can get the errors _AND_ it fills in the form using HTML::FillInForm. One plugin, saved me tons of work! Thank you Mark Stosberg and the cgiapp community!!! -- Terrence Brannon (818) 359-0893 [cell] # CGI::Application community mailing list

[cgiapp] Re: my action subroutines all return references, which get stringified

2009-01-27 Thread Terrence Brannon
On Tue, Jan 27, 2009 at 1:22 PM, Terrence Brannon tbran...@insuranceagents.com wrote: My action routines are returning subclasses of HTML::Tree, which I then turn into strings in my cgiapp_postrun method like so: sub cgiapp_postrun { my ($self, $html_tree) = @_; return $$html_tree

Re: [cgiapp] Accessing CGI.pm methods

2009-01-30 Thread Terrence Brannon
On Thu, Jan 29, 2009 at 8:00 AM, kropotkin enquir...@mms-oxford.com wrote: Hi How do I access the CGI.pm method request_method() in CGI::Application? In an action subroutine, it should be as easy as: sub myaction { my ($app) = @_; $app-query-request_method(); } -- Terrence

[cgiapp] HTML::FillInForm maintanence, patch idea

2009-02-04 Thread Terrence Brannon
I am heavily dependent on HTML::FillInForm via C::A::P::FormValidator. Everything is working fine, but I notice some valid bugs: http://rt.cpan.org/Public/Dist/Display.html?Name=HTML-FillInForm and I notice no updates to any of his modules in more than 9 months:

[cgiapp] Form Validation with error placeholders with CGI::Application

2009-02-09 Thread Terrence Brannon
On Fri, Feb 6, 2009 at 11:29 AM, Steve st...@octane.to wrote: A little bit off topic to the HTML::FillInForm discussion (or maybe not). But does anyone know of a module like HTML::FiF that would allow me to fill in other things such as: span id='error_firstname'/span I posted a complete

[cgiapp] CGI::Application::Plugin::Authentication posthook

2009-02-26 Thread Terrence Brannon
Hello, I am using CGI::Application::Plugin::Authentication and contemplating using CGI::Application::Plugin::Authorization. I would like some way of adding some things to $app-authen-store() after authenticating the user, and before any runmode actually runs. Since these things are particular to

[cgiapp] Re: CGI::Application::Plugin::Authentication posthook

2009-02-26 Thread Terrence Brannon
object. Then it will be easy for me to store the user id in a subroutine written using the generic driver. in the meantime What I can do is subclass CGI::Application::Plugin::Authentication and add a userid method similar to the username method On Wed, Feb 25, 2009 at 3:02 PM, Terrence Brannon

[cgiapp] getter behavior for -start_mode() ?

2009-02-26 Thread Terrence Brannon
sub logout { my($app)=...@_; $app-authen-logout; $app-forward( $app-start_mode ); # would be nice! } instead I will declare a lexical variable for the Application package ($start_mode) and use it in both defining the start mode and forwarding to it. # CGI::Application

Re: [cgiapp] getter behavior for -start_mode() ?

2009-02-26 Thread Terrence Brannon
On Thu, Feb 26, 2009 at 11:27 AM, Rhesa Rozendaal p...@rhesa.com wrote: it. The implementation of start_mode() suggests that this already works, I see. the docs do not say that: http://search.cpan.org/~markstos/CGI-Application-4.21/lib/CGI/Application.pm#start_mode() and the following

Re: [cgiapp] [OT] HTML::Parser::Simple is on github

2009-03-03 Thread Terrence Brannon
Just as an FYI, XML::Smart::HTMLParser http://search.cpan.org/~gmpassos/XML-Smart-1.6.9/ appears to be pure perl. Unfortunately, the author of this excellent approach to parsing X(HT)?ML does not seem to be active anymore. On Mon, Mar 2, 2009 at 12:26 AM, Ron Savage r...@savage.net.au wrote:

[cgiapp] CGI::Application::Plugin::Authentication - how to get at the CGI::Application object instance?

2009-03-06 Thread Terrence Brannon
Is there any way to access the CGI::Application object from a closure being used with the Generic driver? Because you configure the call to the closure at package-level, it is not obvious how to supply it to the closure: __PACKAGE__-authen-config( DRIVER = [ 'Generic', \check_password ],

Re: [cgiapp] CAP::Authentication

2009-03-17 Thread Terrence Brannon
On Mon, Mar 16, 2009 at 12:14 PM, fREW Schmidt fri...@gmail.com wrote: Clearly I am not doing anything very special, it looks like you are using some sort of REST url plugin. I am using CAP::Auth with great success but with 'ugly' query string URLs. but for some reason I am getting a 404

Re: [cgiapp] Usefulness of the FillInForm plugin since the HTML::FillInForm 2.0 release?

2009-03-28 Thread Terrence Brannon
On Wed, Mar 25, 2009 at 9:32 PM, Mark Stosberg m...@summersault.com wrote: I'd like to hear from other users: Do use the FillInForm plugin, or do you use HTML::FillInForm directly now? I use HTML::FillInForm directly and heavily. I'm a bit irked that it does not accept and return

Re: [cgiapp] [Announce] CGI::Application::Plugin::Routes v1.01 now on cpan

2009-06-08 Thread Terrence Brannon
On Wed, Jun 3, 2009 at 6:28 PM, Porta julian.po...@gmail.com wrote: Hi folks. Just in case anyone's interested, CGI::Application::Plugin::Routes hit v1.01 and it's available on CPAN

Re: [cgiapp] Repo Structure?

2009-07-16 Thread Terrence Brannon
On Wed, Jul 15, 2009 at 5:21 PM, fREW Schmidt fri...@gmail.com wrote: Hey guys, I am about to release CGI::Application::Plugin::DBIx::Class and I was curious if anyone had any tips on repo structures for perl module projects? well, I'm assuming you will be using Module::Starter to build the

[cgiapp] CGI::Prototype - develop cgi applications by subclassing

2009-08-07 Thread Terrence Brannon
Hello, I've used CGI::Application and CGI::Prototype for writing CGI programs. I prefer CGI::Prototype and discuss the reasons why here http://perlmonks.org/?node_id=786745 Looking forward to a constructive dialogue. # CGI::Application community mailing list ##

Re: [cgiapp] CGI::Prototype - develop cgi applications by subclassing

2009-08-07 Thread Terrence Brannon
On Fri, Aug 7, 2009 at 10:09 AM, Jason Purdy ja...@journalistic.com wrote: Terrence Brannon wrote: Looking forward to a constructive dialogue. HOW DARE YOU INSULT THE GREAT CGI::Application?!?!?! *laugh* It is great. It is battle-tested in a number of high-profile apps. It has a wealth