hi,
On Wed, 4 Aug 1999, Rajesh Thiharie wrote:
> The webserver will be Apache. I think I will have to use Perl-DBI to get
> data from the database and pass it to some HTML formatter program [PHP
> perhaps. Suggestions welcome] and hand it to Apache to give it to the
> client who requested it over the internet.
if you use perl for db-access , why don't you also use it for cgi/html ?
>
> Can anybody point me to resources on the web that will help. HOWTOs or
> such like documents.
perl cpan archive, perldoc on CGI,DBI & object orientation in perl (man
perl)
>
> I would like to know if anybody has done this and what are the various
> (issues/problems/steps) to be taken.
main issues are inteface-specifications, don't mangle html/gui/application
logic/and db-stuff ! build/use modules&classes for each of them, think of
using templates for output as well as gui. the separation of design & code
can save you a lot of trouble - you probably don't want to review
your code when someone needs a bigger font :-)
think of modperl (www.apache.org) when speed is important ... or
you like to be forced to keep your code tidier.
>
> Also please let me know if what I've stated above is
> incorrect/inconsistent or not doable.
>
...
set up apache(with modperl),db,perl(if necessary),
perlmodules(CGI.pm,wwwlib & others you may use) ... spend your nights on
studying object orientation/perl module design/modperl/hashes
reading&coding followed by excessive alcohol consumation ... and things
may work out...
fine :-)
have i forgotten anything ?
> Thanks in
advance. >
> Rajesh
gx rand
~
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]