.NET ft. Yaml

    Introduction


    Developers often encounter application configuration problems, usually XML is used for these purposes, in this article I want to draw attention to a more friendly markup language.
    YAML (YAML Ain't Markup Language) - a language (exists since 2001) for data serialization, focused on reading and editing by a person of typical data structures. The language, as you might guess, is cross-platform. Known, for the most part, for use in Ruby On Rails as a configuration tool. More details in Russian here: http://ru.wikipedia.org/wiki/Yaml

    YAML example


    % Example

    - - -
    YAML: YAML is not a markup language
    What it is: YAML is a human-oriented data serialization standard for all programming languages
    Projects:

      .NET:

      - yaml-net

      - yatools.net


    .NET


    You can use this language on .NET, for this there are:
    1. Visual Studio YAML Editor http://yaml.codeplex.com/
    2. YamlSerializer for .NET http://yamlserializer.codeplex.com/
    3. Yaml Library for .NET http://yaml-net-parser.sourceforge.net/default.html

    Materials


    Official site of the project http://yaml.org
    Yaml in 5 minutes http://yaml.kwiki.org/index.cgi?YamlInFiveMinutesMinuteOne
    A good article with an example of using http://www.codeproject.com/KB/recipes/yamlparser. aspx

    Also popular now: