Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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,

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.

    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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2020-08-07 03:21 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (43 votes). Check out past polls.