Encapsulation Glossary
Browse 5 encapsulation terms defined in plain English, from the cultural dictionary of computing.
5 Encapsulation Terms
- Private Field
- A class member variable that is only accessible within the class that declares it, enforcing encapsulation by preventing external code from reading or...
- Setter
- A method (or language-level property accessor) that controls how a value is assigned to an object's internal field, allowing validation, transformation, or...
- shadow DOM
- A web standard that creates an encapsulated DOM tree attached to an element, isolating its internal structure, styles, and behavior from the rest of the page....
- Shadow DOM
- A browser API that creates an encapsulated DOM subtree with its own scope for CSS and JavaScript. Styles inside the shadow DOM don't leak out, and external...
- Tell Don't Ask
- A design principle suggesting that code should tell objects what to do instead of pulling out their data and deciding externally. It favors encapsulation and...
Related Topics
- Oop (2 terms in common)
- Object Oriented (1 terms in common)
- Accessor (1 terms in common)
- Web Components (1 terms in common)
- Design Principles (1 terms in common)
- Components (1 terms in common)
- Javascript (1 terms in common)
- Browser (1 terms in common)
- Web (1 terms in common)