From: Steven L. <st...@tu...> - 2003-10-17 15:43:34
|
Ok I think I understand where your confusion is coming from. Let me see if I can explain. Making the runtime stuff is only a slight speed increase, Matt was correct, it is mainly to start getting ready for 0.9.4. The main performance increase comes from splitting up the core classes and only including the module that is currently being executed. The point of pulling the runtime stuff from index is to begin splitting stuff up. Right now phpwebsite includes all the all of the modules and their index files. With my changes phpwebsite will only include one module's class files along with its index (the current module being requested) and then the runtime files for those modules that have them. I believe this will drastically decrease the files being included. We could just put in all the index files a check for the requested module and then skip execution if it is not your module and then do the runtime stuff at the bottom, but I prefer to split it up. Then we are not including an index or runtime for things that do not need it. (ie. faq, links, photoalbum, phatform, branch, boost, approval, and others). This is not a move away from using sessions, I still use sessions a lot. But in some of my older modules I used them in excess, so I would like to improve upon that. -- Steven Levin Computer Systems Admin I Electronic Student Services Appalachian State University Phone: 828.262.6740 http://phpwebsite.appstate.edu |