onepiece-framework.com

Welcome to onepiece-framework.com

The onepice-framework app skeleton 2024 ===
php7.4 higher php8 php8.1 php8.2 php8.3 php8.4
# The "ONEPIECE-FRAMEWORK" is insanely great!! The following are the feature of "ONEPIECE-FRAMEWORK". * All operations are "intuitive". * Adding functionality is done using "git submodule". * There is only "one" version. The following are the function of "ONEPIECE-FRAMEWORK". * "NEW WORLD" intuitively combines URLs with hierarchical file systems. * "CI/CD" is included and works seamlessly with ONEPIECE. * "OP" function consolidates all the calls. ## 2026 * `asset/bootstrap` and `asset/git` is change to "git submodule". ## 2025 are can everything want to do!! ## 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 asset/init/submodules.php`. Please do not worry. If you have configured your own git hooks, the hook-the-hooks won't get in the way. ### The PICK The PICK is easy to the pick of commit. ## 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-2026.git 2026` 2. Change directory: `cd 2026` 3. Do following command: `php asset/init/submodules.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 * Intuitive file structure * HTML pass through ## True MVC was completed MVC is not wrong. Until now, the implementation method was wrong. The "NEW WORLD" solved it in a very simple way. * Model is each `Unit` * View is each directory located files. * Controller is each directory located `index.php` files. ## Intuitive file structure You won't get lost. Old framework are as follows: * You can't even learn where the controller is. * Model inheritance would spaghetti. * Templates cannot be managed. * You can not switch between multiple layouts. * There is no layout function in the first place. ## 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 ## About English Our do not care about the strictness of English. ## 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 * git:/README.md * asset:/config/op.php > `_OP_APP_BRANCH_`