Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool XML vs Database with PHP

    Hello!!!

    I have a question to make!!! Is any advantage to convert the DB data in xml to show in the main page formatted with PHP???

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    Why would you do that?

    this question sounds like an assignment to me.

  • #3
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Go to www.w3schools.com in XML and tell me what do you think!! I´m confused!!! I don't want to show the site in other hardware aplications but I want to enter in the future and I want the information can be acessed for everyone in other reading machines" (agents). Do you think you can help me???

  • #4
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    No, it would be a disadvantage. Databases are optimized for handling data while XML... XML can be used for anything which makes it inefficient in everything.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #5
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And want do you think about XML shredding???
    http://www.brics.dk/~amoeller/XML/qu...shredding.html - (Look more intently this site)

    Do you really think DB with XML is unnecessary??

  • #6
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A relational database is a good choice to storing XML??

  • #7
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    what are you actually wanting to do?
    comparing completely different things, or answering really vague questions is a waste of time.

  • #8
    Regular Coder
    Join Date
    Apr 2006
    Posts
    154
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok sorry!! I want to show and add/remove/update news in an administration with XML using a relational DB!!


  •  

    Posting Permissions

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