John ORourke wrote:
I would strongly recommend using one of the well used frameworks. You
can find more info and tutorials from the links on this page:
http://perl.apache.org/products/app-server.html
How come Catalyst is not on that page? Someone might as well add it.
Enno
On Aug 1, 2006, at 10:45 AM, John ORourke wrote:
Excellent, I'd never heard of that. I only found out about
Class::DBI yesterday too - next thing you'll be telling me there's
a guide that picks out the most useful CPAN modules to stop people
reinventing the wheel!
Personally, I disliked
John ORourke wrote:
>
> Michael Peters wrote:
>
>> John ORourke wrote:
>>
>>
>>> You could even do something really clever and make it map URI onto
>>> module - eg. so /debitor/contract/create calls
>>> Debitor::Contract->create(), but that wouldn't be very secure!
>>>
>>
>> You could use
Michael Peters wrote:
John ORourke wrote:
You could even do something really clever and make it map URI onto
module - eg. so /debitor/contract/create calls
Debitor::Contract->create(), but that wouldn't be very secure!
You could use something like Apache::Dispatch to achieve this or
John ORourke wrote:
> You could even do something really clever and make it map URI onto
> module - eg. so /debitor/contract/create calls
> Debitor::Contract->create(), but that wouldn't be very secure!
You could use something like Apache::Dispatch to achieve this or
CGI::Application::Dispatch
> Frank Maas wrote:
>
>> On Tue, Aug 01, 2006 at 07:33:51AM +0100, John ORourke wrote:
>>
>>
>>> You could even do something really clever and make it map URI onto
>>> module - eg. so /debitor/contract/create calls
>>> Debitor::Contract->create(), but that wouldn't be very secure!
>
> As descri
Vladimir S. Tikhonjuk wrote:
John ORourke пишет:
Vladimir S. Tikhonjuk wrote:
O.K. Thanks for answer :)
I want to write rather big project. How I have to construct it: I mean,
should I make a lot of handlers, like, /debitor, /debitor/documents,
/debitor/documents/contracts Or, c
Frank Maas wrote:
On Tue, Aug 01, 2006 at 07:33:51AM +0100, John ORourke wrote:
You could even do something really clever and make it map URI onto
module - eg. so /debitor/contract/create calls
Debitor::Contract->create(), but that wouldn't be very secure!
Why would that be not very
On Tue, Aug 01, 2006 at 07:33:51AM +0100, John ORourke wrote:
>
> You could even do something really clever and make it map URI onto
> module - eg. so /debitor/contract/create calls
> Debitor::Contract->create(), but that wouldn't be very secure!
>
Why would that be not very secure? Could you g
John ORourke пишет:
> Vladimir S. Tikhonjuk wrote:
>
>>
>> O.K. Thanks for answer :)
>> I want to write rather big project. How I have to construct it: I mean,
>> should I make a lot of handlers, like, /debitor, /debitor/documents,
>> /debitor/documents/contracts Or, create *.pl scripts. Or m
Vladimir S. Tikhonjuk wrote:
O.K. Thanks for answer :)
I want to write rather big project. How I have to construct it: I mean,
should I make a lot of handlers, like, /debitor, /debitor/documents,
/debitor/documents/contracts Or, create *.pl scripts. Or may be
there is another theory ?
Scott Penrose пишет:
>
> On 01/08/2006, at 15:50, Vladimir S. Tikhonjuk wrote:
>
>>
>> So, as I understant, If I want authenticate user before seeing every
>> page, I have to put
>>
>>
>> PerlAuthenHandler Promtelecom::Authentication
>> AuthType Basic
>> AuthName "Promtelecom Network"
>> Require
On 01/08/2006, at 15:50, Vladimir S. Tikhonjuk wrote:
So, as I understant, If I want authenticate user before seeing every
page, I have to put
PerlAuthenHandler Promtelecom::Authentication
AuthType Basic
AuthName "Promtelecom Network"
Require valid-user
to be the first one.
Then, If I wan
Scott Penrose пишет:
>
> On 01/08/2006, at 15:30, Vladimir S. Tikhonjuk wrote:
>
>> Hi everyone!
>>
>> I have Authentication handler, which I set like:
>>
>>
>> PerlAuthenHandler Promtelecom::Authentication
>> AuthType Basic
>> AuthName "Promtelecom Network"
>> Require valid-user
>>
>>
>> Alseo
On 01/08/2006, at 15:30, Vladimir S. Tikhonjuk wrote:
Hi everyone!
I have Authentication handler, which I set like:
PerlAuthenHandler Promtelecom::Authentication
AuthType Basic
AuthName "Promtelecom Network"
Require valid-user
Alseo I have 2 simple PerlHandler's
D]
> Sent: Wednesday, February 04, 2004 10:15 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Handlers/locations
>
>
> I had the same issue when I installd modperl.
>
> My solution was to put everything Perlish in the "root",
> with plain HTML stylesh
I had the same issue when I installd modperl.
My solution was to put everything Perlish in the "root", with plain HTML
stylesheets and images under it. So it looked like this:
/htdocs/myapp <-- executable Perl
/htdocs/myapp/img <-- not executable
/htdocs/myapp/css <-- not executable
htdocs/my
> The best solution for me is to have all perl and html files in the root
> directory, and have the images under the /images/ subdirectory, and
> maybe the stylesheets in the /style/ subdirectory.
>
> What would be the best httpd.conf configuration to do that?
>
none of this is really a mod_per
EMAIL PROTECTED]
Subject: RE : Handlers vs Perl scripts
Could anyone explain me why having perl files like :
printf (" blahblahb");
printf ("My name is %s",$name);
Is a wrong idea? :-)
Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Foresti
On 27 Jan 2004 at 15:45, Hemond, Steve wrote:
> Could anyone explain me why having perl files like :
>
> printf (" blahblahb");
> printf ("My name is %s",$name);
>
> Is a wrong idea? :-)
Because that's not all you will have. You will have
printf (" blahblahb");
printf ("My name is %s",$name);
On Tue, 2004-01-27 at 12:45, Hemond, Steve wrote:
> Could anyone explain me why having perl files like :
>
> printf (" blahblahb");
> printf ("My name is %s",$name);
>
> Is a wrong idea? :-)
For one, most HTML pages will probably contain more than one tag and
more than two lines of text. Take t
833
[EMAIL PROTECTED]
> -Original Message-
> From: David R. Baird [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 27, 2004 12:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Handlers vs Perl scripts
>
>
> Really, everything you are trying to do is made so much easier
Really, everything you are trying to do is made so much easier in
Mason. Have you tried the Mason list for help with your bugs?
Embedding html inside perl scripts is not the way to go - it'll
get very unwieldy very quickly.
If you put most of your functions into modules (eg for db
access), t
i use handlers!
usually with HTML::Template or XML::LibXML // XML::LibXSLT to handle the
content /layout pieces!
On Tue, 2004-01-27 at 10:40, Paul Simon wrote:
> --- "Hemond, Steve" <[EMAIL PROTECTED]> wrote:
> >
> > Instead of embedding perl code in html files to
> > generate stuff from a
> >
--- "Hemond, Steve" <[EMAIL PROTECTED]> wrote:
>
> Instead of embedding perl code in html files to
> generate stuff from a
> database, I would just have to write an entire perl
> file that will print
> the html code (like the example I've shown above)
> and do the
> manipulations on the database
25 matches
Mail list logo