How abduvik/wp-wix-clone works
Main Components Identification
The system consists of two main plugins working together:
• Wix Host Plugin (Management/Control Panel)
• Wix Client Plugin (Individual tenant instances)
Key Architectural Elements
A. Host Plugin Components:
• API Layer
• SingleLogin
• TenantsAuthKeys
• Core Services
• EncryptionService
• HttpService
• WPCSService (WordPress Core Services)
• WPCSTenant Management
• Features
• Tenant Subscription Management
• UI Components for Settings and Administration
• WooCommerce Integration
B. Client Plugin Components:
• API Layer
• SingleLogin
• Core Services
• DecryptionService
• HttpService
• Features
• Secure Host Connection
• Tenant Settings UI
[Infrastructure Layer]
• Docker Container
• Kubernetes (k8s)
[Platform Layer]
• WordPress Core
• WooCommerce
• WPCS (WordPress Core Services)
[Application Layer]
• Host Plugin
• API Components
• Core Services
• Feature Modules
• Client Plugin
• API Components
• Core Services
• Feature Modules
Key Relationships to Highlight
• Host-Client Communication:
• Encryption/decryption flow between host and client
• Single login mechanism
• Tenant authentication process
• Integration Points:
• WooCommerce checkout flow
• WPCS service connections
• Tenant subscription management
Development Environment
A separate section showing:
• Docker container structure
• File sync mechanism (fswatch/rsync)
• Build process flow
• Abbreviations used
This will create a comprehensive system design that accurately represents the WordPress-based SaaS clone architecture while maintaining clarity and usefulness for technical discussions.