Data Formats

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Data Formats - Presentation Transcript

    1. Data Formats By Subhash Chandran
    2. Types
      • Storage
      • Integration and communication
    3. Types
      • Binary
      • Text
    4. Binary Formats
      • Costly to implement
      • Both systems should support same interfaces
      • Both should support the same version of the interfaces
    5. Some Binary Formats
      • CORBA
      • RMI
      • COM
      • EAI
    6. Some Text Formats
      • Strict text formats (think COBOL)
      • CSV
      • Ini
      • Java properties
      • XML
      • JSON
      • YAML
      • Strict text formats: Limitations
      • Each and every column to be defined precisely
      • The definition should be understandable by all participating applications
    7. CSV
      • Good way to share tabular data
    8. CSV Limitations No one standard: “name”,”age”,”,”” name,age,, Both the above are valid!
    9. Ini Format
      • Two levels of hierarchy supported
      • Good parser support
    10. ini format example [key1] subkey1 = value subkey2 = value [key2] subkey1 = value subkey2 = value
    11. Java Properties
      • Well defined
      • No external library required for parsing
    12. XML
      • Well defined
      • Has well defined set of complementing technologies: DTD, XML Schema, XSLT, XPath
      • Wide support in many programming languages
      • Any level of nesting
    13. JSON JavaScript Object Notation
    14. JSON
      • Ease of parsing using JavaScript
      • Good for Ajax
    15. JSON Examples ["python","java","ruby"] {"python":"Guido van Rossum","php":"Rasmus Lerdorf","java":"James Gosling"}
    16. Serialize Java Objects as JSON
    17. Consume JSON in JavaScript: Arrays
    18. Consume JSON in JavaScript: Map
    19. YAML: YAML Ain’t Markup Language american: - Boston Red Sox - Detroit Tigers - New York Yankees national: - New York Mets - Chicago Cubs - Atlanta Braves
    20. When to use what? Ini Two level hierarchy. JSON When JavaScript consumes your content. Ajax applications. XML All cases! YAML Human editing is needed.
    21. Thanks :-)
    SlideShare Zeitgeist 2009

    + Subhash ChandranSubhash Chandran Nominate

    custom

    458 views, 1 favs, 1 embeds more stats

    Common data-formats which are used to store configu more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 458
      • 457 on SlideShare
      • 1 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 4
    Most viewed embeds
    • 1 views on http://www.slideshare.net

    more

    All embeds
    • 1 views on http://www.slideshare.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags