[eluser]Hitesh Chavda[/eluser]
I have a question
If I am not wrong, Every time Someone request a page Codeigniter(almost every framwork) invoke its code and open bunch of class files, php parse it and display output, right?
suppose someone request following file named
welcome.php. framwork loads all class file and display output.
Code:
echo "ONLY ONE LINE";
But everytime all the class file are loaded into memory than parser parse it. If this is right, this is not DRY principal.
Can we not do like load all the class one time in memory and when other files request some function then php load it from memory.
May be I look like fool But this is just my thought. Do you really understand what I want to say?