change log FOR LGCF_LOADER class package.
*The old parser methods based on PCRE Regex functions have been abandoned
*The LGCF_LOADER class is now a child of the class ProjectInfoCollector
*And thus use the PHP Code Gleaner classes to parse efficiently the classes and functions contents
*Namespaces are now fully supported
*Classes can now been instantiated with both the classical call_gcl function or simply via the "New" statement
*the words function and class can now be used everywhere in the code and in any case .They won't no more break the code
*Now , no more need to put every classes in a single file or every functions in a single file
*Single files are always allowed but you can now specify both file and directory path to be parsed
*Now the possibility to add new file or directory path to be parsed at any time and from every where have been added
*The same path can be parsed for classes and then for functions .
*When a directory is specified , the possibility to include or to exclude some files based on a Regex expression has been added
*When a directory is specified , the possibility to include some files based on files extension has been added
*When a directory is specified , the possibility to parse recursively or not the sub-directories has been added
*More methods have been added to get the available classes,functions,already parsed paths.
*The classical function "call_gfunc" has been renamed to "call_glfunc" to avoid function conflicts between this package functions
and the PHP Code Gleaner package functions.
*make some changes to reflect the changes in the PHP Code Gleaner and Analyzer tool version 2.0.0
the summary of changes in the mother class is:
fix issues : interfaces ,traits and abstract classes, were changed to simple classes while collecting their content.
*I finish with the super Global $_SESSION usage:
the summary of the change is:
starting from the version 1.0.0 super Global $_SESSION array was the only container which was used
to achieve the main purpose of this class and I was not very proud of that.The class was working perfectly
but the performance i wanted to reach wasn't reached.Indeed use this Super Global as container led to a big
memory performance issue.As PHP use one session's file per user,these files are filled with the same contents
and this increase seriously their size.This certainly lower seriously disk space.Finally and fortunately
i build a new package for the PHP classes which also revealed itself very useful to replace $_SESSION super global.
We call it Persistent PHP Super Globals Array Maker.As its name indicates, its purpose is to allow any one to build super globals
of their chosen name and then be able to access them any where.This package allows to build session type globals
which allows one file per user but also globals which are only relatives to the site itself which use only one file.
The progress is real .Now only one global file will be used for all users.And the process is really optimized.
the data are cached once and forever unless you clear the log yourself.And this for every body.Data are cached
progressively as soon as user browse your pages, the given paths are cached automatically and the process is never
repeated for another user.The performance are better than ever.No more disk space issues or other linked to the usage
of $_SESSION array.
For more suggestions and bug reporting contact me at firstname.lastname@example.org