|Think about Loose Coupling|
Way of accessing data...by kiat (Vicar)
|on Apr 12, 2004 at 14:02 UTC||Need Help??|
kiat has asked for the
wisdom of the Perl Monks concerning the following question:
I want to display the total number of membership on the main web page. I'm divided between the following two ways of doing it
1) Since that information is available in the database, just query the database and get the number.
2) As and when the database is updated with a new member, write that information to a flatfile to be included as in include file within the relevant html page.
Which of the above methods would you most likely use and why.
Not quite directly related to perl but still I look forward to reading your views.
As usual, thanks in anticipation :)