Luminova Framework

Templates & Responses

Table of Contents

  1. Template View Rendering Examples

    This documentation covers the basic implementation of template handling within the Luminova framework controllers.

  2. PHP Template System with Layout Inheritance

    Template Layout provides a simple and flexible template manipulation to native PHP templating for managing layout files and extending layout sections within views.

  3. Handling Custom Response Rendering

    The Response class allows you to send raw output, JSON, or files directly to the browser, client, or as a controller method response for routing. Perfect for APIs, JS frameworks, or dynamic endpoints.

  4. Smarty Templete Engine Implementation

    Using the Smarty template engine to render templates, Luminova custom methods simplify your experience and minimize class initialization, ensuring optimal performance.

  5. Twig Templete Engine Implementation

    Using the Twig template engine, to efficiently render templates and minimizing class initialization to save you the time and effort of manually registering classes and functions.

  6. View Layer and Template Rendering

    The View class renders templates with optional caching and layout inheritance, ideal for MVC/HMVC apps where you need structured and fast HTML output.