How frontend-park-mail-ru/2022_2_technopanki works
Main Components
a. Frontend Architecture:
• React-like Custom Framework Layer
• Custom React implementation (Reacts directory)
• Custom Flux implementation (Fluxs directory)
• JSX Runtime
• Virtual DOM Diffing Engine
b. Application Layer:
• Core Components
• UI Kit (extensive component library)
• Views (main application pages)
• Services (API communication)
• Store (state management)
• Router
c. Backend Integration:
• API Services
• Authentication System
• File Upload System
[Client Layer]
• ↓ ↑
[Application Layer]
• ↓ ↑
[Server Layer]
Detailed Component Breakdown
a. Frontend Framework Layer (Custom Implementation):
[JSX Runtime] → [Virtual DOM] → [Diff Engine] → [DOM Updates]
• ↑ ↑
[Custom React Core] ← [Custom Flux Store]
b. Application Architecture:
[Views] → [Components] → [UI Kit]
• ↓ ↓
[Store] ← [Services] → [API Endpoints]
• ↓
[Router]
Key Relationships to Highlight
• Flow between the custom React-like framework and the application code
• Flux pattern with store, actions, and reducers
• Demonstrate the relationship between services and API endpoints
• Routing system's integration with views
Implementation Details
• Rectangles: Core components
• Hexagons: Services
• Diamonds: Router/Navigation
• Circles: External services