Hi Monks,

It's three and a half hours away before 2004 for me. Ah...let me make a last post before bidding farewell to the year of Ram.

First things first, a very HAPPY NEW YEAR to all of you!

Here we go...

I'm thinking along the line of a default html file index.pl (exactly like the perlmonks' index.pl). I'm not sure if it's a good idea to make a do-all script for all the site's functions including membership registration, logging in/out, managing the members' database, simple forum, etc. It's not a self-contained script i.e. index.pl is tied to a number of modules that store certain shared subroutines.

The other option is to have separate scripts performing the different functions. For example, register.pl for membership registration, login.pl for logging, forum.pl for managing the forum etc.

Which of the two options is a better one? I was thinking about load on the single script as well as code maintenance but I guess there're other issues.

I look forward to hearing from you.

Thanks in anticipation :)


In reply to All-in-one script vs independent scripts by kiat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.