Mô tả

Protocol Buffers (protobuf) is a fundamental data serialization format that every Data Engineer should know about. It is leveraged by many top tech companies such as Google and enables micro-services to transfer data in a format that is safe and efficient. 

In this course, we are going to explore in depth, with hands-on lectures, all the aspects of Protocol Buffers 3. 

In just a few hours, you will know everything you need to know to create simple and complex .proto files, and write code in your Favourite Programming language such as Java, Python and Go. Protocol Buffers generates all the boilerplate code for you!

Stop using XML and JSON and start using a Data Format that will allow you to create the most efficient APIs. 

---------------------------------

Complete Guide to Protocol Buffers 3 is the best way to get a great overview of all the possibilities offered by Protocol Buffers

> Write simple and complex .proto files
> Practice Exercises to Confirm the learnings
> Leverage Imports and Packages appropriately
> Generate Code using `protoc`
> Code in Java, Go and Python with Protocol Buffers
> Learn about advanced Protocol Buffers concepts

Note: This course assumes you have some knowledge about Programming and JSON / XML


Section outline:

  • Protocol Buffers Course Introduction: Get an understand of the course objectives, how the course is structured, download the course code and get ready!

  • Protocol Buffers Basics I: Learn how to create your first messages using Scalar Types. Practice with 5 exercises

  • Protocol Buffers Basics II: Learn how to create complex messages, and organise your code in different files and packages. Practice with 4 exercises

  • Setting up Protoc Compiler: Setup the protoc compiler and learn how to generate code in any language

  • Java Programming with Protocol Buffers: Write your Protocol Buffers Data in Java

  • Golang Programming with Protocol Buffers: Write your Protocol Buffers Data in Golang

  • Python Programming with Protocol Buffers: Write your Protocol Buffers Data in Python

  • Data Evolution with Protobuf: Evolve your protocol buffers file in a safe way in order to add or remove fields without breaking previous code

  • Protocol Buffers Advanced: Advanced Types in Protocol Buffers as well as Options, Integer Types, and an introduction to RPC Services with gRPC

===============================

Instructor

My name is Clement Jean, and I'll be your instructor in this course. I teach about Protocol Buffers and gRPC with my focus always on helping my students improve their professional proficiencies. I am also the author of some of the most highly-rated & best-selling courses.

With development being a widely accepted and pursued career, I've decided it's time for students to properly learn about Protocol Buffers. So, let’s kick start the course! You are in good hands!

===============================

This Course Also Comes With:

  • Lifetime Access to All Future Updates

  • A responsive instructor in the Q&A Section

  • Links to interesting articles, and lots of good code to base your next template onto

  • Udemy Certificate of Completion Ready for Download

  • A 30 Day "No Questions Asked" Money Back Guarantee!

I hope to see you inside the course!

Bạn sẽ học được gì

Write simple and complex .proto files

Practice Exercises to Confirm the Learnings

Leverage Imports and Packages appropriately

Generate Code using `protoc` in any language

Code in Java with Protocol Buffers

Understand how Data Evolution works for Protobuf

Learn about advanced Protocol Buffers concepts

Yêu cầu

  • Some programming background (Java, Python or Go for example)
  • Previous experience with other formats such as XML or JSON is preferred

Nội dung khoá học

13 sections

Course Introduction

5 lectures
Why Protocol Buffers?
09:37
How are Protocol Buffers used?
02:52
Course Structure
01:33
About your instructor
00:49
Important Message
00:28

Code Download & VSCode Setup

2 lectures
Code Download
00:10
VSCode Setup (optional)
00:27

Protocol Buffers Basics I

9 lectures
First Message
00:58
Defaults
00:36
Scalar Types
04:41
Tags
02:03
Repeated Fields
01:10
Enumerations (Enums)
02:18
Comments
02:33
Practice Exercises I
00:18
Solution to Practice Exercises I
04:02

Protocol Buffers Basics II

4 lectures
Defining Multiple Messages in the Same File
01:49
Nesting Messages
01:54
Imports
01:40
Packages
01:58

Exercise II and Solutions

5 lectures
Practice Exercise II
00:13
All in One Proto File
04:11
Nested Messages
05:37
Imports
03:36
Packages
03:05

Setting up Protoc Compiler

3 lectures
Setup Protoc Compiler
00:52
Using Protoc
02:42
Practice Using Protoc
00:10

Java Programming with Protocol Buffers

12 lectures
Important Message
00:21
Setup & Code Download in Java
00:15
Gradle Project Setup & Code Generation
06:39
Simple Message Creation in Java
04:24
Creating a Complex Message in Java
05:20
Dealing with Enums in Java
04:10
Dealing with Maps in Java
04:20
Dealing with OneOfs in Java
05:12
Serializing/Deserializing (Binary)
05:40
Serializing/Deserializing (JSON)
06:52
Java Options
04:17
Practice Exercise Java (self-guided)
00:11

Golang Programming with Protocol Buffers

11 lectures
Important Message
00:21
Setup & Code Download in Golang
00:42
Code generation in Golang
03:16
Simple Proto Struct in Golang
04:47
Complex Proto Struct in Golang
04:33
Enum Proto Struct in Golang
04:19
Handling OneOfs in Golang
05:07
Handling Maps in Golang
03:21
Reading and Writing to Disk
08:33
Reading and Writing to JSON
10:41
Practice Exercise Golang (self-guided)
00:12

Python Programming with Protocol Buffers

11 lectures
Important Message
00:21
Setup & Code Download in Python
00:34
Code generation in Python
03:16
Simple Proto Message in Python
03:09
Complex Proto Message in Python
03:49
Enum Proto Message in Python
04:09
Handling OneOfs in Python
03:16
Handling Maps in Python
03:09
Reading and Writing to Disk
04:27
Reading and Writing to JSON
05:55
Practice Exercise Python (self-guided)
00:11

Data Evolution with Protobuf

6 lectures
The Need for Updating Schemas
02:23
Rules for Data Evolution
01:44
Renaming Fields
01:20
Removing Fields
01:43
Reserved Keyword
01:06
Beware of Defaults
02:10

Protoc Advanced

3 lectures
--decode_raw Option
06:06
--decode Option
03:24
--encode Option
03:56

Protocol Buffers Advanced

7 lectures
Integer Types Deep Dive
04:31
Advanced Data Types (oneof, map, Timestamp and Duration)
01:55
Protocol Buffers Options
02:42
Naming Conventions
02:24
Services
01:20
Introduction to gRPC (from gRPC Course)
06:07
Protocol Buffers Internals
04:08

Next Steps

3 lectures
List of Protocol Buffer Files to Explore
00:07
What's next & Congratulations!
02:58
Bonus Lecture: Coupons for my other courses!
00:17

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.