NYCPHP Meetup

NYPHP.org

[nycphp-talk] Foo_Shape_Circle class naming convention from where?

Michael B Allen ioplex at gmail.com
Tue Sep 2 20:29:07 EDT 2008


I'm just curious but does anyone know what the origin of the class
underscore per-directory naming convention used by some frameworks is?

Meaning, a class with a name like:

  Zend_Auth_Adapter_Ldap

would have a script file path that ends with:

  /Zend/Auth/Adapter/Ldap.php

Also, do people sense a trend in the PHP community to follow this convention?

If you were to encounter a library that used this convention, would it
be considered a positive quality?

Mike



More information about the talk mailing list