(Forgive me if this is not clear; I'm not quite sure what I'm asking.)
Why does the Kohana ORM module use a factory method to create instances of ORM classes, given that one must always pass factory() the name of the class that one wants to get back?
My understanding of the factory pattern is that it is used when the client code doesn't know beforehand the (concrete) type of the object that will result.
The Kohana guide does say that the following are both acceptable:
$user = ORM::factory('User');
// Or
$user = new Model_User();
But why use the first over the second?