Hey,
I've read in a tutorial for codeigniter developers, that unlike CI. Everything in FuelPHP is a class. So if I'd want a random class (which would be a library in CI) and I want it to be accessible throughout my entire app, where should i put those?
My first thought was in de app/classes/.. folder, but I'm not sure..
You can write something like this using namespace (using Some_Random_Class as example)
namespace Some\Random;
Class Class {}
Class folder is app\classes\some\random
Yes, both underscores and namespaces will be converted to dir separators. Thus Some_Random_Class and Some\Random\Class are expected at the same path. Thus it's wise to be very carefull when deciding which to use to prevent ambiguity in your own code.