First of all, you don't HAVE to add the session class to "always_load" config. It's an option which seemed to suit what you where asking, but this seems to have confused just the hell out of you. Resulting in you completely not understanding how Fuel works.At first i am use Fuel and setting Fuel to working with Session.. I am use Session db.. and following Docs step by step for sure.. after setup session db and create session table on my DB.. let me try to test if session are working on my webapp.. Yes, session doesn't working as well.. what i doing some thing wrong with session? I do follow all docs wrote.. It's better way to use IRC #fuelphp yes they can help me as well that i must setting 'Session' class loading by manual.. Ohh.. god! Docs doesn't tell me to do this.. OK no problem try again.. No session on my session table.. what wrong? I can check that i am setting DB user already as correct info.. then i am checking config.php then see more missing.. package: orm not loading.. ok loading 'orm' then try to refresh again.. ok now session are working as well...
This is complete and utter nonsense. Everything in the core and in your app is always autoloadable (the Session class as well as I stated earlier). Fuel doesn't autoload packages, which is by design and makes for an incredible modular system without unnecessary overhead. If you want a package like "Orm" available, all you need to do is add "orm" to always_load config. Something that should take less than 20 seconds. A system like this keeps the namespace clean of any unneccessary classnames and prevents trouble when you want something with a "Orm" namespace (in the case of the Orm package) or a class named "Auth" (with the Auth package). And this is in part about performance because it would require a lot of extra filesystem checks to detect packages and load their bootstrap files. Which would be nonsense for a lot of users, and take all but 20 seconds for anyone who want to use a package to add it in config.Why FuelPHP use a system completely like CodeIgniter? you need to do manual setting package, Class, module and all what you want to work on Fuel.. all like CodeIgniter i can see..
Why FuelPHP are not use autoloader class and package? I was discuss with some guys in IRC #fuelphp about Autoloader class on fuel.. They all way said autoloader class are using more memory loading.. Did you test it yet? or just thinking that will be
I'm sorry, there's no nice way to say this: all of this is nonsense.with FuelPHP
1. session will working when you config 'classes' => array('Session') but not work with session db.. until you load package 'packages' => array( 'orm')
2. if you want to use another class or files you also need to do manual setting them.. also Language files..
Point 1 you can configure. I have no clue what you mean with point 2, but it sounds like another case of nonsense.with Yii, Zend Framework, Symfony2 and my framework without MVC
1. session are working and load automatic just setting db and session store.. file or DB?
2. all file like language file or all class are loading automatic.. just use at all..
If you want everything to be loaded in all the time: go look somewhere else. We don't do stupid stuff, neither does Yii, Zend or Symfony in this case. Fuel doesn't require you to load classes manually, everything is autoloadable. You do have to manually load lang/config files you add yourself, if a core class needs them they are loaded by the class. No clue what more any sane person would want.What about Page rendered in????s using ???mb of memory. ?
I was try to use my own framework without MVC and all class and all language file are auto loading and i got .. Page rendered in 0.003s - 0.03s
Autoloader class make webapp slow? Not really.. I don't see any different from page load.. but ever easy to use because every class or language files are auto loader.. don't need to setting manual to loading class or files.. and Yii, Zend Framework, Symfony2 also working like this way in autoloader class and files.. page are not slow loading.
Classes ARE autoloadable. Any core lang/config files are loaded by the classes requireing them. You own stuff you have to either add to always_load in config or have it loaded by the class requireing it. Anything else, especially always loading everything is completely and utterly insane.I just wanna know how to loading all class and all language files in simple way and easy way.. and well done .. because i don't like to do manual loading all class or language files each time... better that i can loading all class and all files .. just calling and use them .. easy way and don't worry if i am forget they name of file.. their already know by default..
As I've stated a thousand times by now: autoloading classes works without problems. Files you don't have to tell where they are, just put them in the right location and load them when you need them. Anything else is stupid. Look, I honestly think there's a language barier here. You just don't understand fully how Fuel works and you are making the wrong assumptions. Try to forget what you're assuming right now and try to grasp what I point out here and read the docs again, especially all the pages under "General".You not care about memory loading?
Autoloader class or files are not loading all file when you load page.. autoloader just let framework know where is a files or class.. and will load their class or files whenever you calling or using class or files.. then all the same concept with Fuel just load a class or files on demand but in different ways.. more easy and faster..
It looks like you're new here. If you want to get involved, click one of these buttons!