Skip to content

CSCI2720

Building Web Applications

From browser/server foundations and semantic HTML to responsive CSS, JavaScript, forms, Fetch and React.

9 chapters · 15 sectionsEN · 繁 · 简
My course notes
Revision and practice

Review seven web-development units, attempt twelve original questions, and use complete explanations and a 100-mark guide.

Your progress

0/ 15 sections marked complete

Next section: 1.1 Browsers, servers and web resources

Completion marks are saved in this browser.

This course in the web

In the CSCI2720 notes

Theorem cards
0
Definitions
17
Counterexamples
13
Concept lenses
7
Histories of ideas
4
Proof X-rays
0

Sections with a history of an idea

None of these is on the timeline yet.

No concept lens from this course is recorded in the web yet.

Open this course in the knowledge map

Counts cover the 15 public sections of this course and what is written in them, not recorded connections. 0 of these sections are indexed into the web in detail so far.

In the webDefinitions 17 · Counterexamples 13 · Concept lenses 7 · Histories of ideas 4

None of these is on the timeline yet.

No concept lens from this course is recorded in the web yet.

Open this course in the knowledge map

Counts cover the 15 public sections of this course and what is written in them, not recorded connections. 0 of these sections are indexed into the web in detail so far.

Chapter 1 · 1 section

Web application foundations

Resources, requests and responsibilities across the browser and server.

Definitions 1History 1

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 1.1

    Browsers, servers and web resources

    Trace a page from URL to response and distinguish document structure, presentation, browser state and server work.

Chapter 2 · 1 section

HTML and document structure

Express content meaning and relationships in a well-structured document.

Definitions 1Counterexamples 1Lenses 1History 1

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 2.1

    Semantic HTML documents

    Build meaningful HTML documents with landmarks, links, lists, tables, images and correctly encoded text.

Chapter 3 · 1 section

Presentation and layout

CSS reasoning, responsive design and Bootstrap conventions.

Definitions 2Counterexamples 1Lenses 1

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 3.1

    Responsive CSS and Bootstrap

    Reason about the cascade, box model and responsive layouts, then read Bootstrap grids and utilities.

Chapter 4 · 2 sections

JavaScript and the document

Language semantics, collections, DOM changes and event-driven state.

Definitions 2Counterexamples 2

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 4.1

    JavaScript, functions and collections

    Trace JavaScript values, control flow, functions and collection transformations.

  2. 4.2

    DOM events and object state

    Connect document nodes, event propagation and object identity to a consistent browser interface.

Chapter 5 · 2 sections

Forms and data exchange

Form meaning, validation and asynchronous request/response behavior.

Definitions 3Counterexamples 2Lenses 1

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 5.1

    Forms, validation and Fetch

    Build meaningful forms, validate input and trace asynchronous JSON requests with an in-memory service.

  2. 5.2

    Response contracts and coherent list rendering

    Validate parsed responses before coherently replacing a displayed collection.

Chapter 6 · 2 sections

Component-based interfaces

Declarative rendering, state, events and component identity.

Definitions 2Counterexamples 2Lenses 2

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 6.1

    Components, state and rendering

    Explain JSX, component inputs, state updates, list identity and lifecycle through a reading shelf.

  2. 6.2

    React state over time: queues, keys and Effect cleanup

    Trace queued state updates, keyed sibling identity and Effect setup and cleanup, and keep those three timelines apart when debugging a React component.

Chapter 7 · 1 section

Cross-origin requests

Trace CORS preflight and response exposure.

Definitions 2Counterexamples 1

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 7.1

    Cross-origin requests and CORS

    Trace request permission, preflight and browser response exposure.

Chapter 8 · 4 sections

Servers, routing and sessions

Express routing and JSON handling, and server-side sessions.

Definitions 4Counterexamples 4Lenses 2History 2

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. 8.1

    Mapping Browser Requests to Server Routes and Responses

    Map a request's method and path to an Express handler, parse JSON bodies in the correct middleware order, and choose status codes, headers and error responses deliberately.

  2. 8.2

    Sessions across requests: identity has a lifetime

    Trace a server-side session as a state machine, separate the cookie from the server record, and distinguish authentication from authorization.

  3. 8.3

    MongoDB and Mongoose: Documents, Schemas and CRUD

    Model data as MongoDB documents with a Mongoose schema, perform create, read, update and delete operations with Promises, and connect them to Express routes with correct validation and error handling.

  4. 8.4

    Web Security Basics: Origins, XSS, CSRF and Injection

    Define origins and the same-origin policy precisely, then analyze cross-site scripting, cross-site request forgery and injection attacks and the specific defences that stop each one.

Chapter R · 1 section

References

Recommended books and primary technical documentation.

Chapter outline →See this chapter on the web →Not yet indexed in the web

  1. R.1

    References and further reading

    Books, web standards and technical documentation for studying web applications.

Vercel visit statistics and public-page performance measurements each require separate consent. Neither is needed to use the website.

Website function storage (used when needed)

Security, sign-in and your chosen preferences use storage when needed. This is separate from optional statistics.

Withdrawing stops future statistics. The page reloads if analytics code needs unloading. It does not delete data already sent.

Read Cookie and storage details