HomeCode Reference › Code Reference — overview

Code Reference — overview

Purpose: Index of snippet pages. Everything generic, everything safe to copy into any project.

Who this page is for

AudienceWhy it matters to you
All engineersDaily copy-paste material

Snippet pages

PageContains
HTL snippetsThe template patterns you retype weekly
Sling Model snippetsModel skeletons per use case
Servlet snippetsGET/POST endpoints done right
OSGi service snippetsServices, configs, schedulers, jobs
QueryBuilder snippetsCommon query recipes
Workflow snippetsProcess steps and programmatic workflow ops
ClientLib snippetsFolder definitions, includes, config
Dispatcher config snippetsFilters, cache rules, headers
curl one-linersInstance interrogation from the shell
Maven & archetype commandsBuild/deploy invocations
Console Admin Quick Bites60-second admin console tasks

All examples use the fictional phi-academy app / PHI plan-page domain — rename and go.

Quick navigation