You can figure most of this out by simply reading the documentation and/or just experimenting and seeing what works and what does not work.
In short, in PSR-0 filenames must be exactly the same as the class name. So, if you call a class named Penguins_CanNot_Fly
then the filename should be exactly Penguins/CanNot/Fly.php
.
On Linux filenames are case sensitive. So, File.txt
and file.txt
are two different files. On Windows, however, the two files are considered to be the same file (this is because windows is case insensitive). This means that PSR-0 does not work properly on Windows, unless you modify the autoloader to check the exact file path.
As for the ORM, yes you need to keep in mind that models should be case sensitive. ORM::factory('Blog')
and ORM::factory('blog')
will load different models, but the same table will be used.