2. About me
原田 康生 Yasuo Harada
大阪のこっそりPHPer
Sly PHPer in Osaka
Blog 「忍び歩く男 - SLYWALKER」
http://d.hatena.ne.jp/slywalker/
Twitter, Wassr, Hatena, GitHub ID
slywalker
4. 第4回CakePHP勉強会にて
「プラグイン3段活用」
LTで発表しました
I made a presentation about Plugin
at 4th CakePHP Workshop.
http://d.hatena.ne.jp/slywalker/20090523/1243059244
6. 1. 整 理 整 頓 smarten up
機能ごとにプラグイン化する
Create a Plugin for each feature
2. 道 具 箱 tool box
汎用的なプラグインをアプリケーションで共有
To share a generic plug-in application
3. プラグイン Plugin
開発しながら修復。完成度を高めていく
Repair and development.
Gradually increase the degree of completion
19. $ cd /your_plugins_path/account_manager
$ cake i18n
Welcome to CakePHP v1.2.4.8284 Console
---------------------------------------------------------------
App : account_manager
Path: /your_plugins_path/account_manager
---------------------------------------------------------------
I18n Shell
---------------------------------------------------------------
[E]xtract POT file from sources
[I]nitialize i18n database table
[H]elp
[Q]uit
What would you like to do? (E/I/H/Q)
>e
20. What is the full path you would like to extract?
Example: /your_plugins_path/myapp
[Q]uit
[/your_plugins_path/account_manager] > (enter)
What is the full path you would like to output?
Example: /your_plugins_path/account_manager/locale
[Q]uit
[/your_plugins_path/account_manager/locale] > (enter)
Extracting...
---------------------------------------------------------------
Path: /your_plugins_path/account_manager
Output Directory: /your_plugins_path/account_manager/locale/
---------------------------------------------------------------
Would you like to merge all translations into one file? (y/n)
[y] > (enter)
What should we name this file?
[default] > account_manager