SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    midnight coder
    Join Date
    Dec 2000
    Location
    The flat edge of the world
    Posts
    838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen heaps of tutorials on how PHP can insert/take out data from MySQL, and I sort of get the hand of it, then I also read that XML can help organize databases, etc, but I couldn't find any tutorials on it.

    I was thinking of inserting/taking data out with PHP, then generating XML pages on the fly, but what would be the benefit of having XML pages? And are there any tutorials on this topic?

    Most tutorials I've seen only says what XML is, how to write it and present it using XSL.

  2. #2
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There are many benefits to using XML, of course the biggest hindrance is the fact that it is yet to be widely supported.

    Check out this thread to find out more:
    http://www.sitepointforums.com/showt...threadid=12442

    As to producing XML using PHP - I don't think that it is too hard, I believe that the SitePoint pages are XML driven.

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The SitePoint article system was designed to make migration to an XML-based system easy if needed, but the current implementation is not XML based, no.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  4. #4
    midnight coder
    Join Date
    Dec 2000
    Location
    The flat edge of the world
    Posts
    838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So how well XML help, when all the news are in the MySQL already?

    I've seen sites that uses PHP to submit news, then output them to a XML file, and gets display by a PHP file calling the XML.

    How would that help? Why don't I just output the news to a PHP file?

    Basically, I know what XML is, sort of know the syntax, and heard the cool things it can do, but how do I do those cool things? And how will those cool things help me? Possibly some links that could help me?


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
  •