THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class ViewServiceProvider(ServiceProvider): (source)
Register and boot the view system into the application container.
Registration phase
Binds orionis.view.contracts.environment.IViewEnvironment →
orionis.view.environment.ViewEnvironment,
orionis.view.contracts.engine.IViewEngine →
orionis.view.engine.Jinja2Engine, and
orionis.view.contracts.factory.IViewFactory →
orionis.view.factory.ViewFactory as singletons.
Boot phase
Registers template globals, filters, and extensions with the
orionis.view.environment.ViewEnvironment singleton, then pins the View
facade for zero-resolution access on the hot path.