- Add comprehensive health check system with multiple endpoints - Add Prometheus metrics endpoint - Add production logging configurations (5 strategies) - Add complete deployment documentation suite: * QUICKSTART.md - 30-minute deployment guide * DEPLOYMENT_CHECKLIST.md - Printable verification checklist * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference * production-logging.md - Logging configuration guide * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation * README.md - Navigation hub * DEPLOYMENT_SUMMARY.md - Executive summary - Add deployment scripts and automation - Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment - Update README with production-ready features All production infrastructure is now complete and ready for deployment.
85 lines
2.8 KiB
PHP
85 lines
2.8 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Application\Controller;
|
|
|
|
use App\Framework\Attributes\Route;
|
|
use App\Framework\Http\HttpRequest;
|
|
use App\Framework\Http\Method;
|
|
use App\Framework\Meta\MetaData;
|
|
use App\Framework\Router\Result\ViewResult;
|
|
|
|
final readonly class DemoController
|
|
{
|
|
#[Route(path: '/demo/permissions', method: Method::GET)]
|
|
public function permissionsDemo(HttpRequest $request): ViewResult
|
|
{
|
|
$metaData = new MetaData(
|
|
title: 'Permission Management & Biometric Authentication Demo',
|
|
description: 'Test und Demo des Permission Management Systems und WebAuthn Biometric Authentication'
|
|
);
|
|
|
|
return new ViewResult('permissions', $metaData, [
|
|
'features' => [
|
|
'Permission API Management',
|
|
'WebAuthn Biometric Authentication',
|
|
'Onboarding Flows',
|
|
'Conditional UI Setup',
|
|
'Credential Management',
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route(path: '/demo/canvas', method: Method::GET)]
|
|
public function canvasDemo(HttpRequest $request): ViewResult
|
|
{
|
|
$metaData = new MetaData(
|
|
title: 'Canvas Animation Demo',
|
|
description: 'Interactive Canvas Animationen, Parallax Effekte und Datenvisualisierung'
|
|
);
|
|
|
|
return new ViewResult('canvas', $metaData, [
|
|
'features' => [
|
|
'Interactive Canvas Elements',
|
|
'Parallax & Scroll Effects',
|
|
'Data Visualization',
|
|
'Particle Systems',
|
|
'Performance Optimized',
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route(path: '/demo/api-manager', method: Method::GET)]
|
|
public function apiManagerDemo(HttpRequest $request): ViewResult
|
|
{
|
|
$metaData = new MetaData(
|
|
title: 'API Manager Demo',
|
|
description: 'Zentrale Verwaltung aller Web APIs für moderne Browser-Features'
|
|
);
|
|
|
|
return new ViewResult('api-manager', $metaData, [
|
|
'features' => [
|
|
'Observer APIs (Intersection, Resize, Mutation)',
|
|
'Media APIs (Camera, Microphone, WebRTC)',
|
|
'Storage APIs (IndexedDB, Cache API)',
|
|
'Device APIs (Geolocation, Sensors)',
|
|
'Web Animations API',
|
|
'Worker APIs (Service Worker, Web Worker)',
|
|
'Performance APIs',
|
|
],
|
|
]);
|
|
}
|
|
|
|
#[Route(path: '/demo/x-components', method: Method::GET)]
|
|
public function xComponentDemo(HttpRequest $request): ViewResult
|
|
{
|
|
$metaData = new MetaData(
|
|
title: 'X-Component Syntax Demo',
|
|
description: 'Demo der unified x-component syntax für LiveComponents und HTML Components'
|
|
);
|
|
|
|
return new ViewResult('x-component-demo', $metaData);
|
|
}
|
|
}
|