Advanced elements provide the infrastructure layer for Pytigon applications — background tasks, real-time communication, URL routing, template extensions, and external interfaces.
| Element | Purpose |
|---|---|
| Tasks | Background task system with scheduling and monitoring |
| Channels | Real-time WebSocket communication |
| Model | Extended data layer with JSONModel |
| URL | Routing and navigation patterns |
| View | The glue between data and display |
| Management Commands | CLI toolkit for administration |
| Template Filters | Data transformation at render time |
| Template Tags | Logic blocks in templates |
| GraphQL Tools | Precise data fetching |
| REST API Tools | Data over HTTP |
| Library | Shared code across applications |
All advanced elements follow these conventions:
- Auto-discovery — Register by convention (create file in right location)
- Project-level configuration — Defined at the project level, consumed by applications
- Template integration — Tags and filters are available in .ihtml templates
- Permission system — Respect the same permission framework as base elements
Projects can be packaged as encoded zip files for deployment:
base64 project.zip > encoded.txt)This distributes the complete project configuration including tables, views, forms, templates, and tasks.