Guides#
Field-tested recipes for problems that come up on every Palmyra project once the framework is in place and you’re wiring a real application around it. These are the topics that don’t fit cleanly under a single annotation or handler page — they cut across the framework, the extensions, and the deploy target.
| Guide | Problem it solves |
|---|---|
| Security Configuration Recipes | Session-based login for a SPA, multi-chain setups (user + device / API-key), CSRF for browser traffic, exception mapping |
| Programmatic Access | API-key / service-account authentication for Python scripts, batch jobs, and headless agents |
| Dev Bootstrap & Seed Data | Running DDL + seed SQL on dev boot, admin user provisioning, idempotent seeding, interaction with Hibernate ddl-auto |
| Dynamic Navigation | Data-driven side menu from xpm_menu + xpm_acl_menu → DynamicMenu on the frontend |
| Schema Discovery (internals) | How Palmyra reads your DB and where the “subtype not found” / “attribute not found” errors really come from |
| Performance & Observability | Pagination defaults, avoiding deep FK cascades in responses, query logging, slow-query detection |
| Frontend Project Setup | Vite + Mantine + palmyra-wire from zero — the deeper version of the tutorial setup |
Together with the Mental Model page and the extension integration guides, these cover the “I’ve installed the framework, now how do I actually ship something” phase.