This is for Github flabored Markdown format.
- list without numbers.
- and the items follow.
| <?php | |
| /** | |
| * compare performance of underscore.php, arry.php, and _ww.php. | |
| */ | |
| require_once __DIR__ . '/../Underscore.php/underscore.php'; | |
| require_once __DIR__ . '/../arry/Arry.php'; | |
| require_once __DIR__ . '/../_ww/_ww.php'; | |
| /** |
| <?php | |
| /** | |
| * SPL Class Loader for NameSpace classes using closure. | |
| * ex: spl_autoload_register( ClassLoader() ); | |
| * copied from https://gist.github.com/221634 | |
| * @param $path | |
| * @param array $option | |
| * @return closure | |
| */ |
| <?php | |
| /* | |
| Example of simple automatic dependency injection using only interface. | |
| this code is equivalent to: | |
| $service = new \MyService\Service; | |
| $invoice = new \Application\Invoice; |
| <?php | |
| namespace wsModule\Alt\Web; | |
| /** | |
| * Interaction for web input and output, such as forms. | |
| * This is a DCI inspired module. things works as coded but still quite experimental. | |
| * | |
| * TODO: remove $this->view property. Interaction should not know about view... | |
| */ | |
| class Interaction |
自作Diコンテナに「名前空間」を実装してみた。 欲しいと思った理由をまとめてみました。
WScore/DiContainer : https://github.com/asaokamei/WScore.DiContainer
自動設定の問題点