035.2 NodeJS Express Basics
- Reference to LPI objectives
-
Web Development Essentials version 1.0, Exam 030, Objective 035.2
- Weight
-
4
- Key knowledge areas
-
-
Define routes to static files and EJS templates
-
Serve static files through Express
-
Serve EJS templates through Express
-
Create simple, non-nested EJS templates
-
Use the request object to access HTTP GET and POST parameters and process data submitted through HTML forms
-
Awareness of user input validation
-
Awareness of cross-site Scripting (XSS)
-
Awareness of cross-site request forgery (CSRF)
-
- Partial list of the used files, terms and utilities
-
-
express
andbody-parser
modules -
Express app object
-
app.get()
,app.post()
-
res.query()
,res.body()
-
ejs node module
-
res.render()
-
<% … %>
,<%= … %>
,<%# … %>
,<%- … %>
-
views/
-