YModules
Y Modules is a new paradigm for web platform development, founded on three fundamental principles
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/alexy-os/ymodules/archive/refs/heads/main.zipThe "Three Whales" Concept
Y Modules is a new paradigm for web platform development, founded on three fundamental principles:
- Not a single line of superfluous code — elimination of redundant plugins, libraries, and code
- Not a single unnecessary request — optimisation of all interactions with databases, servers, APIs, and browsers
- Maximum achievable speed — attaining perfect 100/100/100/100 PageSpeed scores and lightning-fast UI response
In a world where most CMSs and frameworks accumulate excessive code and suboptimal solutions, Y Modules offers a radically different approach: returning to the essence of web technologies through strict modularity, minimalism, and high performance.
Why "Y"?
The letter "Y" symbolises:
- Y-shaped branching of solutions — like in the mathematical Y combinator, our approach enables the creation of recursive, self-optimising systems
- "Why?" — continuous critical reassessment of the necessity of each component
- "Yes" — positive outcomes for both developers and users
- Way — a new direction in web development
Similar to the renowned Y Combinator that transformed the startup paradigm, Y Modules aims to revolutionise the approach to web development, making it more rational, performant, and scalable.
Current Focus: WordPress
We begin with the most widespread, yet most criticised CMS in the world — WordPress. Many consider it outdated, insecure, and slow. We intend to prove otherwise.
Modules versus Plugins
Instead of hundreds of plugins — one plugin with modules:
WordPress
├── WooCommerce (if needed)
└── Y Modules
├── Classic Editor Module
├── Cyr to Lat Module
├── SEO Module
└── ...other modules as required
Advantages of the modular approach:
- Strict typing — all components utilise strict typing to prevent errors
- Adherence to principles — SOLID, PSR, DRY, KISS, and other best practices
- Runtime isolation — modules are maximally separated from WordPress core runtime
- Absence of frontend dependencies — ideal: static frontend from cache without unnecessary requests
- Standardisation and validation — automatic verification of all modules for compliance with standards
Technical Stack
Current technologies:
- PHP (OOP) — foundation for WordPress modules with an emphasis on OOP and strict typing
- TypeScript — typed client-side development
- WebAssembly + Go — for high-performance components
Planned technologies:
- Rust — for performance-critical modules
- Zig — experimental high-performance components
- Python — for modules related to ML and data analysis
Promising WebAssembly Applications in WordPress
- Pre-compilation of templates to WebAssembly — rendering acceleration through compilation
- Client-side rendering without server requests — reducing backend load
- Real-time media optimisation — processing images and videos on the client
- Intelligent content preloading — anticipatory loading based on interaction patterns
- Isolated UI components — interface blocks independent of WordPress
- Incremental interface loading — only what the user needs at the moment
- Balancing between dynamic and static content — intelligent caching
- Cache invalidation based on data changes — precise updating of only changed elements
- Prioritisation of visible content — optimisation for "above the fold" content
- Offloading heavy calculations to the client — freeing server resources
- Client-side state management system — Go + WASM for efficient data management
- Updating only changed parts of the DOM — virtual DOM on WASM
Platform Development
- WordPress — starting point where the need for optimisation is most critical
- Custom solutions — planned support for Slim, Flight, and proprietary developments
- Integration with popular platforms — Symfony, Laravel, Bitrix, ModX, Magento, and others
For Developers
What you need to know now:
- WordPress API
- OOP PHP with an emphasis on strict typing
- Modern JavaScript/TypeScript
- WebAssembly fundamentals
- Go for high-performance components
How to contribute:
- Study the project documentation and standards
- Select a module for development or improvement
- Follow the "Three Whales" principles during development
- Pass automatic validation before submitting a PR
Project Future
Our goal is to create an open ecosystem of modules that will change perceptions about the capabilities of WordPress and other CMSs. After accumulating a critical mass of real-world cases, we plan to expand the community of module developers and curators.
With Y Modules, you can create websites that:
- Load instantly (PageSpeed 100/100/100/100)
- Operate securely and stably
- Do not require endless plugin updates
- Scale and modify effortlessly
Y Modules is not merely optimisation; it's a new philosophy of web development.