liveBook · Manning

Framework

As explained in Secrets of the JavaScript Ninja, Third Edition

A reusable software system that provides structure and core functionality for applications.

A framework is a library that supplies an application's core functionality. It can save time compared with building that functionality yourself. section 1.2

Frameworks can provide different kinds of application structure:

  • Web frameworks render HTML; server frameworks parse HTTP requests and send responses. section 1.2
  • App frameworks can wrap a web view or render components specific to a target platform. section 1.2.3

App framework approaches

Electron and Ionic use embedded web views for desktop and mobile apps. React Native instead renders platform-specific UI components. section 1.2.3

How Secrets of the JavaScript Ninja, Third Edition covers it

How deep it goes
Defines frameworks and sketches their application roles without detailing implementation.
Examples
Names Electron, Ionic, and React Native as desktop and mobile framework examples.
What you can do after
Evaluate framework roles across web, server, desktop, and mobile applications.
How it connects
Connects frameworks with libraries, HTML rendering, HTTP handling, embedded web views, and platform-specific UI components.

Also explained in

Compare how 8 books explain framework →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Secrets of the JavaScript Ninja, Third Edition. The section links point to the parts of the book it draws on.