Luminova Framework

Routing Requests

Routing defines how URLs or routable CLI commands are connected to controllers and actions. Learn how to create clean, SEO-friendly routes and manage dynamic parameters efficiently.

Table of Contents

  1. CLI Controller Routing

    Learn how to define and route CLI commands in Luminova using command controllers or closures, with support for groups, middleware guards, and dependency injection.

  2. Dependency Injection in Routable Controller Methods

    Luminova’s Dependency Injection system resolves and passes objects to your routable controller methods, while also handling any URI segment parameters at the same time.

  3. Dynamic URI Placeholders for Routing

    View route URI segments using regex, named placeholders, or predefined patterns. Capture dynamic parts and pass them as arguments to controller methods during request routing.

  4. HTTP Controller Routing

    Learn how to define routes in Luminova using view controller methods or closures, with simple static or notation-style references for APIs or Website requests handling.

  5. HTTP X Method Overrides and Method Spoofing

    Database Builder Class: An Object-Relational Mapping Tool for Simplified CRUD Operations and Object-Oriented Database Management.

  6. HTTP and CLI Routing System

    The Luminova routing system helps your app handle web and CLI requests by linking each URL or command to the right controller and method.

  7. Method URI Prefixing for Route Context Files

    The Method-Based URI prefix makes it easier to manage and optimize the routing system for request handling when using low-level method route definitions instead of attributes.

  8. Route URI Segment Object

    View Segments is a utility class designed to assist in accessing requested view URIs, simplifying processing tasks.