[GoLUG] CSS Lifeboat and Speedboat at GoLUG, 9/4/2024 7PM Eastern Daylight Time

admin at bclug.ca admin at bclug.ca
Thu Sep 5 14:08:42 EDT 2024


admin at bclug.ca wrote on 2024-09-05 09:28:

> a couple thoughts on Node.js

Also, we've had hardware for centuries, software came about with 
computers, then firmware as computers & ICs advanced, and Node.js gives 
us... "middleware".


An easy way to string together functions that are to be invoked, for 
example:

If user navigates to /dashboard, they must be authenticated first, so:

 > .get("/dashboard", authUser, dashboard);

That'll run authUser() before running dashboard(), which provides the 
web page at example.com/dashboard


Middleware - interesting concept, still wrapping my head around it.


rb




More information about the GoLUG mailing list