kiat has asked for the wisdom of the Perl Monks concerning the following question:
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 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(z) Re: All-in-one script vs independent scripts
by zigdon (Deacon) on Dec 31, 2003 at 13:59 UTC | |
|
Re: All-in-one script vs independent scripts
by jdtoronto (Prior) on Dec 31, 2003 at 17:35 UTC | |
|
Re: All-in-one script vs independent scripts
by Art_XIV (Hermit) on Dec 31, 2003 at 14:18 UTC | |
|
Re: All-in-one script vs independent scripts
by arden (Curate) on Dec 31, 2003 at 17:06 UTC | |
|
Re: All-in-one script vs independent scripts
by xenchu (Friar) on Dec 31, 2003 at 17:29 UTC | |
|
Year of the Ram/Monkey
by Mr. Muskrat (Canon) on Dec 31, 2003 at 23:24 UTC | |
by Mr. Muskrat (Canon) on Jan 23, 2004 at 05:39 UTC |