Web Development  >>  Ruby On Rails

YAML

Language : English Quality : High Has Audio : true Source : Other Media : QuickTime
What is YAML? YAML = YAML Aint Markup Language! YAML is great for quickly exporting and importing data to and from your Ruby application. There seem to be many pros and cons on when to use YAML vs. XML. My rule of thumb is to use YAML when everything is controlled by your application. Use XML is you intend to transfer data outside of your application

Tags: Rubyology, Ruby On Rails, Ruby, Screencast, YAML, XML,     [SUGGEST  A  TAG]

Resources referenced in this screencast
  • Ruby on Rails
  • YAML - (rhymes with "camel")
  • XML - Extensible Markup Language

  •  OR 
    Created : 2007-04-18   

    Articles Realted to this Topic

    [SUGGEST  A  ARTICLE]
    YAML Fixtures for Serialized Objects
    I have always had problems trying to build sophisticated fixtures with YAML. But binary data fields (blobs), multi-line text and dynamically generated data are frequently required for ensuring a rich testing dataset. By scouring the web, I have been able to overcome most of the problems with point solutions. Yesterday, I ran into a problem that did not seem to be documented: building YAML fixtures for serialized objects