liveBook · Manning

Framework

As explained in Vanilla Web

A reusable software structure that imposes conventions and supplies components for organizing application architecture and development.

A framework is a reusable structure that supplies conventions for building an application. In web development, it is a tool, not a prerequisite. Choose a stack after understanding the project’s requirements, rather than starting with the framework you already know. section 1.0 section 1.6

Before adding a framework, ask:

  • Does the project need what it provides, or can browser-native HTML, CSS, and JavaScript meet the requirements? section 1.6 section 1.0
  • What will its dependencies mean for security, performance, and maintainability? section 1.0
  • Will its conventions help the team more than direct control of the application architecture? section 1.6 section 1.0

Learn the platform beneath the tool

Building Slinkity, an Eleventy template project, was described as a way to learn JavaScript and Web APIs beyond working in React. Building something without a familiar framework can expose the DOM and event handling that frameworks build upon; it does not make frameworks the wrong choice. section 1.6

How Vanilla Web covers it

How deep it goes
Discusses conventions, dependencies, and trade-offs without explaining a framework’s implementation internals.
Examples
Uses React as a familiar default and Slinkity, an Eleventy template project, as a framework-building learning example.
What it assumes
Assumes familiarity with HTML, CSS, and JavaScript while encouraging direct practice with the DOM, events, and Web APIs.
What you can do after
Evaluate/understand whether a framework’s benefits justify its dependencies and conventions for a given project.
How it connects
Connects frameworks to Vanilla Web, Web APIs, the DOM, event handling, dependencies, and application architecture.

Also explained in

Compare how 8 books explain framework →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vanilla Web. The section links point to the parts of the book it draws on.