跟读练习: Day 26 of English Speaking Practice - 通过视频学习英语口语

正在创建课程...
1
Hello everyone so this is another day of my daily practice and today I want to talk about middleware
2
which is express framework topic and it is related with our last springboard topic also right
3
so let's start so what is a middleware what is the need of middleware right
4
so it is a very important topic of express and almost every real world application use this concept of middleware
5
so what is this a middle there right
6
so it is a one type of function one type of method
7
which will which will trigger which will coming to work between the browser
8
and between the user and express us so a server right
9
so when you give a new API
10
and hit enter then respected response you will see on the browser right
11
and you think that
12
when you hit API then it will go to the particular API function it will go
13
and call this particular API
14
and give you the response direct directly from the user to a browser
15
or from browser to a server but in real world this is not happen right
16
because of all the some type of validation and this thing
17
so for in real world once you write api
18
and hit enter then first your browser call a middleware
19
if the middle you have defined a middleware for this particular api then your browser then
20
call this middleware after the after the middleware it calls the next middleware
21
and after all the middleware has called then after
22
that it will go to the correct API function
23
and give your response so this is a one type of function one type of code
24
where trigger between your response and between your request and response right to pass middleware to
25
Between a function we use on the function like app dot use
26
right and To One middleware to another middleware we use a next function
27
So between a client request and final response all the middleware will be triggered
28
And now you think that what is the need of this middleware, right?
29
so I give you the example that you have a big application
30
or a website and it's a very more
31
and more API endpoint like assume that 100 API endpoint
32
so you think
33
that I want to maintain all the history of API code I want to maintain all the API response and requests
34
so you want to log all the requests like whatever api
35
is called by a client then you see in your console
36
that which is a trigger so there is a one the
37
so you write a console.log an api name
38
and this thing this particular line you have to write all the api for right
39
so you have to write 100 time for all api
40
so it is just uh you think it is just a line right we are copy paste copy paste
41
but in a real word it is uh not for a
42
particular line it can be for a validation function request validation whether the request is valid
43
or not whether the user is authenticated or not right
44
so i'll give you another example from my hospital project
45
that you trigger a apis for a admin right
46
and you have login with the person then first
47
when a epi function is a call the all the middleware will check whether you user is valid
48
or not the user is valid
49
and api is for admin a user is uh i mean user is patient
50
and api is for admin right so it is error then middleware should throw to not
51
access denied error
52
so you have to define all these validation functions all the request parameter whether it is valid
53
or not and this big stuff for all your 100 api calls right
54
so it it becomes very busy it becomes very messy
55
and very big code very lengthy code right
56
so that's why all the scenario with this middleware will work right
57
if you have put the middleware between particular these api then you need to write the whole code
58
and only for once time right and for After all the API, your middleware first trigger and then after your function call that happen.
59
So this is the main use of the middleware function to validate user authenticate
60
or not all the request parameter request body and this thing.
61
So there is one function next.
62
So it is a very important function without this function you cannot move to your next middleware
63
or your next response API function function so
64
if you are not use next function then your browser keep loading
65
and you stuck at a particular middleware you cannot go forward
66
so that's why it is use of mandatory for all the middleware right
67
so this is about middleware
68
and yes it is as similar as java of solid filter
69
chain in concept right in java we have learned what is the filter what is the filter chain
70
and this middleware and this filter then as similar as that right
71
so in java there is a multiple of filter a filter
72
one filter two filters there is a chain of filter
73
and at the end we got our response
74
and here there is a chain of a middleware one middleware two middleware
75
and at the end we got our response so both are similar so i have first studied about java filter
76
and now i'm studying about middleware
77
so for me it is a very uh easy topic right
78
if you are new then you think
79
that is some type of uh you can say some type of difficulties
80
but it is not difficult once you master it
81
and you also think it is very topic is it okay
82
so this is about a middle right so thank you for today

为什么要通过这个视频练习口语?

在今天的视频中,讲者通过探讨中间件(middleware)的话题,提供了一个极好的学习英语口语的环境。中间件是表达框架(express framework)中的重要概念,几乎所有真实世界的应用程序都使用这个概念。这使得视频不仅倾向于技术讨论,还能够激发与该主题相关的多种语言表达方式。这种结合技术与语言的方式,无疑为学习者提供了一个丰富的口语实践场景。在观看并倾听讲者的表达时,你将能有效提高英语口语能力,特别是在技术领域的应用。

语法与表达在语境中的运用

  • 条件句的使用:讲者在解释中使用了条件句,例如“如果你定义了一个中间件…”这类结构有助于学习者理解复杂句子的构成,提升英语语法的掌握。
  • 直接与间接引语:在讲解中,讲者使用了直接引语和间接引语交替的方式,像是“你会看到…”这不仅能够训练英语听力,还能学习如何在不同情境下转述他人的话。
  • 动词时态的应用:视频中涉及到过去式和现在进行时的表达,例如“我们讨论了…”和“中间件正在工作…”这将有助于学习者准确使用动词时态。

常见发音陷阱

在视频中,讲者的发音清晰,但对于一些技术术语可能会给学习者带来挑战。例如,“middleware”(中间件)这个词有时会在不同的口音中发音不一,学习者需要注意此词的正确发音。此外,“API”这个词的发音也可能会对初学者造成困惑,确保正确区分后面的元音发音是关键。学习者在练习时可以通过英语影子跟读(shadow speech)来提升发音的准确性。通过模仿讲者的语调和速度,可以有效
提高英语发音及口语流利度。

利用这样的学习资源,结合shadowspeaks的技巧,学习者能够在过程中不断优化自己的发音和表达,欢迎加入英语影子跟读的练习,找到适合自己的方法提升英语口语。

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。