
Master yaml fundamentals, including data types, styles, anchors, sets, documents, directives and tags, with practical examples and a cheat sheet to apply yaml in real use cases.
Discover the basics of Yaml, its purpose, and where it’s used, then compare Yaml with Json, explore available tools, and learn key concepts like comments, key-value pairs, and indentation.
Understand YAML as a human-friendly data serialization language that works across modern programming languages, with open interoperability, indentation-based structure, case sensitivity, and version 1.2 features.
Explore why yaml is cross-platform, portable, and human-readable, with libraries and tools that read, write, and convert between yaml, json, and xml, and support source control management.
Discover how yaml is used in configuration files for kubernetes and azure devops, to store data and logs, exchange messages between processes, and define open API specifications.
Compare yaml and json on readability, design goals, and parsing complexity; see how yaml, as a superset of json, emphasizes human readability and configurations, while json enables simple data exchange.
Explore YAML tools, including online conversion, YAML viewer, and YAML to JSON or XML, then review language libraries such as Yaml dotnet, Pyyaml, and Java options.
Explore how to write YAML structures and add comments with the hash symbol, including single-line and multi-line approaches, and use a YAML viewer to render readable formats.
Learn how YAML defines structure through key-value pairs in the key: value format, with keys that may include spaces or quotes, unique in a scope, and driven by indentation.
Indentation defines YAML structure; use consistent spaces, as YAML relies on them. Tools may convert tabs to spaces, and two spaces are commonly recommended.
Learn how YAML serves as a human-friendly, open data serialization language used for configurations, Kubernetes resources, open API specs, logs, and cross-language messaging, with JSON compatibility and practical tooling.
Explore the building blocks of YAML by examining scalar and collection data types, then compare block style and flow style, and learn how indentation or explicit indicators structure YAML data.
In YAML, data types are simple and language independent, with built-in scalar types like integers, floats, and strings, and collection types such as arrays or sequences that promote interoperability.
Master YAML scalar types like integers, floats, strings, booleans, and dates, with implicit type resolution and canonical ISO 8601 UTC representations.
Explore yaml collection types, including sequence, map, ordered map, pass, and set, and learn how sequences and mappings form nested key-value structures with scalars.
Explore block and flow styles in YAML, including indentation, explicit indicators, and how to mix styles across scalars and collections.
Learn block style in yaml, where indentation drives structure for scalars and collections, with integers, floats, booleans, dates, and strings requiring styling for multi-line values. Compare pipe and greater-than styles that retain line breaks or fold them into a space, and preview flow style for representing these structures.
Explore flow styles in YAML, including scalar and collection representations with quotes, plain style, square brackets, and curly braces, and note YAML's JSON compatibility.
Explore YAML’s simple typing system with scalar and collection types, including ints, floats, strings, booleans, timestamps, and binaries, plus sequences, maps, and flow or block styles.
Explore yaml features like anchors, merge keys, sets, and documents, and learn how to duplicate contents, represent complex types, and inherit properties in structured yaml data.
Learn how to reduce duplication in YAML by using anchors and aliases. Create anchors with & and reference them with * to reuse repeated nodes across your YAML structure.
Learn how anchors in YAML prevent duplicate content by defining and reusing values with ampersand and star. See current course 5001 reused for multiple students.
Use YAML anchors to represent a complex type, such as a course, and reuse it across entries by defining the details and referencing with a star.
Learn how YAML anchors enable inheriting properties to derive new types using the merge key, reducing duplication and improving readability.
Master anchors and merge keys in YAML by exploring how the processor copies properties from anchors, resolves conflicts with local definitions, and combines multiple anchors with square brackets.
Explore sets in YAML, a collection type for items without values, and learn three representations: key-value pairs with null, prefixed keys, and flow style.
Explore how YAML documents group related constructs, use triple dashes to start new documents, and optional document end markers to structure multiple documents within a single file.
Explore YAML anchors and references to duplicate and reuse content across YAML structures, and learn how merge keys handle inherited versus local properties, with sets and documents representations.
Explore directives and tags in YAML, learn their purposes and uses, and examine the YAML directive and tag directive, plus handles and prefixes.
Explore directives in yaml and identify the two types: yaml and tags. Describe the format with a percent symbol, name, value (yaml or tag), optional parameters, and three dashes.
Explore the yaml directive and how the percentage yaml option sets the document version, defaulting to 1.2 when omitted, guiding processors to parse the structure correctly.
Explore YAML tag directives, including the percentage tag directive and the handle-prefix mechanism, which maps handles to prefixes to resolve ambiguity and control scalar types like strings and timestamps.
Explore YAML tag handles: primary (single exclamation) for local custom types, secondary (double exclamations) for default YAML types, and named handles for explicit namespace references, with examples.
Explore tag prefixes in YAML, distinguishing local prefixes (start with ! and yield local tags) from global prefixes (valid URLs across languages), and understand handles vs prefixes.
Explore yaml directives and tags to pass version and custom types to processors, define yaml and tag directives, and use local and global prefixes for handles and tags.
Explore YAML constructs, data types, styles, and features for practical applications. Build an API to fetch all courses in a college management system and create a default Azure DevOps pipeline.
Define an open API specification for CMS using YAML, demonstrate creating the /courses get endpoint, and explain YAML structure, servers, versions, and Swagger Editor tools.
Create an Azure DevOps pipeline using YAML to define pipelines in Azure DevOps, enabling source control management on the YAML file, versioning, sharing, and branching.
YAML is one of the languages that has gained popularity in recent times. Applications such as OpenAPI, Swagger, DevOps, and Kubernetes use YAML to create human-readable configurations at a large scale. What is the critical element of such integrations? You need to write YAML code so developers can easily understand it. You will be learning about YAML language constructs from scratch in this course.
Instructor Bio:
I am a software engineer with over 15 years of experience in the industry. I have worked on various projects and gained a wealth of knowledge and expertise in cloud computing. I am an experienced online course instructor who has trained many students on software development topics, including API, .NET, Docker, Kubernetes, and Azure.
Topics Covered In This Course:
Understand YAML and how it is different from JSON in usage.
Learn the various data types available, including scalar and collection types.
Understand the different YAML styles, namely Block Style and Flow Style.
Advanced YAML features like Anchors, Sets, and Documents help create a rich YAML file.
Use Directives to provide presentation details to YAML tools.
Use Tags to avoid ambiguity and define custom types in a namespace.
Create an OpenAPI document using YAML in Swagger Editor.
Lots of activities to apply the learnings.
At The End Of This Course:
You will know how to use the YAML language for configuration, data storage, & transmission from scratch.
Enroll now to get started.