How thomas28051984/symfony_teissier_construction works
Main System Components
a) Frontend Layer:
• Assets directory (JavaScript and CSS)
• Webpack Encore for asset management
• Twig templates structure
• Public media files
b) Application Layer:
• Controllers (organized by feature)
• Forms
• Security components
c) Data Layer:
• Entities
• Repositories
• Doctrine ORM
• Database migrations
d) Infrastructure:
• Symfony Framework
• Security system
• File storage system
Client Layer (Browser)
↓
Frontend Layer (Twig + Assets)
↓
Application Layer (Controllers)
↓
Business Layer (Services, Forms)
↓
Data Access Layer (Repositories)
↓
Database Layer
Component Details
Specific components:
Frontend Components:
• Templates directory structure
• Asset management (Webpack)
• Public media storage
Controller Layer:
• AdminPageController
• AvisClientController
• ChantierController
• ClientPageController
• Other feature controllers
Entity Layer:
• AvisClient
• Chantier
• File
• Role
• User
Supporting Components:
• Security (UserAuthenticator)
• Forms (Registration, Avis, Chantier)
• File management system
Key Relationships
Interactions:
• Controller → Repository
• Controller → Form
• Form → Entity
• Repository → Entity
• Security → User Entity
Infrastructure Elements
Include:
• Symfony Framework
• Doctrine ORM
• Twig Template Engine
• Webpack Encore
• Security System
The client/admin separation
Keep the abstraction level focused on the main architectural components while showing the specific features relevant to a construction company website (project showcase, client reviews, media management).
This architecture represents a typical Symfony application with specific customizations for a construction company's needs, emphasizing both content management and client interaction features.