External code is one of five major concerns when developing reusable JavaScript. Decide how much effort to spend on it by weighing likely benefits against your audience, resources, and schedule. section 14.2
External code
Code outside a component or library that coexists in the same page or environment and may affect or be affected by it.
How Secrets of the JavaScript Ninja, Second Edition covers it
- How deep it goes
- Names external code among five concerns but does not detail its mechanisms or mitigation.
- What you can do after
- Evaluate effort for external code against likely benefits, audience, development resources, and schedule.
- How it connects
- Groups external code with browser bugs, browser bug fixes, browser regressions, and missing browser features.
Related concepts
- software updateuses · A software update is a change applied to existing software to modify or improve its behavior, correct defects or vulnerabilities, or add functionality.
- adapterused by · The adapter pattern is a structural design pattern in which a component translates between interfaces or representations so otherwise incompatible components can work together.
- applicationused by · An application is a software program or system that performs tasks or provides functionality for users or other software systems.
- web applicationused by · A web application is software that provides functionality through web technologies and is accessed by users through a browser or other web client.
- secure configurationconfigured by · Secure configuration is the practice of setting systems and services to minimize security weaknesses, unnecessary exposure, and unsafe behavior.
- reuseused by · Reuse is applying an existing resource, implementation, or capability again in another context rather than creating or duplicating it.
This explainer was generated by Manning's knowledge graph from the text of Secrets of the JavaScript Ninja, Second Edition. The section links point to the parts of the book it draws on.
