Hi, Rocky
of course, Openbizx following the Openbizx concepts with some enhancement
I. Libraries Management
1. Openbiz as framework split from Cubi again.
last Openbiz Cubi, Openbiz dependent Cubi, Cubi dependent Openbiz,
So, Openbiz and Cubi is solid. On Openbizx, they were split again.
2. Some functionality of Openbizx is only library, so can use by other application separately.
3. Openbizx/Openbiz can installed using composer
4. Some core libraries of Cubi move to Openbiz, for example module management
5. Maybe core of cubi sparate from application, and installed use composer too
6. application can store on out of public web.
II. Action
1. there are 2 type : Webpage and Web function
2. web function can as form method or API (or form method can access via web API)
3. web API also can represents database, that can use by JS UI like React.js
4. bydefault, user request handled by View/Webpage directly
5. URL with sprcial path prefix can delegate to web function or webpage, for example
domain.com/ajax.php/function can replaced by
domain.com/ajax/functiom can replace
III. UI Layer
1. Use adapter to use template engine, not hard code
2. Use Webpage to replace View word. And View is become global term for all elements on presentation layer.
3. Simple concept on webpage : webpage contain widget/worm. Widget/from grouped by section (adapted from CMS concept).
Webpage - Section - Widget, each have template, for example tamplate for TAB is not on Webpage but on section
4. Maybe use asset manager adapted from Yii and Assetic, so widget/form have asset that bundled. With asset manager so :
- application can store on out of public web with asset still bundling with application
- each UI libraries can store on vendor directory, and their asset automatically move to public web
5. Use Smary 3 to replace Smarty 2
6. Use pagination object (paginator) sparately from grid/table view, active row information is store on paginator not on ORM.
IV. DB Layer
1. DB not handle format of data, value returned by record / field is raw data.
2. record not handle active row, DB only handle db request, active row is convert to db request with offset info.
V. Formating Data
-. Formating data is presentation domain, and use global configuration
The new feature not must impement in first phase, but step by step phase by phase
my near target is : Smarty, Composer and config adapter (can use PHP array to replace XML)
You are welcome
your advice and idea really needed
Best regards
Agus Suhartono