core.git
2 years agoProper way of searching for paths
Roland Haeder [Sat, 4 Mar 2017 21:26:54 +0000 (22:26 +0100)]
Proper way of searching for paths

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Tue, 28 Feb 2017 20:40:21 +0000 (21:40 +0100)]
Continued:
- added namespace to class config entries
- added "import" of CryptoHelper and Cryptable
- added "import" of Cacheable
- fixed tpzo in namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Tue, 28 Feb 2017 19:51:53 +0000 (20:51 +0100)]
Continued:
- added namespace to class config entries
- added "import" of SeekableWritableFileIterator and BaseIterator
- added "import" of Iterator (SPL)
- added "import" of BaseFeature and Feature
- added missing class EmailVerifierFilter
- added "import" of BaseFilter, Filterable, Requestable and Responseable
- added "import" of BaseInputTextFile and CsvInputStreamer
- also added missing namespace in class

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 21:19:53 +0000 (22:19 +0100)]
Continued:
- added namespace to class config entries
- added "import" of LanguageSystem
- added "import" of BaseTask (and in class template, too)
- added "import" of Visitable
- added "import" of ManageableGuest
- added "import" of BaseIndex, Indexable and IndexableStack
- added "import" of CalculatableBlock
- and no "we", better neutral words

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 21:05:14 +0000 (22:05 +0100)]
Continued:
- added "import" of BaseStacker and Stackable
- added "import" of BaseMailer and DeliverableMail
- added missing namespace in config entries
- killed more [EOF] and discouraged ?>

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 20:57:03 +0000 (21:57 +0100)]
Continued:
- added namespace to class config entries
- opps, need to multiply by 100
- added "import" of RandomNumberGenerator
- added "import" of BaseAction

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 20:47:30 +0000 (21:47 +0100)]
Continued:
- added basic interface Poolable (seems to be lost?)
- added "import" for it as well
- added "import" of ListenerVisitor and DecoratorVisitor
- added "import" of Listenable
- added "import" of BaseDecorator

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 20:34:28 +0000 (21:34 +0100)]
Continued:
- expanded class config entry with namespace
- added "import" of BaseVisitor, Visitor and TaskVisitor, PoolVisitor
- added "import" of Taskable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 19:46:05 +0000 (20:46 +0100)]
Continued:
- it cannot be "List" as this is reserved (list() command), so take "Lists"
- added "import" of IteratorAggregate and Countable (both SPL)
- added "import" of BaseList and Listable
- added "import" of BaseFileIo, InputPointer and OutputPointer

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 19:36:11 +0000 (20:36 +0100)]
Continued:
- added "import" of FilePointer, CloseableFile and BaseBinaryFile
- added "import" of Block
- added "import" of Handleable, HandleableDataSet, BaseHandler

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 19:24:02 +0000 (20:24 +0100)]
Continued:
- added "import" of BaseUser, Updateable
- added "import" of ManageableAccount and ManageableMember
- fixed config entry, namespace added

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 19:14:18 +0000 (20:14 +0100)]
Continued:
- fixed config entry, missing namespace part
- added "import" of UserDatabaseWrapper
- added "import" of BaseDatabaseWrapper
- added "import" of UserRegister
- added "import" of UpdateableResult

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoFirst, they are wrapper classes, second they are for database tables (each
Roland Haeder [Sun, 26 Feb 2017 19:12:00 +0000 (20:12 +0100)]
First, they are wrapper classes, second they are for database tables (each
table one wrapper class)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 19:09:07 +0000 (20:09 +0100)]
Continued:
- fixed some configuration entries, missing namespace
- output nice statistics about passed and failed tests

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 18:58:40 +0000 (19:58 +0100)]
Continued:
- added generic test on loading classes configured in some_foo_class entries
- now you can see, why "_class" must be set
- added method getConfigurationArray() in FrameworkConfiguration which returns
  the whole configuration array ...
- added "import" of XmlParser + fixed config entry with namespace
- added "import" of BaseParser and Parseable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoMoving-session has started:
Roland Haeder [Sun, 26 Feb 2017 16:07:55 +0000 (17:07 +0100)]
Moving-session has started:
- moved all files in application/tests/classes/ to framework/main/tests/ as
  they can (and should) be used by any application that wishes to run (unit)
  tests.

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sun, 26 Feb 2017 14:18:57 +0000 (15:18 +0100)]
Continued:
- added stub class for testing loadable configured class names
- added "import" of ReflectionClass (SPL)
- some tpzos fixed

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued with tests and renaming:
Roland Haeder [Sun, 26 Feb 2017 14:05:28 +0000 (15:05 +0100)]
Continued with tests and renaming:
- filters are also classes, so keep '_class' suffix for later (upcoming) tests
  on it
- added base filter which currently does nothing special but later will
- added filter for pre-checking PHP requirements (some may come, such as
  PHPUnit and more)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued with renaming-season:
Roland Haeder [Sun, 26 Feb 2017 13:34:30 +0000 (14:34 +0100)]
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>
2 years agorenamed lib-local.php -> lib-lfdb.php because it really loads the "legendary"
Roland Haeder [Sun, 26 Feb 2017 13:08:47 +0000 (14:08 +0100)]
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>
2 years agoRewrites:
Roland Haeder [Sun, 26 Feb 2017 13:00:29 +0000 (14:00 +0100)]
Rewrites:
- rewrote detectCorePath() so it can handle more than one (.) path
- all my applications have this framework cloned to "./core/" and currently
  uses a symbolic link inc/ -> core/inc/. This is then no longer needed and
  should be removed from all projects. This surely implies that index.php has
  been distributed on all projects.
- later on this will be changed, then there is no class in index.php, but only
  one include file and one call to main() method.

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 17:16:42 +0000 (18:16 +0100)]
Continued:
- added "import" of SeekableIterator (SPL)
- added "import" of Registry
- InvalidFilterChainException is no longer deprecated
- added "import" of it
- added 'shutdown' filter chain

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 17:10:50 +0000 (18:10 +0100)]
Continued:
- added "import" of DatabaseWrapper
- added "import" of AddableCriteria
- added "import" of UpdateableResult
- added "import" of LocalUpdateCriteria
- added missing namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoFixed and continued:
Roland Haeder [Sat, 25 Feb 2017 16:30:42 +0000 (17:30 +0100)]
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>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 16:23:04 +0000 (17:23 +0100)]
Continued:
- all compressors now have own distinct namespace, so also the
  CompressorChannel class needs some fixing
- added "import" of Compressor
- added "import" of DatabaseConnection
- added "import" of DatabaseConnector

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 16:10:57 +0000 (17:10 +0100)]
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>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:58:18 +0000 (16:58 +0100)]
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>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:43:20 +0000 (16:43 +0100)]
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>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:37:56 +0000 (16:37 +0100)]
Continued:
- tests may later have filters but now let's not focus on it
- added "import" of BaseFactory
- added "import" of HtmlNewsFactory
- added "import" of ReadableNews
- added config entry news_reader_main_class

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:31:17 +0000 (16:31 +0100)]
Continued:
- to ease things, EmptyVariableException is no longer deprecated as it nicely
  wraps the message, else if InvalidArgumentException or other SPL exception is
  being used, the message must be copied all around.
- added "import" of EmptyVariableException

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoIt is CoreFramework, not CoreFra*n*ework
Roland Haeder [Sat, 25 Feb 2017 15:26:55 +0000 (16:26 +0100)]
It is CoreFramework, not CoreFra*n*ework

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:23:48 +0000 (16:23 +0100)]
Continued:
- added "import" of Filterable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 15:20:38 +0000 (16:20 +0100)]
Continued:
- added "import" of BaseFilter

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 14:34:41 +0000 (15:34 +0100)]
Continued:
- added "import" of ObjectFactory

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 14:11:49 +0000 (15:11 +0100)]
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>
2 years agoMoved back out of "Generic" namespace, really no need
Roland Haeder [Sat, 25 Feb 2017 14:08:14 +0000 (15:08 +0100)]
Moved back out of "Generic" namespace, really no need

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Sat, 25 Feb 2017 14:02:51 +0000 (15:02 +0100)]
Continued:
- added main command for "tests"
- added "import" for BaseCommand
- added "import" for PerformableAction

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 21:57:24 +0000 (22:57 +0100)]
Continued:
- add "import" for InvalidCommandException
- is<Action|Command|Controller>Valid() methods now have 2 parameters:
  $namespace and $fooName
- InvalidCommandException is no longer deprecated
- removed [EOF] and ?>

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 21:10:34 +0000 (22:10 +0100)]
Continued:
- no need to have namespace as parameter (only isValidFoo() calls) as it can be
  set in BaseResolver and all resolvers can use it which they must do anyway.
- added "import" for DefaultControllerException
- added "import" for Controller

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 20:51:47 +0000 (21:51 +0100)]
Continued:
- added "import" for ControllerResolver and BaseControllerResolver
- fixed namespace lookup

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 20:48:55 +0000 (21:48 +0100)]
Continued:
- added missing controller for "tests" application (with own namespace)
- added "import" for BaseController

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 20:23:05 +0000 (21:23 +0100)]
Continued:
- scanApplicationClasses() must be called before starter.php is being included.
- this whole thing is old and needs an entire rewrite (which will take place
  slowly while this "namespace rewrite" and much more after it.
- added "import" for BaseResolver and Resolver

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoadded controller resolver (unfinished maybe)
Roland Haeder [Fri, 24 Feb 2017 20:13:34 +0000 (21:13 +0100)]
added controller resolver (unfinished maybe)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoAlso this must be "namespaced" ;-)
Roland Haeder [Fri, 24 Feb 2017 20:09:48 +0000 (21:09 +0100)]
Also this must be "namespaced" ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoThe class loader is also now strict in namespace check, so nice backtraces will
Roland Haeder [Fri, 24 Feb 2017 20:05:49 +0000 (21:05 +0100)]
The class loader is also now strict in namespace check, so nice backtraces will
be created.

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 19:58:35 +0000 (20:58 +0100)]
Continued:
- added "import" for FrameworkException
- added "import" for NoClassException

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 19:51:13 +0000 (20:51 +0100)]
Continued:
- fixed class names in global config.php
- added "import" for IoHandler

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 19:46:50 +0000 (20:46 +0100)]
Continued:
- added "import" for FileInputStreamer
- added "import" for FileOutputStreamer
- added "import" for StreamableOutput

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Fri, 24 Feb 2017 19:24:59 +0000 (20:24 +0100)]
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>
2 years agoContinued a bit:
Roland Haeder [Thu, 23 Feb 2017 21:29:24 +0000 (22:29 +0100)]
Continued a bit:
- fixed namespace (opps)
- fixed class name (copy-paste opps)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Thu, 23 Feb 2017 21:26:59 +0000 (22:26 +0100)]
Continued:
- added "import" for Requestable
- fixed doc-tags

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoThrowable is PHP 7.x and still this framework should support PHP 5 as 7 is
Roland Haeder [Thu, 23 Feb 2017 21:03:14 +0000 (22:03 +0100)]
Throwable is PHP 7.x and still this framework should support PHP 5 as 7 is
still to new. But at least output the whole instance

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued with debugging:
Roland Haeder [Thu, 23 Feb 2017 21:00:39 +0000 (22:00 +0100)]
Continued with debugging:
- added exception InvalidClassNameException which is only being thrown by
  ObjectFactory when the given class name is not following naming convention.
  This is now strictly applied to all objects being created by that factory.
- introduced stripNamespaceFromClassName()

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoDebugging continued:
Roland Haeder [Thu, 23 Feb 2017 20:47:59 +0000 (21:47 +0100)]
Debugging continued:
- BaseFrameworkSystem::createDebugInstance() now supports optional line number
  to trace where the call was made

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Thu, 23 Feb 2017 20:31:28 +0000 (21:31 +0100)]
Continued:
- added "import" for Streamable + fixed namespace, no plural
- added "import" for OutputStreamer
- added "import" for NullPointerException + thrown one in middleware

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Thu, 23 Feb 2017 20:10:26 +0000 (21:10 +0100)]
Continued:
- added "import" for BaseOutput, BaseDebugOutput and Debugger

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoadded missing "import" for DebugMiddleware
Roland Haeder [Thu, 23 Feb 2017 20:08:36 +0000 (21:08 +0100)]
added missing "import" for DebugMiddleware

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Thu, 23 Feb 2017 20:07:04 +0000 (21:07 +0100)]
Continued:
- added noisy trace message
- added "import" for Registerable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Thu, 23 Feb 2017 19:52:00 +0000 (20:52 +0100)]
Continued:
- added "import" for BaseMiddleware class
- changed one-line comment to doc-tag as this is propper here

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agorenamed class property $classes to $foundClasses so it is clear that these
Roland Haeder [Wed, 22 Feb 2017 22:39:56 +0000 (23:39 +0100)]
renamed class property $classes to $foundClasses so it is clear that these
classes has only been found but not yet loaded (require()).

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agonamespace added, this *must* be applied now to all calls of ObjectFactory methods
Roland Haeder [Wed, 22 Feb 2017 22:26:42 +0000 (23:26 +0100)]
namespace added, this *must* be applied now to all calls of ObjectFactory methods

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agomade the text more clear
Roland Haeder [Wed, 22 Feb 2017 22:21:45 +0000 (23:21 +0100)]
made the text more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoImported ReflectionException
Roland Haeder [Wed, 22 Feb 2017 22:20:27 +0000 (23:20 +0100)]
Imported ReflectionException

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Wed, 22 Feb 2017 22:19:29 +0000 (23:19 +0100)]
Continued:
- added "import" for ObjectFactory

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Wed, 22 Feb 2017 21:37:29 +0000 (22:37 +0100)]
Continued:
- "imported" Registry class
- rewrote exception handler to also handle anything else that implements
  Throwable
- please note that application/<foo>/exceptions.php may become generalized
  and  will no longer be loaded as the same functionality is provided by this
  framework then.

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoFinished first cleanup (still a lot is broken):
Roland Haeder [Tue, 21 Feb 2017 20:39:36 +0000 (21:39 +0100)]
Finished first cleanup (still a lot is broken):
- added more namespaces
- made more exceptions deprecated as there are better exceptions or names for it
- removed own [EOF] (old coding style)
- removed discouraged ?> from all files

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Mon, 20 Feb 2017 22:08:14 +0000 (23:08 +0100)]
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>
2 years agoContinued:
Roland Haeder [Thu, 16 Feb 2017 20:29:21 +0000 (21:29 +0100)]
Continued:
- added namespaces
- added import for Register and Registerable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoadded import for BaseRegistry
Roland Haeder [Thu, 16 Feb 2017 20:22:40 +0000 (21:22 +0100)]
added import for BaseRegistry

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued rewriting:
Roland Haeder [Wed, 15 Feb 2017 21:40:24 +0000 (22:40 +0100)]
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>
2 years agoContinued:
Roland Haeder [Wed, 15 Feb 2017 21:11:15 +0000 (22:11 +0100)]
Continued:
- added more namespaces
- added "import" of ClassLoader and ApplicationHelper

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Wed, 15 Feb 2017 21:08:01 +0000 (22:08 +0100)]
Continued:
- added more namespaces
- added "import" for CompileableTemplate

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Wed, 15 Feb 2017 20:17:47 +0000 (21:17 +0100)]
Continued:
- added namespaces for further classes/interfaces
- added "import" for ManageableApplication

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoAdded namespace support to class loader. If not present, an E_USER_WARNING is
Roland Haeder [Mon, 13 Feb 2017 20:46:20 +0000 (21:46 +0100)]
Added namespace support to class loader. If not present, an E_USER_WARNING is
being issued.

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Mon, 13 Feb 2017 20:13:39 +0000 (21:13 +0100)]
Continued:
- added more namespaces
- added "import" lines for BaseFrameworkSystem

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Haeder [Mon, 13 Feb 2017 19:15:03 +0000 (20:15 +0100)]
Continued:
- added more namespaces
- added more "import" lines for Registerable

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoIntroduced namespaces:
Roland Haeder [Mon, 13 Feb 2017 19:08:26 +0000 (20:08 +0100)]
Introduced namespaces:
- always use this pattern CoreFramework\Foo[\Bar] for namespaces
- added lots of namespaces (breaks all stuff)
- added "import" for FrameworkInterface

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoupdate copyright as changes will happen this year
Roland Haeder [Mon, 13 Feb 2017 18:42:11 +0000 (19:42 +0100)]
update copyright as changes will happen this year

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoPrepared rewrite of framework bootstrap:
Roland Haeder [Wed, 29 Jun 2016 21:01:49 +0000 (23:01 +0200)]
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>
3 years agoContinued a bit:
Roland Haeder [Wed, 29 Jun 2016 19:47:58 +0000 (21:47 +0200)]
Continued a bit:
- config-hubmaster.php is long time deprecated (from very early days) and the
  'hub' project is the only one using it, so why keep it around?
- Some (needed by FrameworkInterface) methods now throw an
  UnsupportedOperationException indicating that they are not implemented.
- Constructors are not even returning void, they are constructors (no real method)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued a bit:
Roland Haeder [Wed, 29 Jun 2016 18:04:56 +0000 (20:04 +0200)]
Continued a bit:
- line-feed is now Linux/Uni* way
- no more language-dependent templates, keep language out of them as they
  should only define the structure of the website. Localization should be done
  with e.g. php_intl

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoAdded .gitattributes
Roland Haeder [Sat, 13 Feb 2016 20:55:07 +0000 (21:55 +0100)]
Added .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoCleanup of duplicated methods ... Well, this stuff needs rewrite to an own class
Roland Haeder [Tue, 22 Dec 2015 22:05:10 +0000 (23:05 +0100)]
Cleanup of duplicated methods ... Well, this stuff needs rewrite to an own class
for better encapsulation as sockets are more and more needed.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoMake sure 'argv' and 'argc' are there.
Roland Haeder [Mon, 14 Dec 2015 20:44:39 +0000 (21:44 +0100)]
Make sure 'argv' and 'argc' are there.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Haeder [Fri, 13 Nov 2015 22:26:37 +0000 (23:26 +0100)]
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>
4 years agoMerge ../hub/core
Roland Haeder [Tue, 6 Oct 2015 18:45:22 +0000 (20:45 +0200)]
Merge ../hub/core

4 years agoMoved more methods to a maybe not-so-good place.
Roland Haeder [Tue, 6 Oct 2015 18:43:40 +0000 (20:43 +0200)]
Moved more methods to a maybe not-so-good place.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMoved more methods to a maybe not-so-good place.
Roland Haeder [Tue, 6 Oct 2015 18:43:40 +0000 (20:43 +0200)]
Moved more methods to a maybe not-so-good place.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMaybe right place here? Maybe total rewrite!
Roland Haeder [Tue, 6 Oct 2015 18:40:49 +0000 (20:40 +0200)]
Maybe right place here? Maybe total rewrite!

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMoved some code from TcpListener and made it a bit more generic, maybe just enough.
Roland Haeder [Tue, 6 Oct 2015 18:28:29 +0000 (20:28 +0200)]
Moved some code from TcpListener and made it a bit more generic, maybe just enough.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoFixed message.
Roland Haeder [Tue, 6 Oct 2015 17:54:33 +0000 (19:54 +0200)]
Fixed message.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMissed to call getConfigInstance() first.
Roland Haeder [Sun, 4 Oct 2015 16:20:37 +0000 (18:20 +0200)]
Missed to call getConfigInstance() first.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoAdded config entry for configuring the IPC socket file name.
Roland Haeder [Sat, 12 Sep 2015 20:47:20 +0000 (22:47 +0200)]
Added config entry for configuring the IPC socket file name.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMoved from 'hub'.
Roland Haeder [Sat, 12 Sep 2015 20:37:38 +0000 (22:37 +0200)]
Moved from 'hub'.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoContinued:
Roland Haeder [Sat, 12 Sep 2015 19:11:08 +0000 (21:11 +0200)]
Continued:
- moved some files/methods ("generic" enough to be here) from 'hub'.
- continued with file-based socket listener to allow listening to sockets ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoSetting a listener type is needed for later pooling.
Roland Haeder [Sat, 12 Sep 2015 06:03:28 +0000 (08:03 +0200)]
Setting a listener type is needed for later pooling.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoAlso this one ...
Roland Haeder [Sat, 12 Sep 2015 06:00:59 +0000 (08:00 +0200)]
Also this one ...

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoThese methods are already in BaseListener
Roland Haeder [Sat, 12 Sep 2015 06:00:12 +0000 (08:00 +0200)]
These methods are already in BaseListener

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoOpps.
Roland Haeder [Sat, 12 Sep 2015 05:57:35 +0000 (07:57 +0200)]
Opps.

Signed-off-by: Roland Häder <roland@mxchange.org>
4 years agoMoved files + added interface + generic socket file listener
Roland Haeder [Sat, 12 Sep 2015 05:54:16 +0000 (07:54 +0200)]
Moved files + added interface + generic socket file listener

Signed-off-by: Roland Häder <roland@mxchange.org>