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 > Database Design Pattern for blog-type article storage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-23-08, 19:10
mdchesney mdchesney is offline
Registered User
 
Join Date: Sep 2008
Posts: 1
Database Design Pattern for blog-type article storage

How would be the best way to store an article that could contain images or other objects? A user would enter their article using an FCKEditor and can embed a number of objects. Submission would store their article (same concept as a blog).

However, analysis shows I cannot simply upload the object and store on the server because if the article is edited or deleted, the link to the object will be remove (in the case of a delete), yet the object will remain.

And I cannot store the objects in a separate table with a FK to the article, and a numeral pointing to the position in the article (makes editing a mess, think md5-messy).

Anyone have an idea how to do this?

BONUS: most efficient?
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