Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video 4 - draft script #11

Merged
merged 54 commits into from Feb 22, 2023
Merged

Video 4 - draft script #11

merged 54 commits into from Feb 22, 2023

Conversation

Barbanio
Copy link
Contributor

Description

  • This is a draft script for AsyncAPI of the fourth educational and technological video.

Related issue(s)
See also #155

Barbanio and others added 24 commits January 20, 2022 17:02
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.quetzalli@postman.com>
Comment on lines 44 to 46
## Example of each initiative

(How about creating here a practical and simple example of each initiative? I think it would make the video more complete.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AsyncAPI and OpenAPI comparison (draft 1)

As you can see, you'll find lots of similarities between OpenAPI and AsyncAPI!

Screen Shot 2022-04-01 at 4 23 25 PM

In event-driven architectures, you have more than one protocol, and therefore, some things are different. Let's check out the following comparison chart, inspired by Darrel Miller's blog post:

Screen Shot 2022-04-01 at 4 17 06 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea. Like this, the differences and similarities of each initiative are very clear. Do you think we should describe verbally what appears in the image?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see how that could be useful! I vote yes... do you want me to help add this myself? (I am not sure I would get it 100% technically correct either, I will have to ask for another techy review.)

@Barbanio

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alequetzalli, yes, I need technical help with this. I can't quite understand how it works exactly. That makes me feel a bit unsure when writing about these kinds of things.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let me add something and then tag Lukasz when I'm done because I'm not sure I will get it right either 🤣

I will tag you again here once I add my first attempt 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AsyncAPI and OpenAPI comparison (draft 2)

As you can see, you'll find lots of similarities between OpenAPI and AsyncAPI!

Screen Shot 2022-04-01 at 4 23 25 PM

In event-driven architectures, you have more than one protocol, and therefore, some things are different. Let's check out the following comparison chart, partially inspired by Darrel Miller's blog post:

Screen Shot 2022-04-01 at 4 17 06 PM

As we look at these diagrams, we see how AsyncAPI uses servers for configuring their hosts and security, while OpenAPI mentions only hosts and security handled separately. Moving on, AsyncAPI has channels with messages that include headers and payload information. OpenAPI, however, has paths for making REST API calls. Lastly, notice how both AsyncAPI and OpenAPI have components. In fact, both AsyncAPI and OpenAPI have a Parameters component in common, but the rest of their components are completely different.


Ok, how about something like that, @Barbanio? 🤔 💭

We will still need someone like @derberg or @smoya to review my proposal here and confirm if it's technically acurate. 😄 👍🏻

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screen Shot 2022-04-06 at 5 55 18 PM

@derberg / @smoya / etc.. the section enclosed by the blue 🟦 is what needs technical review

VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
Co-authored-by: Fran Méndez <fmvilas@gmail.com>
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments for improvement


## AsyncAPI and OpenAPI comparison

As you can see, you'll find lots of similarities between OpenAPI and AsyncAPI!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this sentence suggests that I should see a kind of similarities, but I see screen shot from landing pages of both initiatives, is it intended? Maybe we should use some of the images from @jessemenning in this video -> https://www.asyncapi.com/blog/openapi-vs-asyncapi-burning-questions

VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
Rewrote the text for the section AsyncAPI and OpenAPI comparison.
Added graphics and images folder for the repository.
Added typo correction.
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
OpenAPI is a standard for describing application programming interfaces (APIs). This specification defines an open, vendor-independent description format for API services. In particular, OpenAPI can describe, develop, test, and document REST-compliant APIs.

The current OpenAPI specification grew out of the predecessor project, Swagger. The development company SmartBear subjected the existing Swagger specification to an open license, handing over both maintenance and development of the initiative to OpenAPI. In addition to SmartBear, members of the OpenAPI initiative include industry giants such as Google, IBM, and Microsoft. The Linux Foundation also supports this project.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it will help to briefly discuss the style(REST, message-driven) employed by these two API types so it wouldn't seem strange when a reference is made to them later in the script.
not sure I'm technically correct to refer to them as style though.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do agree that REST, basically synchronous communication should be addressed here,

you can reuse some stuff from video 2, just as short explanation

this is how it is done here, and it is good, clears out what open API is and in short says what REST is

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean pizza store, where in video 2 there will be pizza store with broker showing async, then briefly in this video we can use it as intro,

  • like watch video 3 to learn what AsyncAPI is, but basically to summarize it is for describing asynchronous communication -> show pizza store
  • and to understand its difference with OpenAPI you first need to know OpenAPI was designed for synchronous communication -> show pizza store what happens when you remove broker and force people to talk to each other directly, every few minutes (cook asking waiter if there is new order, every minute + waiter asking cook if order is ready every minute) - so basically complete chaos 😄
  • these are completed 2 different architectures that require different specifications and this is main difference between openapi and asyncapi, but yeah lets jump into details

thoughts?

Added suggestions of Dameeolawuyi.
@Barbanio
Copy link
Contributor Author

Barbanio commented Jun 8, 2022

@dameeolawuyi, thank you very much for your great feedback ✨

VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
OpenAPI is a standard for describing application programming interfaces (APIs). This specification defines an open, vendor-independent description format for API services. In particular, OpenAPI can describe, develop, test, and document REST-compliant APIs.

The current OpenAPI specification grew out of the predecessor project, Swagger. The development company SmartBear subjected the existing Swagger specification to an open license, handing over both maintenance and development of the initiative to OpenAPI. In addition to SmartBear, members of the OpenAPI initiative include industry giants such as Google, IBM, and Microsoft. The Linux Foundation also supports this project.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do agree that REST, basically synchronous communication should be addressed here,

you can reuse some stuff from video 2, just as short explanation

this is how it is done here, and it is good, clears out what open API is and in short says what REST is

VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
OpenAPI is a standard for describing application programming interfaces (APIs). This specification defines an open, vendor-independent description format for API services. In particular, OpenAPI can describe, develop, test, and document REST-compliant APIs.

The current OpenAPI specification grew out of the predecessor project, Swagger. The development company SmartBear subjected the existing Swagger specification to an open license, handing over both maintenance and development of the initiative to OpenAPI. In addition to SmartBear, members of the OpenAPI initiative include industry giants such as Google, IBM, and Microsoft. The Linux Foundation also supports this project.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean pizza store, where in video 2 there will be pizza store with broker showing async, then briefly in this video we can use it as intro,

  • like watch video 3 to learn what AsyncAPI is, but basically to summarize it is for describing asynchronous communication -> show pizza store
  • and to understand its difference with OpenAPI you first need to know OpenAPI was designed for synchronous communication -> show pizza store what happens when you remove broker and force people to talk to each other directly, every few minutes (cook asking waiter if there is new order, every minute + waiter asking cook if order is ready every minute) - so basically complete chaos 😄
  • these are completed 2 different architectures that require different specifications and this is main difference between openapi and asyncapi, but yeah lets jump into details

thoughts?

Barbanio and others added 4 commits June 13, 2022 10:43
Added Lukasz's suggestions.
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
Added image update.
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Outdated Show resolved Hide resolved
VIDEO_4_SCRIPT.md Show resolved Hide resolved
Added example suggested by Valeria (line 48).
A typo has been corrected.
@Barbanio
Copy link
Contributor Author

Hi! I have created the animations that could be included in this video. An example of EDA and REST architecture to compare AsyncAPI and Open API. And a small animation to explain the protocols section. You can see all this here: https://drive.google.com/drive/folders/1bs34-ut6pmBbBh_wj5D1w5YMHyHYXdiZ?usp=sharing. Thoughts?

@Barbanio Barbanio merged commit 3bc5ea9 into asyncapi:master Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants