Continued: - ops, wrong bait, wrong fish, inc/ is no more ... - moved/upgraded files from rewrite Signed-off-by: Roland Häder <roland@mxchange.org>
Renamed Registry -> GenericRegistry to make it clear that this registry does indeed accept any type of data and therefor is very generic. Signed-off-by: Roland Haeder <roland@mxchange.org>
Some updates: - inc/config/config-local.php is no longer supported as it requires a (mostly) application-specific file being placed into core which is not a good idea. Better is strict separation of core-specific (framework only) and application-specific. - updated all file's copyright year to 2016 - added dummy for upcoming datbase migration support (later also between different engines, if possible?) Signed-off-by: Roland Haeder <roland@mxchange.org>
Continued with renaming-season: - renamed inc -> framework - fixed all loaders and old tests (they will be rewritten anyway) - added initial start message for tests application - maybe the application will later have pre-filters for checking e.g. if all requirements in PHP are given? - no "hub" or "node" here Signed-off-by: Roland Häder <roland@mxchange.org>
renamed lib-local.php -> lib-lfdb.php because it really loads the "legendary" local file database class. Signed-off-by: Roland Häder <roland@mxchange.org>
Fixed and continued: - need to call ApplicationHelper::createDebugInstance() before inc/database.php is being loaded. This is old way anyway and will be rewritten right after this rewrite. - added "import" of CachedDatabaseResult and moved it to better namespace - added "import of SearchableResult - fixed config entry for it - first BaseDatabaseResult is a result, then it is for databases (queries) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - config entry for CompressorChannel expanded with namespace - added "import" for same class - it is a "middlware" class - config entry for framework directory pointer expanded with namespace - added "import" for FrameworkDirectory - added "import" for DirectoryIterator (SPL) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added missing config entry - expanded config entry local_file_database_class with namespace - need to load inc/database.php (which will later also be rewritten to an OOPed way) - added "import" of FrameworkDatabase - added "import" of BaseDatabaseBackend - added "import" of DatabaseBackend - added "import" of StoreableCriteria Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" of DatabaseWrapperFactory - added "import" of BaseDatabaseWrapper - added "import" of SearchCriteria - added "import" of Criteria - expanded configuration entry with namespace (more will come) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" for Commandable - added "import" for Controller - added "import" for Requestable/Responseable - added "import" for CommandResolver/Resolver - added missing namespace in config.php Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - fixed class names in global config.php - added "import" for IoHandler Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" for Responseable - added "import" for StreamableInput - all configured class names should not start with a backslash so the class loader is not "confused" that there is an empty project/vendor name ... Well, currently it ignores it but later maybe not. - and last but not least, everywhere else no backslash is used for framework "imports" so it is more consistent Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added "import" for BaseOutput, BaseDebugOutput and Debugger Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - removed more [EOF] (own old style) - removed more closing PHP tag as this is discouraged - added namespaces + some more deprecation (can be replaced with generic exceptions) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued rewriting: - 'loader.php' is now deprecated and also no longer loaded, instead selector.php (also deprecated but still around) will load application's classes - class name ApplicationHelper is now hard-wired Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - added more namespaces - added "import" lines for BaseFrameworkSystem Signed-off-by: Roland Häder <roland@mxchange.org>
update copyright as changes will happen this year Signed-off-by: Roland Häder <roland@mxchange.org>
Prepared rewrite of framework bootstrap: - added initial class 'BootstrapFramework' which doesn't need to be instanciated as only static methods will come - $cfg in inc/config.php is now being unset, it is not good coding practice to then use it outside the scope of the included file - you then need to get $cfg again from FrameworkConfiguration::getSelfInstance() to be able to set/get configuration entries. - added note how to deal with inc/config/config-local.php-dist which is an example how to use it in your own applications. - minor improvements (comments) Signed-off-by: Roland Häder <roland@mxchange.org>
Continued: - ignored more bad lines (causes by php-fuse) - added extension_foo_loaded (DONT TOUCH THIS) - the script should check for existence (see 'hub' project) of an optional PHP extension and then set the corresponding option to TRUE - the above will later be made more generic Signed-off-by: Roland Häder <roland@mxchange.org>
Added config entry for configuring the IPC socket file name. Signed-off-by: Roland Häder <roland@mxchange.org>