logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: RFC: CGI::Application::Plugin::Output::PDF: msg#00136

lang.perl.modules.cgi-appplication

Subject: Re: RFC: CGI::Application::Plugin::Output::PDF

On Thu, 22 Sep 2005 15:16:08 -0400, Evan A. Zacks wrote:

Hi Evan

> Another issue is how to handle configuration. Right now the user

Cees Hek has just written CGI::Application::Plugin::Authentication and solved
this config problem in a way I believe you can adopt. Here's part of his demo:

package MyLogin;
use base qw(CGI::Application);
use CGI::Application::Plugin::Authentication;
my %config = (
DRIVER => [ 'Generic', { cees => '123' } ],
STORE => ['Cookie', SECRET => 'X'],
LOGOUT_RUNMODE => 'one',
);
MyLogin->authen->config(%config);
MyLogin->authen->protected_runmodes('two');

In other words, his module imports authen() and you work via that().

So you import pdf() say.

Of course, this configures the plugin, not necessarily things such as the
downloaded file's name.

> This can get a bit messy, however. It would also be nice for the
> user to be able to specify the output filename, or specify some
> parameters specific to the selected converter. I don't know how
> many options are too many to handle in the import() method.

My major CGI::App currently only lets the user download *.csv files, and to be
able to add the dreaded pdf (to any app) would be good, but I certainly need to
be able to specify a file name.


--
Cheers
Ron Savage, ron@xxxxxxxxxxxxx on 23/09/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company



---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation