Z
Zhang Weiwu\(familyname first\)
Hello. This is an another newbie question. And it is a bit off-topic. I
post it here and I don't know where is the proper place to post it
I just wonder why now all the forum code writers love to put the article
text and other information in to SQL or other types of database, instead of
storing them directly into files, and let the OS's file system to optimize
reading and writing, while storing articles seems have many benefit then
using a database.
A forum messages is suitable for a file, especially when it contain HTML
data, it is suitable for a HTML file.
a. with "forward" and "backward" meta data which is already defined as HTML
standard ("forward" and "backward" article references also show clearer
relationship to the search engines), the article thread information is
clear, and can be somewhat forum-system independent.
b. it makes export and import very much easier. Say a company wish to
publish a disco of all the tech discussion happened last year, the
administrator simple put all things in the forum folder to the disco and it
is okay.
c. It makes dynamic pages relatively static. A file based forum don't
re-generate the article HTML page each time when someone asks for it, and
dynamic pages like jsp are needed only when composing and editing message
posts, saving lots of CPU time.
d. Another benefit of static pages are that it makes search engine easier to
index. Many search engine don't store dynamic pages much, but they are well
designed to index static pages.
e. Many web servers are highly optimized for static page. Normally static
pages are much faster.
f. It could be easier to back up things. Using SQL your need to back up all
stuff with capable knowledge.
So why databased forums are so popular today?
post it here and I don't know where is the proper place to post it
I just wonder why now all the forum code writers love to put the article
text and other information in to SQL or other types of database, instead of
storing them directly into files, and let the OS's file system to optimize
reading and writing, while storing articles seems have many benefit then
using a database.
A forum messages is suitable for a file, especially when it contain HTML
data, it is suitable for a HTML file.
a. with "forward" and "backward" meta data which is already defined as HTML
standard ("forward" and "backward" article references also show clearer
relationship to the search engines), the article thread information is
clear, and can be somewhat forum-system independent.
b. it makes export and import very much easier. Say a company wish to
publish a disco of all the tech discussion happened last year, the
administrator simple put all things in the forum folder to the disco and it
is okay.
c. It makes dynamic pages relatively static. A file based forum don't
re-generate the article HTML page each time when someone asks for it, and
dynamic pages like jsp are needed only when composing and editing message
posts, saving lots of CPU time.
d. Another benefit of static pages are that it makes search engine easier to
index. Many search engine don't store dynamic pages much, but they are well
designed to index static pages.
e. Many web servers are highly optimized for static page. Normally static
pages are much faster.
f. It could be easier to back up things. Using SQL your need to back up all
stuff with capable knowledge.
So why databased forums are so popular today?