摘要: Middleware From the Express docs… A middleware is a function with access to the request object (req), the response object (res), and the next middlewa 阅读全文
posted @ 2023-03-02 00:11 M1stF0rest 阅读(21) 评论(0) 推荐(0) 编辑
摘要: Context Objects When a template is rendered using res.render, there are two arguments. → The view or template to render… and the context object. The c 阅读全文
posted @ 2023-03-02 00:00 M1stF0rest 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Web Frameworks Web frameworks can be very featureful: providing everything for you from database access to templating… and even dictating your project 阅读全文
posted @ 2023-03-01 23:52 M1stF0rest 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Node's net Module What's the net module used for? → It's for creating TCP/IP servers and clients. What are the objects that we used when creating a se 阅读全文
posted @ 2023-02-13 06:57 M1stF0rest 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Some Definitions Before we start, we should probably get a few definitions out of the way! ip address - number given to a computer / device on a netwo 阅读全文
posted @ 2023-02-13 06:35 M1stF0rest 阅读(13) 评论(0) 推荐(0) 编辑
摘要: Definitions Yeah, some of these might be silly, but let's do this! What's the difference between the internet and the web (I'm really asking this). → 阅读全文
posted @ 2023-02-13 05:24 M1stF0rest 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Where did we Leave Off? At a cliffhanger! (Actually… doing some magic tricks) Pulling Properties Out of Thin Air! Let's check out this code. → // an e 阅读全文
posted @ 2023-02-04 03:31 M1stF0rest 阅读(26) 评论(0) 推荐(0) 编辑
摘要: A Closer Look Let's check out: global object methods and this The Global Object What's the name of the global object in node (pssst… the answer is rig 阅读全文
posted @ 2023-02-02 23:29 M1stF0rest 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Object-Oriented Programming Describe the following object oriented programming concepts: → inheritance - basing a class off of another class so that i 阅读全文
posted @ 2023-02-02 13:21 M1stF0rest 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Higher Order Functions Greeeaaaat. What's a higher order function, though? → A higher order function is a function that does at least one of the follo 阅读全文
posted @ 2023-02-02 11:45 M1stF0rest 阅读(15) 评论(0) 推荐(0) 编辑