Main Components
Main Components are essential for the Container's functionality and must be used to achieve its core purpose.
To learn more about Apiato components, check the Components section.
📄️ Routes
Routes are responsible for mapping incoming HTTP requests to their corresponding controller functions.
📄️ Controllers
Controllers are tasked with two primary responsibilities:
📄️ Requests
Requests components are a way to interact with the current HTTP request
📄️ Actions
Actions serve as the embodiment of the application's Use Cases,
📄️ Tasks
Tasks are specialized classes that hold shared business logic,
📄️ Models
Models are responsible for representing the data of the application
📄️ Transformers
Transformers,
📄️ Views
Views offer a convenient mechanism for organizing HTML content in separate files.
📄️ Exceptions
Exceptions are used to handle errors and exceptions in the application.
📄️ Sub Actions
SubActions are designed to eliminate code duplication within Actions.