21
Ethna の PSR-0 のの のの のの Yuki Matsukura @matsubokkuri

Ethna PSR-0 support and Composer support

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Ethna PSR-0 support and Composer support

Ethnaの PSR-0対応

松倉 友樹Yuki Matsukura@matsubokkuri

Page 2: Ethna PSR-0 support and Composer support

PSRとは?

•Proposing a Standards Recommendation

•PSR-0• オートロードのための命名規則

•PSR-1• 共有コードの高レベルな連携性を目的にした

規約•PSR-2• 標準化されたコードを目指すスタイルガイド

Page 3: Ethna PSR-0 support and Composer support

Ethna 2.1.2を PSR-0対応しました。

Page 4: Ethna PSR-0 support and Composer support
Page 5: Ethna PSR-0 support and Composer support

% ab -n 1000 -c 10

273 [#/sec]

2.1.2

Page 6: Ethna PSR-0 support and Composer support

% ab -n 1000 -c 10

356 [#/sec]130.4 % fater than Ethna 2.1.2

2.1.2-autoload

Page 7: Ethna PSR-0 support and Composer support
Page 8: Ethna PSR-0 support and Composer support

% ab -n 1000 -c 10

133 [#/sec]51.83 % slower than Ethna 2.1.2

2.6.0beta3

Page 9: Ethna PSR-0 support and Composer support
Page 10: Ethna PSR-0 support and Composer support

Ethna 2.6.0b3の autoload対応は。。。

Page 11: Ethna PSR-0 support and Composer support

6時間ほどかけた結果・・・・

Page 12: Ethna PSR-0 support and Composer support

フロントは表示された!

Page 13: Ethna PSR-0 support and Composer support

unit testが動くようになった!

Page 14: Ethna PSR-0 support and Composer support

Ethna All testsEEEEEEEEEEEEEEEEE...............E.EEEEEEEEEE.EEEEEEEEE.EEEEE.EEEEEEEEEEEEEEEEEEE...E...EEEE.E.EEE.E.......EEEEEEEEEEEEEEEEEEEEE...........EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Page 15: Ethna PSR-0 support and Composer support

(´ ・ω ・` )

Page 16: Ethna PSR-0 support and Composer support

2.1.2でComposer対応をしました。

Page 17: Ethna PSR-0 support and Composer support
Page 18: Ethna PSR-0 support and Composer support

使い方

Page 19: Ethna PSR-0 support and Composer support
Page 20: Ethna PSR-0 support and Composer support

% curl -s \https://getcomposer.org/installer | php

% php composer.phar install

Page 21: Ethna PSR-0 support and Composer support

https://github.com/matsubo/ethna/tree/2.1.2-autoload