Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Design a site

Status
Not open for further replies.

OOzy

Programmer
Jul 24, 2000
135
SA
Hello

I am in the process of designing a site and I would like to know what is the best way to do it. My site is mostly tutorial. Should I put everything as blob in a database or should I just leave everything as html file. How do people do it?

 
separate the data from the html and use php to show the items on the page. I don't know what items you plan to hold in the DB, so it makes this kinda tough to answer.

hth Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
I'm in the process of creating a project to store similar types of information. I'm going to use PHP with mySQL. My plan is to store the content in .XML files and use my PHP/mySQL database to manage the content. Putting the content in .XML files will allow me to use PHP to search the files without having to search text within blob fields. Then presenting the content can be done by putting the .XML file through a PHP routine to make the it 'pretty'.

Hope that sparks some ideas.

DjangMan
 
The blob field is almost out of need. Some people use it for images, dont, some for large texts, oke.
But most time dont use it. If u want to put text in de DB use text, in that way u can always search in it, else put an url in the database with the location of the text files. (this works best is my expirience). mcvdmvs
mick@nederland.net

knows: html, JavaScript, dhtml, css, php, mysql, postgresql, xml, linux
to learn: java, c++, perl, python
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top