Results 1 to 3 of 3

Thread: Should I use XML for this?

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default Should I use XML for this?

    I am making one of those social networking sites like myspace and facebook. It will have gadgets like apps and stuff. Now I'm trying to decide whether the news feed and comments should be stored in a database or in an xml file. The only info that would be stored in the xml file would be the following: the user id, user account type (band/fan/musician), comment, time, and date.

    Opinions?

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    'Some people, when confronted with a problem, think "I know! I'll use XML!" They then have two problems.'

    No, static files of any format should never be used to store rapidly-changing data. You may wish to provide a function to export comments to an Atom feed, however.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    what is an Atom Feed?
    Last edited by Rockonmetal; 10-02-2008 at 11:00 AM. Reason: grrrrrrrrrrrrrrrrrrrrr

Tags for this Thread

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
  •