The document summarizes a presentation about CodeIgniter 4 given by Takako Miyakawa. It outlines the three phases of CodeIgniter 4 development, with Phase 1 completed, Phase 2 currently in progress, and Phase 3 not yet started. It provides code examples from CodeIgniter 4 tutorials that demonstrate differences from previous versions, such as using namespaces and updating routing. The presentation emphasizes that CodeIgniter 4 aims to maintain the framework's simplicity while modernizing features for PHP today.
The document summarizes a presentation about CodeIgniter 4 given by Takako Miyakawa. It outlines the three phases of CodeIgniter 4 development, with Phase 1 completed, Phase 2 currently in progress, and Phase 3 not yet started. It provides code examples from CodeIgniter 4 tutorials that demonstrate differences from previous versions, such as using namespaces and updating routing. The presentation emphasizes that CodeIgniter 4 aims to maintain the framework's simplicity while modernizing features for PHP today.
CodeIgniter4 version 4.0-Pre-Alpha1 has been released. The roadmap has CodeIgniter4 completion in three phases, with phase 1 completed in June 2016 and phase 2 targeting completion by December 2016. Phase 3 expansion is planned for completion by April 2017. The repositories for versions 1-3 are separate from the CodeIgniter4 GitHub repository. CodeIgniter4 will maintain the speed, simplicity, and feel that has made CodeIgniter popular while adding features like namespaces and PSR-4 autoloading compatible with PHP7. However, it is still too early for production use.
13. Vie w s PH P
PHP
mode l PHP
PH P
CodeIgniter
P HP
he lper PHP
PH P
P HP
HMVC化された状態
application PH P
P HP
C ont r oller s PH P
Vie w s PH P
PH P
PHP
application PHP
PHP
Controllers PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
Views PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
modules
Vie w s PH P
PH P
PHP
PHP
model PHP
PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
helper PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
36. Vie w s PH P
Aさんの場合
PHP
作業 mode l PHP
PH P
P HP
Aさん作業用モジュール
の中でmodel_user.phpを作成
he lper PHP
PH P
P HP
完成したら上の階層へ設置
application PH P
P HP
C ont r oller s PH P
Vie w s PH P
PH P
PHP
application PHP
PHP
Controllers PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
Views PHP
PHP
完成したら
PHP
上階層に設置 application
C ont r oller s
PH P
P HP
PH P
modules
Vie w s PH P
PH P
PHP
PHP
model PHP
PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
helper PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
37. Vie w s PH P
PHP
Bさんの場合 mode l PHP
PH P
P HP
リスト表示をさせる機能を実装する
he lper PHP
PH P
P HP
モジュールに、model_user.php
のモックを設置。
モックからデータを受け取り、
application PH P
P HP
C ont r oller s PH P
Controllerファイルと
ここで作業 Vie w s PH P
PH P
PHP
viewファイルを作成
PHP
application
Controllers
PHP
PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
Views PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
modules
Vie w s PH P
PH P
PHP
PHP
Aさん未完成
model PHP
PHP mode l PHP
なので、まだ
PH P
P HP
ファイルはない。
he lper PHP
PH P
P HP
helper PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
38. Vie w s PH P
PHP
Cさんの場合 mode l PHP
PH P
P HP
詳細情報を表示する機能を実装する
he lper PHP
PH P
P HP
モジュールに、model_user.php
のモックを設置。
モックからデータを受け取り、
application PH P
P HP
C ont r oller s PH P
Controllerファイルと
Vie w s PH P
PH P
PHP
viewファイルを作成
PHP
application
Controllers
PHP
PHP mode l PHP
PH P
P HP
he lper PHP
PH P
P HP
Views PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
modules
ここで作業 Vie w s PH P
PH P
PHP
PHP
Aさん未完成
model PHP
PHP mode l PHP
なので、まだ
PH P
P HP
ファイルはない。
he lper PHP
PH P
P HP
helper PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
39. Vie w s PH P
PHP
BさんとCさん モックを
mode l PHP
PH P
P HP
削除
モックの状態の
he lper PHP
PH P
P HP
モジュール内の
models/model_users.phpを削除。
application
C ont r oller s
PH P
P HP
PH P
上階層のmodels/model_users.php
Vie w s PH P
を読み込み動作させる。
PH P
PHP
application PHP
PHP
Controllers PHP モックを
mode l PHP
PH P
削除
P HP
he lper PHP
PH P
P HP
Views PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P
modules
Vie w s PH P
PH P
PHP
PHP
Aさん完成
models PHP
PHP mode l PHP
ファイルを設置。
PH P
P HP
he lper PHP
PH P
P HP
helper PHP
PHP
PHP
application PH P
P HP
C ont r oller s PH P