YAML for beginners

Click for: original source

YAML is an easy, expressive, data-oriented language that distinguishes itself from document markup languages. By Seth Kenlon @RedHat.

YAML Ain’t a Markup Language (YAML), and as configuration formats go, it’s easy on the eyes. It has an intuitive visual structure, and its logic is pretty simple: indented bullet points inherit properties of parent bullet points.

It’s easy (and misleading) to think of YAML as just a list of related values, no more complex than a shopping list. There is a heading and some items beneath it. The items below the heading relate directly to it, right? Well, you can test this theory by writing a little bit of valid YAML.

The article then dives into:

  • How data is stored in YAML
  • YAML mapping blocks
  • YAML sequence blocks
  • YAML syntax

If you want to comfortably write YAML, it’s vital to be aware of its data structure. Easy read!

[Read More]

Tags programming web-development app-development miscellaneous