Javascript Design Pattern 2023 : Middleware Pattern

Published: 06 February 2023
on channel: JavaScript Ricochet
481
13

Let's see how to create a JavaScript app AND make it extendable with plugins! Yes, you'll learn how to create your own system that accepts plugins and learn how to create and inject these plugins inside your app.
This is intermediate/advanced JavaScript. So it's more difficult than usual but totally worth watching and trying to fully get the concepts presented here.

0:00 Generating an app using Vite.js
2:58 Creating a Logger app
3:56 Creating a Middleware Manager that will accept custom plugins
8:45 Creating our first custom plugin / middleware
10:34 Adding the middleware to the middleware manager
12:21 Creating a function that can execute several function sequentially
18:17 Let's create a second middlware that flags messages by their importance
21:35 Let's register the second middleware into the middleware manager
23:33 Let's create a thrid middleware
24:25 Reversing a string
26:00 Registering the third middleware
26:56 Making your middlewares easily identifiable
30:27 Adding a showMessage() function to the logger

Improve in HTML, CSS and JavaScript by subscribing to our newsletter:
https://codeconcept.ck.page/28d6110032


On this page of the site you can watch the video online Javascript Design Pattern 2023 : Middleware Pattern with a duration of hours minute second in good quality, which was uploaded by the user JavaScript Ricochet 06 February 2023, share the link with friends and acquaintances, this video has already been watched 481 times on youtube and it was liked by 13 viewers. Enjoy your viewing!