Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Suggestions on dynamic site..

by powerhouse (Friar)
on May 31, 2003 at 00:09 UTC ( #261993=perlquestion: print w/replies, xml ) Need Help??

powerhouse has asked for the wisdom of the Perl Monks concerning the following question:

I am creating a site for a client, in which I am making it where all the pages content is stored in a database. Perl then looks up that data. But what If I want it to do some functions, since the page would be stored in a database, how can I get Perl to perform certain tasks?

I guess I'm kinda lost as to how I can make them have a dynamic site, if a certain page requires some Perl syntax in it. I would appreciate it if you could just POINT me in the right direction, of course I'll do all the reading up on it. I don't want you to do any of the work for me. I am just kinda lost, and don't know where to go from here.

Thank you much,
Richard

Replies are listed 'Best First'.
Re: Suggestions on dynamic site..
by tjh (Curate) on May 31, 2003 at 00:40 UTC
Re: Suggestions on dynamic site..
by chromatic (Archbishop) on May 31, 2003 at 00:31 UTC
Re: Suggestions on dynamic site..
by teabag (Pilgrim) on May 31, 2003 at 00:53 UTC
    Well, if you're planning on just using flatfile databases you could check out Yawps, yet another web portal system.

    It's pretty flexible and you could adjust/adapt a lot of the features.

    Teabag
    Sure there's more than one way, but one just needs one anyway - Teabag

Re: Suggestions on dynamic site..
by artist (Parson) on May 31, 2003 at 03:16 UTC
    Your Prototype

    • CGI script: (use CGI)
    • Get title and page-text and other fields from database (use DBI and use DBD)
    • massage title and text according to your needs.
    • prepare new page from the template (HTML::Template).
    • fill the title and text and other fields in the page.
    • print the page.
    You might want to look at princepawn's homenode for your framework for further exploration.

    artist

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://261993]
Approved by graff
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2019-08-25 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?