https://github.com/alexy-os/wp-fasty
A high-performance WordPress theme built with modern architectural patterns and optimised delivery methods
https://github.com/alexy-os/wp-fasty
shadcn shadcn-ui shadcnui wordpress wordpress-boilerplate wordpress-development wordpress-starter-theme wordpress-theme wp
Last synced: 28 days ago
JSON representation
A high-performance WordPress theme built with modern architectural patterns and optimised delivery methods
- Host: GitHub
- URL: https://github.com/alexy-os/wp-fasty
- Owner: alexy-os
- License: mit
- Created: 2024-12-04T16:02:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T08:25:52.000Z (28 days ago)
- Last Synced: 2025-03-28T09:33:22.638Z (28 days ago)
- Topics: shadcn, shadcn-ui, shadcnui, wordpress, wordpress-boilerplate, wordpress-development, wordpress-starter-theme, wordpress-theme, wp
- Language: TypeScript
- Homepage: https://wpfasty.app-server.ru/image/
- Size: 2.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A high-performance WordPress theme built with modern architectural patterns and optimised delivery methods. FastY combines cutting-edge technologies with clean architecture principles to deliver exceptional performance and developer experience. Built with PHP 8.1+, modern Tailwind CSS, and implementing robust dependency injection patterns, this theme achieves perfect PageSpeed scores while maintaining code elegance and maintainability. Whether you're building a high-traffic blog, corporate website, or e-commerce platform, FastY provides the solid foundation you need without the bloat of traditional WordPress themes.
## Three WhalY - *Core Principles*
### 1. Zero Redundant Code
*Every line serves a purpose. No bloat, no legacy code, no unnecessary abstractions. Pure, efficient implementation focused on your specific needs.*### 2. Zero Database Queries
*Intelligent caching and state management eliminate redundant database operations, delivering lightning-fast response times and reduced server load.*### 3. Perfect PageSpeed Score
100/100 *Performance*
100/100 *Accessibility*
100/100 *Best Practices*
100/100 *SEO*
![]()
# WP FastY Theme
*Copy nothing - create your own.*
The world's fastest WordPress theme where every line of code is just your handwriting. Don't copy other people's themes anymore - create unique things yourself.
https://wpfasty.app-server.ru
Ok. Here is a heavier version with 8 blocks with images:
https://wpfasty.app-server.ru/image/
*FastY is a WordPress framework for those who think differently.*
## PageSpeed Insights 100%
***Take a look at the results PageSpeed produces: 100/100/100/100 - a page consisting of 8 blocks, including images:***
[**[ PageSpeed Insights ]**](https://pagespeed.web.dev/analysis/https-wpfasty-app-server-ru-image/pixb8lmvgm?form_factor=desktop)
## Architectural Advantages
This theme implements a robust Dependency Injection (DI) and Closure-based architecture, offering significant advantages over traditional Full Site Editing (FSE) approaches:
### Clean Architecture vs FSE Blocks
Whilst FSE promotes a block-based paradigm that inherently couples view and model layers, our DI/Closure architecture maintains strict separation of concerns:
- **Dependency Management**: Proper inversion of control through container-based service resolution
- **Testability**: Isolated components with clear boundaries and dependencies
- **Maintainability**: Modular structure allowing for precise modifications without side effects### Performance Considerations
Unlike FSE's React-based implementation, which:
- Creates additional JavaScript runtime overhead
- Increases DOM tree complexity through nested block structures
- Requires substantial client-side processing for block renderingOur approach:
- Minimises DOM tree depth through optimised template structures
- Reduces JavaScript payload by leveraging native browser capabilities
- Implements efficient server-side rendering patterns## Development Features
### Dual-Mode Operation
The theme supports two distinct operational modes:
**Production Mode (Default)**
- Optimised Tailwind CSS delivery
- Minimal runtime overhead
- Maximum performance optimisation**Development Mode**
- Live Tailwind configuration
- Enhanced debugging capabilities
- Direct style modifications### UI Framework Integration
Built with shadcn/ui compatibility in mind:
- Consistent component architecture
- Theme-wide design token system
- Dark mode support out of the box## Performance Metrics
Achieves perfect Google PageSpeed scores across all metrics:
- Performance: 100/100
- Accessibility: 100/100
- Best Practices: 100/100These scores are maintained across both Production and Development modes, ensuring optimal performance regardless of operational context.
## Technical Implementation
- Implements PSR-4 compliant autoloading
- Utilises singleton pattern for service management
- Features comprehensive dependency injection container
- Maintains WordPress coding standards whilst introducing modern PHP patternsThis architecture demonstrates that WordPress themes can maintain high performance and clean architecture without compromising on modern development practices or user experience.