filmov
tv
Javascript Design Pattern 2023 : Middleware Pattern
Показать описание
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.
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:
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.
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: