๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
๐งฑ Custom Code System (Powerful Dual Feature)
๐ Field Type System
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
๐ฆ Packages
๐งฉ Architecture & Core Logic
๐ File & Code Management
๐ง Code Reuse & Blueprints
๐ Joomla CMS Integration
๐จ Visual GUI & UX
๐ Internationalization
๐ฆ Packaging & Distribution
โ๏ธ Compiler Engine Features
๐งฑ Custom Code System
๐ Field Type System
๐ Dynamic GET (Visual SQL Engine)
๐ Snippets, Templates, Layouts, Libraries
๐ Documentation & Metadata
๐ Analytics & Insights
๐งฉ Architecture & Core Logic
- Super Powers
- Joomla Powers
- Compile Native Components, Plugins & Modules
- Multi-Version Support
- Conditional Logic Injection
- Reusable Admin Views
- Dynamic GET Builder
- Round-Trip Code Integration
- Custom Admin Views
- Site Views
- Dynamic Dashboards
- Model Linking Between Views
- Shared Field Reuse Across Views
- Drag & Drop Field Mapping
- Dynamic Field Visibility
- Independent Packaging
๐ Joomla CMS Integration
- Token Integration
- ACL Per View, Field, Item
- Field-Based Joomla Config Generation
- Support For Joomla Categories/Tags/Custom Fields
- CLI-Ready Components
- Joomla Update Server Integration
- Version-Aware Language String Compilation
- Remote Publishing to Custom Repo Update Streams
๐ Field Type System
- Field Types Define Templates And Data Types
- Gui Defined Rules Required Unique Nullable
- Save Get Hooks Per Field
- Database Schema Auto Generated From Field Settings
- Per Display Field Rendering Config List Edit
- Create Dynamic Models With Modals Selectors
- Conditional Js And Css Per Field
๐ Snippets, Templates, Layouts, Libraries
- Snippets Reusable Html Blocks
- Layouts Reusable Php Render Templates
- Templates Page Level Views Linked To Custom Admin Site Views
- Libraries JS CSS Assets Linked To UI
- CDN Local Toggle For Library Delivery
- Media Folder Injection With Override Support
- Repository Push Pull Reset Workflow
- Init Snippets Layouts Templates Via Gui
Joomla Powers
Dynamic Joomla Class Referencing (JPK System)
Joomla Powers is JCBโs intelligent system for referencing Joomla framework and CMS classes using dynamic placeholders, called JPKs (Joomla Power Keys). These keys abstract the actual namespace of a Joomla class โ and JCB will automatically replace them with the correct use statement and fully qualified class path during compilation, based on the Joomla version you're targeting.
This means you can build components for Joomla 3, 4, 5 (and even 6) without manually managing class namespacing.
Why it Matters
Joomla's class namespaces change between versions (e.g. CMS vs Framework namespace shifts). Joomla Powers eliminates the need to write version-dependent code or maintain backward compatibility plugins by abstracting class references with tokens that are resolved automatically.
How It Works
You use a placeholder like this in your code:
{JPK\FormFieldText}
When compiling for Joomla 4, JCB will:
Add the correct use statement:
use Joomla\CMS\Form\Field\TextField;
Replace {JPK\FormFieldText} in your code with:
TextField (or a unique alias like CMSFormFieldTextField if needed)
All this happens automatically based on your selected Joomla version at compile time.
JPKs Can Resolve:
Core Joomla CMS classes
Joomla Framework classes
Custom user-defined aliases
Legacy classes (mapped per version)
Even your own Super Power classes, if properly defined in namespace maps
Features
Auto-resolves JPK tokens to correct class paths and use statements
Prevents duplicate class name collisions (adds โasโ aliases if needed)
Version-aware logic: Joomla 3, 4, 5, and upcoming 6
JCB parses every file and injects correct classes
Fully traceable in compiler logs
Zero need for backward compatibility layers
Sample Use Case
You want to use Joomla's CategoryHelper
class:
Instead of this:
use Joomla\CMS\Helper\CategoryHelper;
You write:
{JPK\HelperCategory}
And JCB will:
โ
Inject the correct use statement
โ
Replace the placeholder inline with the resolved class name
โ
Ensure that same class doesnโt collide with any other already-used alias
Conflict Avoidance
If multiple classes share the same base name, JCB automatically appends part of the namespace to avoid collisions:
use Joomla\CMS\Helper\CategoryHelper as CMSCategoryHelper;
Then replaces
{JPK\HelperCategory} โ CMSCategoryHelper
Version-Specific Compilation
View/edit them via GUI (Joomla Powers panel)
Import/export updated mappings
Update JCB to get the latest mappings when Joomla releases updates
Best Practices
Use JPK tokens wherever Joomla classes are referenced
Keep your logic generic and version-safe
Check compiler logs if a class isn't resolving properly
Real Example
Write:
$field = new {JPK\FormFieldText};
JCB compiles to:
use Joomla\CMS\Form\Field\TextField;
$field = new TextField;
Integration with Super Powers
You can reference Joomla Powers from inside Super Powers (PHP classes), templates, or any custom code area. The compiler handles everything dynamically.
Deployment Notes
All resolved classes are automatically included in compiled code
No runtime processing โ it's all handled at build-time
Compatible with CLI compilation and GitHub workflows
Summary
Joomla Powers (JPK system) is JCBโs elegant, low-maintenance way to future-proof your component code. It ensures native compatibility with evolving Joomla APIs โ and lets you write cleaner, more maintainable extensions.