If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > DB Schema for a weblog / cms

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-30-04, 20:10
Ian Gordon Ian Gordon is offline
Registered User
 
Join Date: Jul 2004
Location: East Coast USA
Posts: 2
Exclamation DB Schema for a weblog / cms

Hey,

I am looking to make a mysql schema for a weblog / cms that I am making. I am trying to think about something that is small but works together. I am wondering how I would go about doing this, can someone help me? I am relatively new to mysql table creation, well not specifically creating the tables but, in terms of generating the correct syntax and tags for use in mysql and such with PHP.
Reply With Quote
  #2 (permalink)  
Old 07-31-04, 14:40
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
if you install and use phpMyAdmin to create the tables on your development PC you don't need to worry about syntax so much as all the options are presented. you can use phpMyAdmin to change your table design/schema by adding/removing/renaming table fields, etc.

for further assistance on the actual tables, post some of the data items you wish to store and mention any relationships.

e.g. for a weblog you be looking at a TEXT field to store the text, each record would have a unique id using auto_increment, a creation date/time, and the name/alias/userid of person that post/created the item. further you might associate each post with a section/thread/forum name.
Reply With Quote
  #3 (permalink)  
Old 07-31-04, 17:38
Ian Gordon Ian Gordon is offline
Registered User
 
Join Date: Jul 2004
Location: East Coast USA
Posts: 2
Well I am looking to have fields of this sort:
  • User Name
  • Password
  • Real Name
  • Email Address
  • URL
  • Settings
    • Site Settings
    • Comment Settings
    • Template Settings
    • URL Settings
    • Display (of posts and articles) Settings
  • Templates
    • HTML Textarea
    • Options
  • Comments
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On