SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    Edmonton, the upper part of AB.
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XML content management

    I have about fifty html documents, appox. 5kb each, that I am to put on a website. Would it be best, from a content management point of view, to store all of the documents in:
    i) a single xml file,
    ii) separate xml file for each document,
    iii) a database such as MySQL, or
    iv) plain html files?

  2. #2
    SitePoint Addict Brak's Avatar
    Join Date
    Jul 2004
    Location
    Central Coast, CA
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your choice really, depending on a few things:

    1) Size of the data
    2) Frequency of update of data
    3) Future compatability of data (i.e. redesign).

    A single XML file would not be optimal however, I can tell you that. That would be 250k of data read each time a file was accessed.
    Studio Rockstar's Blog - A journey to quitting the dayjob.

  3. #3
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add to that :
    4) Your programming capabilities (or willingness to hire)
    5) Your time available

    The cheapest and simplest solution is to use plain html-files. That way you don't need any kind of cms. It will be hard to maintain in the long run though - especially if you update often.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •