Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old December 5th, 2001, 09:56 AM
Mr_SpAcE Mr_SpAcE is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 15 Mr_SpAcE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Message Boards --> semi-static or dynamic ?

That's a question I have since a little while.

I use UBB for now (yeah I'm a perl guy, not php but it doesn't matter for that question)

I plan on coding a new forum, from A to Z

But I'm on a dilemma right now.

Do I put all messages in mySQL tables, and everytime there is a page view, I create the html around querrying the DB?

Or I do like UBB, creating static html pages per thread, which are updated (let's say post count) echan time there is a reply or by admin tool / crontab.

IMO if there is a lot of trafic on a site, it might be faster to have messages in a DB but creating html static pages for threads and re-creating the page from the DB data when a user replies or edits a post. A static page is the fastest way to serve html contents, but the post count for users would not be totally dynamic in a thread, juste like UBB is (well my 5.xx version)

But it seems that the board here is 100% dynamic (reading from a DB everytime there is a page view) and the board is not that slow.

Any input would be appreciated, what are you using, what would you use?

Etienne

Reply With Quote
  #2  
Old December 5th, 2001, 02:27 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 13
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
I am voting for dynamic with both hands. Why? Simple because it gives better control over information. Oh I remember pain in the butt trying to arrange 'edit' function to my very first 'forum' which was based on static files....
__________________
And you know I mean that.

Reply With Quote
  #3  
Old December 5th, 2001, 02:38 PM
Mr_SpAcE Mr_SpAcE is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 15 Mr_SpAcE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
even for speed?

If you put the messages into a database, editing is a breeze, it makes the html with the mesasges stored in the DB. IN fact the DB size would be the same as a dynamic one, it's juste that there would be no DB reading if there is no edit or new reply.

But I'm thinking about going fully dynamic, since having up-to-the-minute updated website is really nice.

Thanks for your input

Etienne

Reply With Quote
  #4  
Old December 5th, 2001, 03:31 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level)AlCapone User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 13
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Speed is hardly a question, unless of course you're getting millions of views, which is probably not the case.

Reply With Quote
  #5  
Old December 6th, 2001, 06:59 AM
Mr_SpAcE Mr_SpAcE is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 15 Mr_SpAcE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
great, thanks

I get about 10 000 page views per day

maybe it'll go to 4-5 times this with the redesign, but never into millions, so I'll make them dynamic

Etienne

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Message Boards --> semi-static or dynamic ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway