[eluser]Phil Sturgeon[/eluser]
[quote author="Starovich" date="1299445535"]Thanks Wan!
Is there any best practices for where I should put my object definition classes using require_once?
I'd rather not use models (although interesting implementation!) as I want to have a clear structure for my software (ie models handle database interactions, period).[/quote]
Libraries work in the exact same way. You can put your files in application/libraries and use:
Code:
require_once APPATH.'libraries/dog.php';
$dog = new Dog();