Cross-area library

Content Library

A single library for content items across the complete Content Area hierarchy. Content Areas and Categories define the structure;

261 results
261 resultsContent Area → Category
Guide

Using WeakMap for Object Metadata

Use WeakMap to keep temporary metadata keyed by specific object identities. Always retain a strong reference to objects you need later, because weak keys disappear on collection.

1 views
Guide

Using WeakMap for Per-Object Metadata

Attach per-object cache or diagnostic state without adding fields to each class. Values should not accidentally capture their own object keys; that can retain objects through an indirect st…

1 views
Guide

Working with SplObjectStorage

SplObjectStorage models a set of objects with optional attached information. Membership uses identity rather than equality; the collection strongly retains its keys.

1 views
Page 15 of 29 · 261 results