Col.'s Profile

Member since July 8, 2008

  • Name

    Col. Forbin

  • Location:

Favorite Files

Recent Posts

  1. Comment - Google releases its data encoding format to compete with XML

    (Jul 8, 2008 - 7:40 PM)

    PB is to XML as Javascript is to HTML. You can code in PB, but at some point you'll need to execute object.SerializeToXML();

    I know its tough to learn XSD, XML, and XSL. These standards often create a mess of what could easily be accomplished with custom EDI. Not sure "open source" EDI is an improvement on the XML language though!

    Here are the suppossed benefits:

    1) Simple - until you find everything lacking and have to add a whole bunch more open source code!

    2) Size - XML can also be compressed (compiled) when stored or transmitted. It can be encrypted too! "XML protocols" tend to be managed within an application's architecture.

    Public XML web services are not compiled (yet) because line level compression and web service caching take care of most issues.

    3) Speed - It may be fast, so long as it remains simple, and you don't send data to any other program except your own. Otherwise the overheard and phone calls will drown out any speed attained. Make your own standard, support your own revisioning!

    4,5) Simple ambiguity and simple data classes are great so long as apples are in fact oranges. Pattern matching, bounds criteria, and other constraint info is missing from the .proto def.