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

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
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 23rd, 2003, 05:52 AM
rrohm rrohm is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Nuremberg, Bavaria (Germany)
Posts: 2 rrohm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question General: Databases, XML and CMS

Hi, everyone!

I've been thinking about Content Management for quite a while now and came about then same problem again and again:

1. It means some great advantages to process content as XML data.
2. You do not always want to or are not always able to utilize a native XML database.

So, the question is:
What seems to be the best way - since there are at least two possibilities: a) storing the whole XML doc as a single text blob or varchar or similar - or b) try to render the XML structure to one single row per element in the db ...

I'd be grateful for any opinion, alternative or useful tip!
Thanks in advance,
rrohm

Last edited by rrohm : April 23rd, 2003 at 06:46 AM.

Reply With Quote
  #2  
Old September 25th, 2003, 08:11 AM
neobuddah's Avatar
neobuddah neobuddah is offline
cosmos curator
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2002
Location: Leeds, UK
Posts: 678 neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 14 h 17 m 49 sec
Reputation Power: 8
Try an XML Database.

Reply With Quote
  #3  
Old September 25th, 2003, 05:20 PM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,300 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 27 sec
Reputation Power: 53
Re: General: Databases, XML and CMS

Quote:
Originally posted by rrohm
1. It means some great advantages to process content as XML data.

What exactly are these advantages, in your opinion? Without knowing what you want to do with XML, it's impossible to give a good opinion about how to manage it.

Quote:
2. You do not always want to or are not always able to utilize a native XML database.

neobuddah... you missed this part .
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #4  
Old September 29th, 2003, 01:34 AM
rrohm rrohm is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Nuremberg, Bavaria (Germany)
Posts: 2 rrohm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Arrow

> What exactly are these advantages, in your opinion?

Especially I think about content management systems and related tasks. For example, try to see one page of site content as an xml tree that consists of several elements. These don't need to be plain text, they also might be simple markers (pseudo tags) with user-defined attirbutes that stand for content modules like news tickers, subscribe boxes, site navigation and so on. In my opinion such structures cannot be implemented without xml (or a substitute) in a reasonable way. If you try to work around it, you at last will end up with something that is more or less a substitute of xml.

Reply With Quote
  #5  
Old September 29th, 2003, 05:04 AM
neobuddah's Avatar
neobuddah neobuddah is offline
cosmos curator
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2002
Location: Leeds, UK
Posts: 678 neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level)neobuddah User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 14 h 17 m 49 sec
Reputation Power: 8
Well... you can, if you think in terms of "hyper-text fragments", and store each type in a seperate table, or a single table with a TYPE field. You'd then need to combine these into a document by linking each fragment into a document.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > General: Databases, XML and CMS


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


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





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