Jsonnet from scratch

所在平台: Udemy

课程主页: https://www.udemy.com/course/jsonnet-from-scratch/

课程评论:没有评论

第一个写评论        关注课程

课程简介

#### **Coursera 课程总结:Jsonnet 从入门到精通** 本课程旨在帮助学习者全面理解 Jsonnet 的工作原理,并快速上手编写高效、灵活的 Jsonnet 代码。 **课程亮点:** * **实用性强:** Jsonnet 是一种用于高效生成 JSON 和 YAML 内容的编程语言,广泛应用于 Docker Compose、HashiCorp 工具(如 Vagrant、Terraform)以及 Kubernetes 等复杂配置管理场景。本课程基于实际工作经验,确保内容高度实用。 * **全面覆盖:** 从 Jsonnet 的基础语法、数据类型(与 JSON 高度相似,JSON 文档亦是合法的 Jsonnet 程序)到代码的执行流程,再到高级特性,课程均有深入讲解。 * **核心概念剖析:** * **语法与数据类型:** 掌握 Jsonnet 的基本结构和支持的数据类型。 * **执行机制:** 理解 Jsonnet 表达式如何转化为最终的 JSON 输出。 * **函数:** 学习定义和使用函数,实现代码复用和模块化。 * **对象:** 深入理解对象组合的强大之处,包括继承和属性增强。 * **推导式(Comprehensions):** 熟练运用数组和对象推导式进行数据转换。 * **参数化运行:** 掌握如何向 Jsonnet 程序传递参数。 * **库管理:** 学习编写和使用库,通过 Jsonnet Bundler 管理项目依赖,并结合版本控制系统管理代码。 * **错误处理:** 了解如何中断 Jsonnet 执行流程,进行早期错误处理。 **课程目标:** 通过本课程的学习,学员将能够: * 熟练掌握 Jsonnet 的基本及高级用法。 * 编写出可维护、可复用的 Jsonnet 代码。 * 利用 Jsonnet 高效生成和管理 JSON/YAML 配置。 * 将其应用于实际项目,提升工作效率。 **适合人群:** 需要生成 JSON 或 YAML 配置的开发者、系统管理员、DevOps 工程师以及对自动化配置管理感兴趣的任何人。

课程评论(0条)

课程详情

Understand how Jsonnet works, and be productive writing Jsonnet code. Based on real worl experience.Jsonnet is a programming language used to generate JSON and YAML content efficiently and with flexibility. JSON and YAML configuration formats are used pervasilvely. From docker-compose to Hashicorp tools like Vagrant and Terraform. Jsonnet is a tool of interest for anyone needing to generate JSON or YAML configuration. As such it is no surprise to see it is used by some tools helping to manage complex Kubernetes configurations.This training helps you get productive rapidly with the Jsonnet language. It covers from the basics to the advanced techniques:Syntax and data types: The Jsonnet syntax is close to JSON. Actually a JSON document is a valid Jsonnet program! Discover the syntax along with the data types supported by Jsonnet.Understanding the Jsonnet execution: When you know the syntax, it is tume to understand how Jsonnet code is executed. From Jsonnet expressions to JSON manifestationJsonnet functions: Learn to define and use function to avoid repetitions and modularize your codeJsonnet objects: Discover the power of combining objects, and more importantly, understand how it works. Learn about inheritances, and how to augment an object's existing valueComprehension: Master array and object comprehension, allowing you to transform arrays to other arrays and even objectsParameterised runs: See how you can pass parameters to a Jsonnet programLibraries: Organise your code by authoring and using libraries. Manage your project's dependencies with the Jsonnet Bundler, the package manager. Get tips on how to manage your Jsonnet with your source code versioning system.Generate errors: Learn how to interrupt the Jsonnet execution early

课程标签

0人关注该课程

主题相关的课程