Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Advanced Patterns Examples

This folder demonstrates advanced WebFiori HTTP patterns and techniques.

Examples

  1. 01-object-mapping - Request to object mapping with MapEntity attribute
  2. 02-custom-filters - Custom parameter validation
  3. 03-exception-handling - Global exception handling
  4. 04-middleware-pattern - Request/response interceptors
  5. 05-streaming-responses - Large data streaming
  6. 03-manual-openapi - Using OpenAPIObj to serve API documentation

Advanced Concepts

  • Object-oriented request handling with MapEntity attribute
  • Custom validation and filtering
  • Structured exception handling
  • Middleware and interceptors
  • Performance optimization techniques

Prerequisites

  • Understanding of PHP 8+ features (attributes, typed properties)
  • Familiarity with basic WebFiori HTTP concepts
  • Knowledge of object-oriented programming patterns