第42php勉強会ethna 発表資料
DESCRIPTION
Ethnaについて@フレームワーク特集TRANSCRIPT
presented by sotarok with nequal.
Ethna第42回PHP勉強会
id:sotaroktwitter.com/sotarok
presented by sotarok with nequal.
※ここまででお疲れだと思いますのでゆるくいきます気軽に聞いてください
※コードはでてきません
presented by sotarok with nequal.
という感じで超ゆるくいこうと思ってたんです
presented by sotarok with nequal.
が
presented by sotarok with nequal.
presented by sotarok with nequal.
(((;゜Д゜))
presented by sotarok with nequal.
ってぇことで少しまじめにしゃべります
presented by sotarok with nequal.
が
presented by sotarok with nequal.
さっきだいたいしゃべられたBoBppめえ…
presented by sotarok with nequal.
気を取り直してがんばります
※それでもコードはでてきません
presented by sotarok with nequal.
•自己紹介自己紹介自己紹介自己紹介
•Ethnaのののの紹介紹介紹介紹介
•今後今後今後今後
•開発体制開発体制開発体制開発体制
presented by sotarok with nequal.
自⼰紹介
presented by sotarok with nequal.
sotarok
presented by sotarok with nequal.
そうたろう
presented by sotarok with nequal.
d:id:sotaroktwitter
presented by sotarok with nequal.
好きなもの
presented by sotarok with nequal.
presented by sotarok with nequal.
presented by sotarok with nequal.
presented by sotarok with nequal.
presented by sotarok with nequal.
本題
presented by sotarok with nequal.
presented by sotarok with nequal.
知ってる⼈?
presented by sotarok with nequal.
Rails
からある
presented by sotarok with nequal.
多くの企業・サイト
で使われて
presented by sotarok with nequal.
いる…いた?
presented by sotarok with nequal.
⼀番の利用実績某SNS
⽉間100億PV突破!
presented by sotarok with nequal.
presented by sotarok with nequal.
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5
最初のリリース0.1.0
presented by sotarok with nequal.
0.1.0 …?不安定っぽくね …?
ヒソヒソ
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5
約1年後0.2.0
presented by sotarok with nequal.
1年たって 0.2.0 …?
不安定なの … ?
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5突然の 2.1.0
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5順調にバージョンアップ
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5
やや失速(半年ぶり)
presented by sotarok with nequal.
• 2004/12 0.1.0• 2006/1 0.2.0• 2006/6 2.1.0• ~2007/1 2.3.1• 2007/7 2.3.2• 2008/5 2.3.5
空⽩の10ヶ⽉
presented by sotarok with nequal.
利用状況
presented by sotarok with nequal.
ダウンロード数
presented by sotarok with nequal.ただし,PEAR経由でのインストールは含まず by sourceforge.jp
ピーク
presented by sotarok with nequal.
presented by sotarok with nequal.
Cak●PHPとかsymf●nyとか
presented by sotarok with nequal.
世界でも⽇本でも
presented by sotarok with nequal.
右肩下がり
presented by sotarok with nequal.
どげんか(r
presented by sotarok with nequal.
presented by sotarok with nequal.
presented by sotarok with nequal.
• 2008/5 2.3.5• 2008/7 2.5.0 preview 1• 2008/10 2.5.0 preview 2• 2009/1 2.5.0 preview 3• 2009/2 2.3.6内部コードのUTF-8化
その他細かい修正Locale
presented by sotarok with nequal.
• 2008/5 2.3.5• 2008/7 2.5.0 preview 1• 2008/10 2.5.0 preview 2• 2009/1 2.5.0 preview 3• 2009/2 2.3.6
さらに開発は続く
presented by sotarok with nequal.
• 2008/5 2.3.5• 2008/7 2.5.0 preview 1• 2008/10 2.5.0 preview 2• 2009/1 2.5.0 preview 3• 2009/2 2.3.6さらにさらに
開発は続く
presented by sotarok with nequal.
• 2008/5 2.3.5• 2008/7 2.5.0 preview 1• 2008/10 2.5.0 preview 2• 2009/1 2.5.0 preview 3• 2009/2 2.3.6
2.5系からのバックポート
presented by sotarok with nequal.
基本的な特徴
presented by sotarok with nequal.
presented by sotarok with nequal.
MVCっていうけど実際どうなの
presented by sotarok with nequal.
Controller
Model View
presented by sotarok with nequal.
Controller
AppObject/AppManager template (Smarty)
Action View
presented by sotarok with nequal.
Controller
AppObject/AppManagerADOdbとかのDBクラス template (Smarty)
performprepare preforward
presented by sotarok with nequal.
Controller
AppObject/AppManagerADOdbとかのDBクラス template (Smarty)
performprepare preforward処
理
の
流
れ
presented by sotarok with nequal.
どういうことか
presented by sotarok with nequal.
Prepare(ロジック実⾏準備)Perform(ロジック本体)Preforward(出⼒準備)
presented by sotarok with nequal.
ActionForm
presented by sotarok with nequal.
たとえば掲⽰板の返信画⾯を考える
presented by sotarok with nequal.
⼊⼒画⾯を出しつつ
返信元を表⽰
presented by sotarok with nequal.
⼊⼒画⾯を出しつつ
返信元を表⽰
エラーを出しつつ
presented by sotarok with nequal.
postprepare
perform
perforward
post_doprepare
perform
perforward
ビジネスロジック
プレゼンテーションロジック
presented by sotarok with nequal.
postprepare
perform
perforward
post_doprepare
perform
perforward
返信元メッセージを取得してくるロジック
バリデーション
DBへの書き込み処理
presented by sotarok with nequal.
postprepare
perform
perforward
post_doprepare
perform
perforward
返信元メッセージを取得してくるロジック
バリデーション
エラー
presented by sotarok with nequal.
というのが基本的なEthna
流れ
presented by sotarok with nequal.
処理・データの流れが⾒やすい
presented by sotarok with nequal.
つかいやすそうですね!!
presented by sotarok with nequal.
ではその非常に
使いやすそうなEthna
presented by sotarok with nequal.
Ethnaの強いところ
presented by sotarok with nequal.
柔軟性
presented by sotarok with nequal.
ActionForm
presented by sotarok with nequal.
速い
presented by sotarok with nequal.
Ethnaの弱いところ
presented by sotarok with nequal.
基本的な機能不⾜
presented by sotarok with nequal.
低い再利用性
presented by sotarok with nequal.
ORMつかえねー
presented by sotarok with nequal.
presented by sotarok with nequal.
2.5.0 preview 4
presented by sotarok with nequal.
プラグイン
presented by sotarok with nequal.
presented by sotarok with nequal.
Ethna付属コミュニティ提供資産を共有したい
presented by sotarok with nequal.
(宣伝)Openpearhttp://openpear.org/
presented by sotarok with nequal.
ビュー
presented by sotarok with nequal.
汎用ビュー
presented by sotarok with nequal.
リダイレクトエラー(404とか)
RSS
presented by sotarok with nequal.
presented by sotarok with nequal.
DBまわりなんとかしてから
presented by sotarok with nequal.
AppObject?外部のORM?
presented by sotarok with nequal.
その後
presented by sotarok with nequal.
DBに関連するバンドル機能
presented by sotarok with nequal.
ActionForm最強化
presented by sotarok with nequal.
あとドキュメント
presented by sotarok with nequal.
PHP 5.3とかどうすんだ…
presented by sotarok with nequal.
などなど
presented by sotarok with nequal.
presented by sotarok with nequal.
アクティブなコミッタ
presented by sotarok with nequal.
presented by sotarok with nequal.
sotarokmumumumaru_ccichii386
presented by sotarok with nequal.
IRCで議論
presented by sotarok with nequal.
Ethnaでアプリ開発しながら本体をいじる
presented by sotarok with nequal.
Ethnaの活発な開発を続けるために
presented by sotarok with nequal.
sf.jpのチケット使うようになった
presented by sotarok with nequal.
チケットがメールで通知されるようになった
presented by sotarok with nequal.
コミット・チケットの変更などがIRCに通知されるようになった
presented by sotarok with nequal.
mumumuさん以外も頻繁にコミットするようになった
presented by sotarok with nequal.
「これコミットしてもいい…?」
presented by sotarok with nequal.
とりあえずコミット!
presented by sotarok with nequal.
アイデアブランチはじめました
presented by sotarok with nequal.
思考→コード
presented by sotarok with nequal.
git移⾏中
presented by sotarok with nequal.
活発になってきてますよの図
presented by sotarok with nequal.
強みを⽣かしてさらに使いやすく
presented by sotarok with nequal.
いろいろやります
presented by sotarok with nequal.
2.5
presented by sotarok with nequal.
Ethnaを使いたいという⽅
presented by sotarok with nequal.
ブログを書く↓
コミッターが⾶んでいく
presented by sotarok with nequal.
Twitterでつぶやく↓
コミッターが⾶んでいく
(Followしてね!)
presented by sotarok with nequal.
IRCでつぶやく↓
コミッターがやさしくサポート(ircnet の %Ethna)
presented by sotarok with nequal.
開発陣が⽇本⼈ってのも利点の1つ
presented by sotarok with nequal.
ぜひぜひEthnaに清き⼀票を
presented by sotarok with nequal.
presented by sotarok with nequal.
!