LoginSignup
7
7

More than 5 years have passed since last update.

Zend Framework 2 のコーディングスタンダード

Posted at

PHP Framework Interop Group(php-fig)のPSR-0,1,2に準拠
http://www.php-fig.org/
(リードデペロッパーのweierophinneyがphp-figのメンバーでもあるため)

Zend Framework2自体のコーディングスタンダードは
http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards

ZF1との違いで大きいのは、protectedメンバーはunderscoreプリフィクス($_foo)ではなくなっています。

※ ZF1で見られた誤解ですが、これはフレームワーク内のみで使用する規約であり、コードを呼び出す側がこれらの規約を守る必要はまったくありません。

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7