OP is hooks the git push
command. If you don't have CI/CD running, git push
will fail.
This trick is set up when you run php assets/git/init.php
.
Please do not worry. If you have configured your own git hooks, the hook-the-hooks won't get in the way.
The first is OP()
function.
OP()
makes it easy to access the same functionality in any namespace.
For details, please refer to the following URL: develop:/reference/core/OP
The second is "CI/CD". The onepiece-framework includes its own "CI/CD". "CI" is automatically inspect all your code. Inspected code only will be delivery via "CD". And they work with GitHub Action.
The third is "The develop module".
Integrated everything. There are selftest
, admin
, testcase
and reference
.
git clone https://github.com/onepiece-framework/op-skeleton-2024.git 2024
cd 2024
php asset/git/init.php
php -S localhost:8000 app.php
http://localhost:8000
You using CI/CD is very easy.
Just type: ./cicd
If you need more information, please refer to the following URL: develop:/reference/core/CICD
MVC is not wrong. Until now, the implementation method was wrong. The "NEW WORLD" solved it in a very simple way.
Unit
index.php
files.You won't get lost.
"HTML pass through" is directly output HTML. Until now, Old style MVC is required an empty controller. The onepiece-framework's NEW WORLD is does not need a controller. Of course it will be doing layout.
Only UTF-8 is supported.
Our do not support a Microsoft Windows products. Because to keep clean source code. But, Windows Subsystem for Linux should work probably.
_OP_APP_BRANCH_
title