]> git.mxchange.org Git - core.git/log
core.git
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 20:28:07 +0000 (21:28 +0100)]
Continued:
- added type-hints for primitive variables
- throw IAE when a parameter is not valid, e.g. empty hostname or IP address

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 19:10:29 +0000 (20:10 +0100)]
Continued:
- renamed DatabaseConnection->$dbLayer to $backendInstance (old-lost name)
- added more checks on empty string parameter and throw an IAE

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 11:29:43 +0000 (12:29 +0100)]
Continued:
- replaced InvalidInterfaceException with UnexpectedValueException
- removed that deprecated interface

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 11:24:23 +0000 (12:24 +0100)]
Continued:
- replaced InvalidObjectException with InvalidArgumentException
- that custom exception was already deprecated/unwanted anyway
- moved classes to deeper packages

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:35:21 +0000 (11:35 +0100)]
Continued:
- reduced over-usage of is_string()

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:22:10 +0000 (11:22 +0100)]
Continued:
- configuration keys __detected_* are abusive to the configuration class,
  faster and more confirm is to use static class fields and static getter
  for it.

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 10:03:35 +0000 (11:03 +0100)]
Continued:
- added type-hints for primitive variables
- still a lot is left for refacturing ...

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 09:49:38 +0000 (10:49 +0100)]
Continued:
- minimum block length is the same for all file indexes and file-based stacks
- merged 2 lines together in BaseFrameworkSystem class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 09:32:52 +0000 (10:32 +0100)]
Continued:
- updated index.php
- PHP_Invoker is now with a namespace, so no need for disabling strict
  naming-convention check
- removed some old END - *
- renamed configuration entries 'detect_*' to '__detect_*' as they are dummies
- maybe later get rid of them as the configuration class seem to be "abused"
  here a bit
- converted old array() to "new" []

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 08:35:47 +0000 (09:35 +0100)]
Continued:
- updated composer files and dependencies

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 08:00:57 +0000 (09:00 +0100)]
Continued:
- ops, also need to use/"load" the trait ...

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 07:48:31 +0000 (08:48 +0100)]
Continued:
- Application instance in generic registry was a little of an overdoze when
  there is ApplicationHelper::getSelfInstance() around, this means lesser
  method invocations and a bit smaller footprint (one registry entry lesser)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 6 Dec 2020 04:20:03 +0000 (05:20 +0100)]
Continued:
- added more parameter validation
- added commented-out noisy debug lines
- rewrote more assert() calls to thrown exceptions (not private methods)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Sun, 6 Dec 2020 00:51:31 +0000 (01:51 +0100)]
Refacturing:
- introduced IndexableTrait
- the test for loadable classes is basically finished, later add more tests
  (filters) for each single class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoFixed:
Roland Häder [Sun, 6 Dec 2020 00:08:59 +0000 (01:08 +0100)]
Fixed:
- added missing sprintf() (ops)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 23:56:23 +0000 (00:56 +0100)]
Continued:
- validated more parameters to avoid bad invocation with invalid values
- int $bytes = NULL was my default, SPL says 0, not NULL as default value
- improved logger messages by adding type and all parameters

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 5 Dec 2020 22:24:29 +0000 (23:24 +0100)]
Continued:
- renamed some namespaces
- renamed BaseFileStack::ARRAY_INDEX_* to ARRAY_NAME_* as these constants
  contain names and not numbers
- also moved them to interface StackableFile

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 10:14:09 +0000 (11:14 +0100)]
Continued:
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 4 Dec 2020 06:39:32 +0000 (07:39 +0100)]
Continued:
- shouldn't the header array being set after it has been hex-decoded?

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 23:36:52 +0000 (00:36 +0100)]
Continued:
- next() needs to increase current position and then check if it is still valid

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 22:38:25 +0000 (23:38 +0100)]
Continued:
- confusing between valid() (current position is valid) and next() (next entry
  is valid) is fixed before

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 22:02:41 +0000 (23:02 +0100)]
Continued:
- fixes for currentPos calculation, needs to be done in factory method (or
  private method being invoked there)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Thu, 3 Dec 2020 20:48:15 +0000 (21:48 +0100)]
Continued:
- logging __METHOD__ + __LINE__ again is no more needed since rewrite of logger
- possible fix for wrong valid() result (was FALSE while there was one entry
  there)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 21:21:00 +0000 (22:21 +0100)]
Continued:
- fixed socketType in exception, is now a getter

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 19:24:48 +0000 (20:24 +0100)]
Refacturing:
- replaced $helperInstance with HelperTrait

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:49:29 +0000 (19:49 +0100)]
Continued:
- ops, added missing "import", Java wouldn't allow that

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 18:42:58 +0000 (19:42 +0100)]
Refacturing:
- introduced RegisterTrait instead of $registryInstance

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:37:34 +0000 (19:37 +0100)]
Continued:
- must be public getter in some situations, avoid public setter!

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 18:33:47 +0000 (19:33 +0100)]
Continued:
- added trait for $handlerInstance

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 17:45:47 +0000 (18:45 +0100)]
Continued:
- added type-hints for primitive variables
- thanks to these type-hints, some tests are no longer needed

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 12:22:14 +0000 (13:22 +0100)]
Continued:
- No more database wrappers, they are now called frontends

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 10:11:30 +0000 (11:11 +0100)]
Continued:
- rewrote deprecated DEVELOPER constant to developer_mode_enabled configuration
  entry
- added missing "import" line for exception

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 07:18:15 +0000 (08:18 +0100)]
Continued:
- introduced CompileableXmlTemplate class
- also BaseXmlTemplateEngine needs a trait

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 06:09:59 +0000 (07:09 +0100)]
Continued:
- first parameter can be an alternative log file

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 06:01:48 +0000 (07:01 +0100)]
Continued:
- added BaseXmlTemplateEngine from hub code

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 05:54:59 +0000 (06:54 +0100)]
Continued:
- MenuTemplateEnggine requires a StackableTrait
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:45:15 +0000 (06:45 +0100)]
Refacturing:
- extracted $stack as trait

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:37:52 +0000 (06:37 +0100)]
Refacturing:
- replaced $listInstance with trait

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacturing:
Roland Häder [Wed, 2 Dec 2020 05:34:32 +0000 (06:34 +0100)]
Refacturing:
- extracted traits for $list and $visitor instances

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacuring:
Roland Häder [Wed, 2 Dec 2020 05:16:36 +0000 (06:16 +0100)]
Refacuring:
- removed CacheFactory, is already reduced to what
  ObjectFactory::createObjectByConfiguredName() does
- external $cache, $compressorChannel and $ioHandler as traits
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 04:34:03 +0000 (05:34 +0100)]
Continued:
- also removed other deprecated exception and replaced it with same as before
- fixed exception constructor invocation

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 04:29:29 +0000 (05:29 +0100)]
Continued:
- removed deprecated exception NoStackerException and replaced by
  BadMethodCallException

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 03:18:14 +0000 (04:18 +0100)]
Continued:
- lesser assert(), was not needed, will always be Filterable
- removed "END - *" a bit

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 03:12:48 +0000 (04:12 +0100)]
Continued:
- moved away from monolithic BaseFrameworkSystem to proper classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 02:44:12 +0000 (03:44 +0100)]
Continued:
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 02:01:18 +0000 (03:01 +0100)]
Continued:
- WIP: needs to be public strangely for XmlParser, please fix it and turn this
  back to protected

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 01:52:07 +0000 (02:52 +0100)]
Continued:
- ops, forgot this to remove ...

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoRefacuring:
Roland Häder [Wed, 2 Dec 2020 01:42:04 +0000 (02:42 +0100)]
Refacuring:
- moved state, template and resolver instances to distinct traits

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 01:08:24 +0000 (02:08 +0100)]
Continued:
- wrong parameters. that's also why more unit tests are required, including
  false-tests

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 01:06:29 +0000 (02:06 +0100)]
Continued:
- got rid of 3 deprecated exceptions

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 00:47:27 +0000 (01:47 +0100)]
Continued:
- renamed database's "Wrapper" name part to "Frontend"
- added trait for above instance getter/setter

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 2 Dec 2020 00:21:38 +0000 (01:21 +0100)]
Continued:
- REFACTURING: added more traits from monolithic BaseFrameworkSystem class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 1 Dec 2020 23:49:26 +0000 (00:49 +0100)]
Continued:
- added some type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 1 Dec 2020 23:36:50 +0000 (00:36 +0100)]
Continued:
- Removed monolithic BaseFrameworkSystem->flushPendingUpdates()
- REFACTURING: moved some instances to traits, will continue with other
  instances after these have been tested

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 1 Dec 2020 22:34:10 +0000 (23:34 +0100)]
Continued:
- removed monolithic instance $handlerInstance and getter/setter

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 1 Dec 2020 22:21:21 +0000 (23:21 +0100)]
Continued:
- moved $helperInstance and setter/getter to proper class
- renamed extended to png

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 28 Nov 2020 04:16:53 +0000 (05:16 +0100)]
Continued:
- added checks on $length parameter
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 08:19:31 +0000 (09:19 +0100)]
Continued:
- WIP: ops, stack file  and its index file were accidentally mixed into the
 stack which has caused reading errors. Still position 4 is written
- added/commented in more noisy debug lines
- added primitive type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 06:15:51 +0000 (07:15 +0100)]
Continued:
- rewrote more assert() lines to thrown exceptions

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 04:53:21 +0000 (05:53 +0100)]
Continued:
- old array style mostly converted to new
- added more primitive type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 03:14:09 +0000 (04:14 +0100)]
Continued:
- moved language instance methods from monolithic and wrong registry-usage to
  FrameworkBootstrap
- added type-hints for primitive variables (also maybe in last 3 commits)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoWIP:
Roland Häder [Tue, 24 Nov 2020 03:00:41 +0000 (04:00 +0100)]
WIP:
- moved monolithic doFilter*() methods (dynamatic invocation) to new NumberUtils
  class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 02:23:38 +0000 (03:23 +0100)]
Continued:
- moved $searchInstance + getter/setter from monolithic BaseFrameworkSystem to
  proper classes/interfaces
- moved interfaces in own sub directories and not "extended"

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Tue, 24 Nov 2020 02:07:26 +0000 (03:07 +0100)]
Continued:
- moved $updateInstance and getter/setter to proper BaseDatabaseResult class
- renamed $class to $className
- removed __CLASS__ as default value from any abstract class' constructor

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 22 Nov 2020 17:51:39 +0000 (18:51 +0100)]
Continued:
- moved $listInstance + getter/setter from monolithic BaseFrameworkSystem to
  proper classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 22 Nov 2020 16:53:01 +0000 (17:53 +0100)]
Continued:
- fixed resolving order:
  1) application's controller will be checked
  2) the application "tests"  need its own default news controller
  3) else load framework's default news controller

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sun, 22 Nov 2020 15:32:20 +0000 (16:32 +0100)]
Continued:
- added missing $templateInstance with getter/setter
- converted old array() to "new" [] style

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued with chash:
Roland Häder [Sun, 15 Nov 2020 02:04:56 +0000 (03:04 +0100)]
Continued with chash:
- hashing was to fast, commented out very noisy debug lines
- also flushing was to often now, now every 10 seconds and on finding a new block

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued with chash:
Roland Häder [Sun, 15 Nov 2020 01:51:35 +0000 (02:51 +0100)]
Continued with chash:
- fixed hexdec() errors, scrypt returns non-hexadecimal characters, too
- fixed division by zero

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoUpdated composer packages
Roland Häder [Sat, 14 Nov 2020 17:23:38 +0000 (18:23 +0100)]
Updated composer packages

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 21:20:09 +0000 (22:20 +0100)]
Continued:
- had to be public ?!

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 21:15:22 +0000 (22:15 +0100)]
Continued:
- fixed comments, still protected setter is not invoked ?!

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 21:11:16 +0000 (22:11 +0100)]
Continued:
- added missing $templateInstance, some chaos is normal after a rewrite
- added missing type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 20:59:42 +0000 (21:59 +0100)]
Continued:
- let's get rid of own ObjectFactory::createObjectByName() construct and use the
  flexible (configurable) ObjectFactory::createObjectByConfiguredName() approach

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 20:41:47 +0000 (21:41 +0100)]
Continued:
- added missing $templateInstance and getter/setter

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 20:36:45 +0000 (21:36 +0100)]
Continued:
- moved exception constants to interface Parseable
- added type-hint for primitive variable(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 20:27:06 +0000 (21:27 +0100)]
Continued:
- must be public

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 20:25:59 +0000 (21:25 +0100)]
Continued:
- parsers may have template engines

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 19:51:28 +0000 (20:51 +0100)]
Continued:
- rewrote template engine initialization:
  + BaseFrameworkSystem->initTemplateEngine() was monolithic and can be done in
    BaseCommand class
  + the template engine's type is determined by system (console, html, image,
    ...) for the command

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 18:35:23 +0000 (19:35 +0100)]
Continued:
- updated composer package lock file

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 18:26:23 +0000 (19:26 +0100)]
Continued:
- needs to be public

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 18:08:35 +0000 (19:08 +0100)]
Continued:
- proper packages/namespaces and common BaseCryptoStream class
- also $rngInstance must be here, too

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 18:02:21 +0000 (19:02 +0100)]
Continued:
- reduced monolithic BaseFrameworkSystem by moving $rngInstance, $imageInstance
  and $menuInstance with getter/setter to proper classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 17:41:07 +0000 (18:41 +0100)]
Continued:
- ops, wrong instance name?

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 17:37:26 +0000 (18:37 +0100)]
Continued:
- reduced monolithic BaseFrameworkSystem class by moving a lot instances with
  setter/getter to proper classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 16:50:34 +0000 (17:50 +0100)]
Continued:
- wrong package/namespace!

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 16:45:44 +0000 (17:45 +0100)]
Continued:
- BaseFrameworkSystem->dec2hex() has moved to non-monolithic StringUtils::dec2hex()

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 16:25:59 +0000 (17:25 +0100)]
Continued:
- moved some instances from monolithic BaseFrameworkSystem to proper classes
- set more type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 15:58:33 +0000 (16:58 +0100)]
Continued:
- removed $databaseInstance, $compressorInstance from BaseFrameworkSystem as
  this was no longer used
- moved $compressorChannel to proper class

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 14:46:02 +0000 (15:46 +0100)]
Continued:
- moved class StringUtils to deeper package, needs updating ApplicationHelper!
- moved some methods from monolithic class BaseFrameworkSystem to StringUtils

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 13:41:38 +0000 (14:41 +0100)]
Continued:
- also update these templates

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 13:38:09 +0000 (14:38 +0100)]
Continued:
- maybe better cutting?

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 12:56:54 +0000 (13:56 +0100)]
Continued:
- __construct()'s $className parameter now has a type-hint "string"

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 12:50:56 +0000 (13:50 +0100)]
Continued:
- BaseFrameworkSystem-><get|set>ConfigInstance() was deprecated and no
  longer working since below rewrite happened. It was also slow and unneccessary
  as FrameworkBootstrap::getConfigurationInstance() does the same
- moved $registryInstance and getter/setter to RegistryIterator (only place)
- moved $commandName / $controllerName and getter/setter to proper resolver
  classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 12:17:51 +0000 (13:17 +0100)]
Continued:
- moved class fields from ApplicationHelper to BaseApplication class as all
  application "helper" (manager) will have these fields
- moved $controllerInstance to proper classes

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 12:03:48 +0000 (13:03 +0100)]
Continued:
- added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Sat, 7 Nov 2020 11:58:16 +0000 (12:58 +0100)]
Continued:
- moved $fileIoInstance and $resolverInstance to proper classes, avoiding
  monolithic BaseFrameworkSystem class
- the goal is to reduce all class fields with getter/setter
- also added type-hints for primitive variables

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Fri, 6 Nov 2020 15:22:55 +0000 (16:22 +0100)]
Continued:
- first primitive type added, more will follow

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 4 Nov 2020 13:55:00 +0000 (14:55 +0100)]
Continued:
- Minable was not generic (hub)

Signed-off-by: Roland Häder <roland@mxchange.org>
3 years agoContinued:
Roland Häder [Wed, 4 Nov 2020 13:24:29 +0000 (14:24 +0100)]
Continued:
- also include namespace here, may break code!

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