Code Reference — overview
Purpose: Index of snippet pages. Everything generic, everything safe to copy into any project.
Who this page is for
| Audience | Why it matters to you |
|---|---|
| All engineers | Daily copy-paste material |
Snippet pages
| Page | Contains |
|---|---|
| HTL snippets | The template patterns you retype weekly |
| Sling Model snippets | Model skeletons per use case |
| Servlet snippets | GET/POST endpoints done right |
| OSGi service snippets | Services, configs, schedulers, jobs |
| QueryBuilder snippets | Common query recipes |
| Workflow snippets | Process steps and programmatic workflow ops |
| ClientLib snippets | Folder definitions, includes, config |
| Dispatcher config snippets | Filters, cache rules, headers |
| curl one-liners | Instance interrogation from the shell |
| Maven & archetype commands | Build/deploy invocations |
| Console Admin Quick Bites | 60-second admin console tasks |
All examples use the fictional phi-academy app / PHI plan-page domain — rename and go.