TomoakiNagahara / op-skeleton-2024

Apache License 2.0
1 stars 0 forks source link

The onepice-framework app skeleton 2024

php7.4 higher php8 php8.1 php8.2 php8.3

The "onepiece-framework" is insanely great!!

2024 is not yet THE PEAK!!

The hook-the-hooks

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.

2022 had a big change!!

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.

Download & Start up

  1. Download: git clone https://github.com/onepiece-framework/op-skeleton-2024.git 2024
  2. Change directory: cd 2024
  3. Do following command: php asset/git/init.php
  4. Start up at PHP Built-in WebServer: php -S localhost:8000 app.php
  5. Access via the browser: http://localhost:8000

CI/CD

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

The "NEW WORLD" is a new world!!

True MVC Completed

MVC is not wrong. Until now, the implementation method was wrong. The "NEW WORLD" solved it in a very simple way.

Intuitive file structure

You won't get lost.

What does "HTML pass through" mean?

"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.

Apology

UTF-8 only

Only UTF-8 is supported.

Microsoft Windows products is not support

Our do not support a Microsoft Windows products. Because to keep clean source code. But, Windows Subsystem for Linux should work probably.

2022 to 2024