Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. XML....so what?

XML....so what?

Scheduled Pinned Locked Moved The Lounge
questionxml
25 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    loket
    wrote on last edited by
    #1

    Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

    C J D F I 5 Replies Last reply
    0
    • L loket

      Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      i think you've hit all the major points. as i see it, XML is just a easy-to-understand way of moving data from one place to another, or to transform that data from one form to another. someday people will stop trying to use it to solve every problem. -c


      Civilization is the limitless multiplication of unnecessary necessities.    Mark Twain

      Smaller Animals Software

      S C 2 Replies Last reply
      0
      • L loket

        Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

        J Offline
        J Offline
        James T Johnson
        wrote on last edited by
        #3

        The great thing about XML is that you get away from proprietary data formats. With XML getting data out of a sun box to process on a windows client to be stored back onto a mac server for 3D rendering by a linux server is done easily and with a lot fewer errors than if you were to try to write network calls to exchange the data. On top of that with XSL you can take the resulting XML file and do some processing on it to create a webpage without needing any server side script (assuming the browser supports XSL). The largest downside is that instead of a nice compressed binary stream you have bloated text, but that should compress nicely when it goes over the line anyway :) James Simplicity Rules!

        1 Reply Last reply
        0
        • L loket

          Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

          D Offline
          D Offline
          Daniel Ferguson
          wrote on last edited by
          #4

          Besides XML being a bloated text file (wouldn't a standardized binary format be better?), the other thing I don't understand is that there is no way to put binary data into it without encoding it into text -- and there isn't a standard way to do this, or even a standard way to indicate that data should be binary. I suppose it's great if you want to use Notepad to edit your data, but who wants to do that? Wouldn't it be better to write a standard simple binary format and let everyone write parsers and editors for it? :confused: Also, how long will it take for MS to add proprietary extensions to XML? I would have expected them to do it by now, but they must be waiting for more widespread adoption of XML data so users will be locked in... :( "There is a fine line between lunacy and genius; it is my goal in life to keep them guessing just where the line lies..." -- Unknown

          T 1 Reply Last reply
          0
          • D Daniel Ferguson

            Besides XML being a bloated text file (wouldn't a standardized binary format be better?), the other thing I don't understand is that there is no way to put binary data into it without encoding it into text -- and there isn't a standard way to do this, or even a standard way to indicate that data should be binary. I suppose it's great if you want to use Notepad to edit your data, but who wants to do that? Wouldn't it be better to write a standard simple binary format and let everyone write parsers and editors for it? :confused: Also, how long will it take for MS to add proprietary extensions to XML? I would have expected them to do it by now, but they must be waiting for more widespread adoption of XML data so users will be locked in... :( "There is a fine line between lunacy and genius; it is my goal in life to keep them guessing just where the line lies..." -- Unknown

            T Offline
            T Offline
            Tim Smith
            wrote on last edited by
            #5

            I don't see them extending XML. However, I can see them playing fast and loose with standards such as SOAP. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

            D 1 Reply Last reply
            0
            • L loket

              Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

              F Offline
              F Offline
              Fazlul Kabir
              wrote on last edited by
              #6

              There are at least five different ways you can use XML data format (I forgot the link where I found this). Probably the simplest use is as a replacement of conventional .ini files. Unlike .ini files, XML can help you to save your setting data as tree - like structured format. However the greatest strength of XML lies in the newly emerging Web service business. Using XML web services, web developers can format proprietary data into generic XML format and publish them to the outside world using WSDL / UDDI. This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other. It doesn't really matter which language or hardware is used to develop these web services, since at the end, they all use the same language (XML) and the same protocol (SOAP). // Fazlul


              Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

              M C L 3 Replies Last reply
              0
              • T Tim Smith

                I don't see them extending XML. However, I can see them playing fast and loose with standards such as SOAP. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?

                D Offline
                D Offline
                Daniel Ferguson
                wrote on last edited by
                #7

                Tim Smith wrote: However, I can see them playing fast and loose with standards such as SOAP You've got to be careful when you reach for the SOAP... :wtf: "There is a fine line between lunacy and genius; it is my goal in life to keep them guessing just where the line lies..." -- Unknown

                J 1 Reply Last reply
                0
                • F Fazlul Kabir

                  There are at least five different ways you can use XML data format (I forgot the link where I found this). Probably the simplest use is as a replacement of conventional .ini files. Unlike .ini files, XML can help you to save your setting data as tree - like structured format. However the greatest strength of XML lies in the newly emerging Web service business. Using XML web services, web developers can format proprietary data into generic XML format and publish them to the outside world using WSDL / UDDI. This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other. It doesn't really matter which language or hardware is used to develop these web services, since at the end, they all use the same language (XML) and the same protocol (SOAP). // Fazlul


                  Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                  M Offline
                  M Offline
                  Martin Marvinski
                  wrote on last edited by
                  #8

                  Fazlul Kabir wrote: This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other This is going to be worse than ActiveX controls, and Outlook. I'm not going to trust Microsoft, and expose all my critical data on the internet to be hacked and exploited. When they fix IIS, and the basic fundemental problems plauging Windows and Office, maybe I'll reconsider...But even that looks like a long way off. I see a potential security nightmare that may even destroy MS's great success. .NET is a big uncertainty in my book becuase MS has failed in securing the basics.

                  F 1 Reply Last reply
                  0
                  • F Fazlul Kabir

                    There are at least five different ways you can use XML data format (I forgot the link where I found this). Probably the simplest use is as a replacement of conventional .ini files. Unlike .ini files, XML can help you to save your setting data as tree - like structured format. However the greatest strength of XML lies in the newly emerging Web service business. Using XML web services, web developers can format proprietary data into generic XML format and publish them to the outside world using WSDL / UDDI. This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other. It doesn't really matter which language or hardware is used to develop these web services, since at the end, they all use the same language (XML) and the same protocol (SOAP). // Fazlul


                    Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                    C Offline
                    C Offline
                    Chris Losinger
                    wrote on last edited by
                    #9

                    that's the part that i don't buy. it's not enough that they are all using the same language; "they" also have to be using that language to encode the same kind of data. if two similar programs X and Y encode their data in XML but they store different data, then where's the benefit? XML does no good unless all parties involved agree on what they're storing, the schema to use and the kinds of things you can do with the data. all XML does is establish a mid-level communications protocol. people still have to agree on the high and low level details. -c


                    Civilization is the limitless multiplication of unnecessary necessities.    Mark Twain

                    Smaller Animals Software

                    F 1 Reply Last reply
                    0
                    • L loket

                      Saw some article about XML and databases, did not say anything really except that XML is so great everybody wants it. And everywhere else you see the same thing, oh!..XML is the best thing since "whatever". I dont get it, what is all the fuzz about? To me it's just a glorified textfile. Yes, you know the format and can exchange data between systems, but you still have to know what is in what tag in the file and where it should go. I think all you gain by XML is not having to write a parser. (or just 1 if you write the XML parser yourself) /:bob:

                      I Offline
                      I Offline
                      Igor Vigdorchik
                      wrote on last edited by
                      #10

                      Another way to define XML is that XML is the way to describe a data, as opposed to HTML designed to present a data. And because of that XML is the best thing since the sliced bread.:) Igor.

                      L L 2 Replies Last reply
                      0
                      • F Fazlul Kabir

                        There are at least five different ways you can use XML data format (I forgot the link where I found this). Probably the simplest use is as a replacement of conventional .ini files. Unlike .ini files, XML can help you to save your setting data as tree - like structured format. However the greatest strength of XML lies in the newly emerging Web service business. Using XML web services, web developers can format proprietary data into generic XML format and publish them to the outside world using WSDL / UDDI. This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other. It doesn't really matter which language or hardware is used to develop these web services, since at the end, they all use the same language (XML) and the same protocol (SOAP). // Fazlul


                        Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                        L Offline
                        L Offline
                        loket
                        wrote on last edited by
                        #11

                        Yes, im aware of that and i agree that it is good with a standard. I am not trying to say XML is bad, i just dont understand all the glory it gets. Somebody just have agreed on a standard for a textfile. You could as well talk with SOAP trough "SoapTalk" and it would still be accessible from all languages,hardware,systems, but if it was so "SoapTalk" would never get the hype XML is getting. Although as i said i thnk its better to use XML than a SOAP specific format. And as for .ini files, why would i want to store them as XML, as a user i want some nice GUI to edit whatever is stored there, i dont care how it is stores, i just want it to load fast and dont take up much diskspace. /:beer:

                        1 Reply Last reply
                        0
                        • I Igor Vigdorchik

                          Another way to define XML is that XML is the way to describe a data, as opposed to HTML designed to present a data. And because of that XML is the best thing since the sliced bread.:) Igor.

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #12

                          Igor Vigdorchik wrote: XML is the best thing since the sliced bread What was the best thing before sliced bread? :) Thomas

                          I C D 3 Replies Last reply
                          0
                          • I Igor Vigdorchik

                            Another way to define XML is that XML is the way to describe a data, as opposed to HTML designed to present a data. And because of that XML is the best thing since the sliced bread.:) Igor.

                            L Offline
                            L Offline
                            loket
                            wrote on last edited by
                            #13

                            That's another thing, whats so good about sliced bread!? People are just to damned lazy, or did they use to cut their fingers off? :) :-D ;P /:wtf:

                            I 1 Reply Last reply
                            0
                            • C Chris Losinger

                              i think you've hit all the major points. as i see it, XML is just a easy-to-understand way of moving data from one place to another, or to transform that data from one form to another. someday people will stop trying to use it to solve every problem. -c


                              Civilization is the limitless multiplication of unnecessary necessities.    Mark Twain

                              Smaller Animals Software

                              S Offline
                              S Offline
                              Simon Steele
                              wrote on last edited by
                              #14

                              :-D Yes, there's a bit of a recurring joke now where I work where when anybody states a problem that they're having difficulty with they get the same response from many directions: Ah, you'll need to use XML for that then. Q: I need a data transfer protocol? A: Ah, you'll want XML for that. Q: I want to log a bunch of simple data to a text file. A: Why don't you use XML! Q: I need a hedgehog! A: I can define one of those in XML if you'd like. Try it, it's the answer to all of your coding problems. I think if I see one more pointless use of XML I'll scream. Yes, you can do clever stuff with it and it has its uses. No, it's not the messiah - it's a very naughty boy. -- Simon Steele Programmers Notepad - http://www.pnotepad.org/

                              M 1 Reply Last reply
                              0
                              • D Daniel Ferguson

                                Tim Smith wrote: However, I can see them playing fast and loose with standards such as SOAP You've got to be careful when you reach for the SOAP... :wtf: "There is a fine line between lunacy and genius; it is my goal in life to keep them guessing just where the line lies..." -- Unknown

                                J Offline
                                J Offline
                                Jim Crafton
                                wrote on last edited by
                                #15

                                Daniel Ferguson wrote: You've got to be careful when you reach for the SOAP... ...Cause you might drop it and have to bend over... :)

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Igor Vigdorchik wrote: XML is the best thing since the sliced bread What was the best thing before sliced bread? :) Thomas

                                  I Offline
                                  I Offline
                                  Igor Vigdorchik
                                  wrote on last edited by
                                  #16

                                  Sliced bread is the first best thing. Igor.

                                  1 Reply Last reply
                                  0
                                  • C Chris Losinger

                                    that's the part that i don't buy. it's not enough that they are all using the same language; "they" also have to be using that language to encode the same kind of data. if two similar programs X and Y encode their data in XML but they store different data, then where's the benefit? XML does no good unless all parties involved agree on what they're storing, the schema to use and the kinds of things you can do with the data. all XML does is establish a mid-level communications protocol. people still have to agree on the high and low level details. -c


                                    Civilization is the limitless multiplication of unnecessary necessities.    Mark Twain

                                    Smaller Animals Software

                                    F Offline
                                    F Offline
                                    Fazlul Kabir
                                    wrote on last edited by
                                    #17

                                    Chris Losinger wrote: XML does no good unless all parties involved agree on what they're storing, the schema to use and the kinds of things you can do with the data. That is the job of W3, who oversees SOAP standardization // Fazlul


                                    Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                                    C 1 Reply Last reply
                                    0
                                    • L loket

                                      That's another thing, whats so good about sliced bread!? People are just to damned lazy, or did they use to cut their fingers off? :) :-D ;P /:wtf:

                                      I Offline
                                      I Offline
                                      Igor Vigdorchik
                                      wrote on last edited by
                                      #18

                                      I'm lazy and I'm afraid to cut my fingers off. Igor.

                                      1 Reply Last reply
                                      0
                                      • M Martin Marvinski

                                        Fazlul Kabir wrote: This would let other web developers to access your data though standard protocol such as SOAP (Simple Object Access Protocol). Thus in short, XML is quickly becoming the de facto language of the web, letting web applications talking to each other This is going to be worse than ActiveX controls, and Outlook. I'm not going to trust Microsoft, and expose all my critical data on the internet to be hacked and exploited. When they fix IIS, and the basic fundemental problems plauging Windows and Office, maybe I'll reconsider...But even that looks like a long way off. I see a potential security nightmare that may even destroy MS's great success. .NET is a big uncertainty in my book becuase MS has failed in securing the basics.

                                        F Offline
                                        F Offline
                                        Fazlul Kabir
                                        wrote on last edited by
                                        #19

                                        Martin Marvinski wrote: I'm not going to trust Microsoft, and expose all my critical data on the internet to be hacked and exploited. Remeber, XML is only a data format spec, the real brain to use XML formatted data lies the SOAP protocals used by web services. There are some very complex and restrictive security features already built into SOAP / XML web services. // Fazlul


                                        Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                                        M 1 Reply Last reply
                                        0
                                        • F Fazlul Kabir

                                          Martin Marvinski wrote: I'm not going to trust Microsoft, and expose all my critical data on the internet to be hacked and exploited. Remeber, XML is only a data format spec, the real brain to use XML formatted data lies the SOAP protocals used by web services. There are some very complex and restrictive security features already built into SOAP / XML web services. // Fazlul


                                          Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

                                          M Offline
                                          M Offline
                                          Martin Marvinski
                                          wrote on last edited by
                                          #20

                                          Fazlul Kabir wrote: Remeber, XML is only a data format spec, the real brain to use XML formatted data lies the SOAP protocals used by web services I meant SOAP. Those security features most likely will have as many holes as swiss cheese. I would bet my life on the fact that MS's implementation will have serious flaws. Look at XP, it was supposed to be the "most secure". The same was said for Windows 2000. I don't believe the Bullsh*t MS says about it's security. Windows is good for the client side, and for home/consumer use such as games. I would fire any IT professional who used XML and SOAP from MS if I ran a Mission critical enterprise. Once it comes out, there will be attacks, and other such mishaps that will ruin MS's reputation. Once I see Outlook and Windows as secure, I may reconsider my opinion, but once again, I don't see that happening. MS needs to change their culture and stop hiring kids to write enterprise level sh*t.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups