core.git
6 years agoimported FrameworkFeature
Roland Häder [Mon, 22 May 2017 20:38:20 +0000 (22:38 +0200)]
imported FrameworkFeature

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agowith Github name
Roland Häder [Mon, 22 May 2017 20:36:56 +0000 (22:36 +0200)]
with Github name

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported InputStream
Roland Häder [Mon, 22 May 2017 20:29:28 +0000 (22:29 +0200)]
imported InputStream

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFixes:
Roland Häder [Mon, 22 May 2017 18:57:56 +0000 (20:57 +0200)]
Fixes:
- Opps, application_base_path was somehow double
- use DIRECRORY_SEPARATOR
- renamed variable to clarify it

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported FileNotFoundException
Roland Häder [Mon, 22 May 2017 18:50:48 +0000 (20:50 +0200)]
imported FileNotFoundException

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agouse DIRECTORY_SEPARATOR instead of plain '/'
Roland Häder [Mon, 22 May 2017 18:48:39 +0000 (20:48 +0200)]
use  DIRECTORY_SEPARATOR instead of plain '/'

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoSorry, I confused it ...
Roland Häder [Mon, 22 May 2017 18:45:00 +0000 (20:45 +0200)]
Sorry, I confused it ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono more 'base_path', now there are 'base_framework_path' and 'base_application_path'
Roland Häder [Mon, 22 May 2017 18:40:28 +0000 (20:40 +0200)]
no more 'base_path', now there are 'base_framework_path' and 'base_application_path'

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported BaseTemplateEngine
Roland Häder [Mon, 22 May 2017 17:45:07 +0000 (19:45 +0200)]
imported BaseTemplateEngine

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNo own namespace for these, so no need to import
Roland Häder [Mon, 22 May 2017 17:06:46 +0000 (19:06 +0200)]
No own namespace for these, so no need to import

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono longer generic
Roland Häder [Mon, 22 May 2017 17:02:09 +0000 (19:02 +0200)]
no longer generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFixed template:
Roland Häder [Mon, 22 May 2017 16:52:48 +0000 (18:52 +0200)]
Fixed template:
- imported BaseHandler
- created namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono more generic
Roland Häder [Mon, 22 May 2017 16:40:29 +0000 (18:40 +0200)]
no more generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono more generic!
Roland Häder [Mon, 22 May 2017 16:37:46 +0000 (18:37 +0200)]
no more generic!

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNo more this here, it is no longer generic
Roland Häder [Sun, 21 May 2017 20:20:47 +0000 (22:20 +0200)]
No more this here, it is no longer generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNo more generic, StorableSocket is not generic
Roland Häder [Sun, 21 May 2017 13:46:11 +0000 (15:46 +0200)]
No more generic, StorableSocket is not generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoyet another exception ...
Roland Häder [Sat, 20 May 2017 23:06:13 +0000 (01:06 +0200)]
yet another exception ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoHandleableProtocol-related stuff is not generic
Roland Häder [Sat, 20 May 2017 19:40:25 +0000 (21:40 +0200)]
HandleableProtocol-related stuff is not generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoother way and don't log __METHOD__ anymore
Roland Häder [Sat, 20 May 2017 19:00:43 +0000 (21:00 +0200)]
other way and don't log __METHOD__ anymore

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAlso no longer generic ... Same reason!
Roland Häder [Fri, 19 May 2017 21:50:07 +0000 (23:50 +0200)]
Also no longer generic ... Same reason!

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoCannot be generic, due to StorableSocket class (may be rewritten again, one day)
Roland Häder [Fri, 19 May 2017 21:45:45 +0000 (23:45 +0200)]
Cannot be generic, due to StorableSocket class (may be rewritten again, one day)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoIs not generic (ConnectionInfo)
Roland Häder [Fri, 19 May 2017 21:16:15 +0000 (23:16 +0200)]
Is not generic (ConnectionInfo)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoupdated TODOs.txt
Roland Häder [Fri, 19 May 2017 21:13:59 +0000 (23:13 +0200)]
updated TODOs.txt

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Fri, 19 May 2017 19:19:39 +0000 (21:19 +0200)]
Continued a bit:
- imported Handleable
- removed HandleableProtocol, is not generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoBaseRawDataHandler is not generic (anymore or was never)
Roland Häder [Fri, 19 May 2017 19:01:12 +0000 (21:01 +0200)]
BaseRawDataHandler is not generic (anymore or was never)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agocommits fixes
Roland Häder [Fri, 19 May 2017 18:26:58 +0000 (20:26 +0200)]
commits fixes

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported in template
Roland Häder [Fri, 19 May 2017 18:24:31 +0000 (20:24 +0200)]
imported in template

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNeeds to be here, no way!
Roland Häder [Fri, 19 May 2017 17:10:09 +0000 (19:10 +0200)]
Needs to be here, no way!

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoMoved a lot back to hub:
Roland Häder [Fri, 19 May 2017 16:56:49 +0000 (18:56 +0200)]
Moved a lot back to hub:
- ConnectionHelper and ShareableInfo are breaking this
- Else, tons of more hub-specific classes must follow ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported BaseInfo
Roland Häder [Fri, 19 May 2017 16:27:55 +0000 (18:27 +0200)]
imported BaseInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported from hub project
Roland Häder [Fri, 19 May 2017 16:22:49 +0000 (18:22 +0200)]
imported from hub project

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported ConnectionInfoFactory
Roland Häder [Fri, 19 May 2017 16:21:29 +0000 (18:21 +0200)]
imported ConnectionInfoFactory

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported ShareableInfo
Roland Häder [Fri, 19 May 2017 16:20:37 +0000 (18:20 +0200)]
imported ShareableInfo

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoalso the factory has been imported
Roland Häder [Fri, 19 May 2017 16:18:18 +0000 (18:18 +0200)]
also the factory has been imported

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoalso added BaseInfo and ConnectionInfo, now bound to BaseFrameworkSystem
Roland Häder [Fri, 19 May 2017 16:15:32 +0000 (18:15 +0200)]
also added BaseInfo and ConnectionInfo, now bound to BaseFrameworkSystem

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoadded interface from hub project
Roland Häder [Fri, 19 May 2017 16:12:44 +0000 (18:12 +0200)]
added interface from hub project

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agotemplate updated
Roland Häder [Fri, 19 May 2017 16:06:43 +0000 (18:06 +0200)]
template updated

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agodeeper + imported SocketRegistryFactory
Roland Häder [Fri, 19 May 2017 16:03:54 +0000 (18:03 +0200)]
deeper + imported SocketRegistryFactory

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported BaseListener
Roland Häder [Fri, 19 May 2017 16:01:57 +0000 (18:01 +0200)]
imported BaseListener

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported FrameworkInterface + created namespace
Roland Häder [Fri, 19 May 2017 15:39:48 +0000 (17:39 +0200)]
imported FrameworkInterface + created namespace

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoImported HelpableTemplate
Roland Häder [Fri, 19 May 2017 14:59:57 +0000 (16:59 +0200)]
Imported HelpableTemplate

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoimported UnsupportedOperationException;
Roland Häder [Fri, 19 May 2017 14:53:32 +0000 (16:53 +0200)]
imported UnsupportedOperationException;

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoneed to import Stateable, too. More may follow (aftermath of namespacing)
Roland Häder [Fri, 19 May 2017 14:27:49 +0000 (16:27 +0200)]
need to import Stateable, too. More may follow (aftermath of namespacing)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Fri, 19 May 2017 14:04:49 +0000 (16:04 +0200)]
Continued:
- imported Stream
- (Input|Output)Stream now have own namespaces

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Fri, 19 May 2017 14:02:28 +0000 (16:02 +0200)]
Continued a bit:
- imported BaseStream

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Fri, 19 May 2017 13:56:31 +0000 (15:56 +0200)]
Continued a bit:
- in the wake of mcrypt being deprecated, an OpenSSL-based implementation
  needs to be written. This commit marks the start for it. Please note, that
  currently you don't have *ANY* encryption as the methods are unfinished
- moved DATA_PAYLOAD_SEPARATOR to EncryptableStream
- updated TODOs.txt

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono longer deprecated and now imported
Roland Häder [Fri, 19 May 2017 13:50:36 +0000 (15:50 +0200)]
no longer deprecated and now imported

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoPlease avoid these class_exists() outside any object factory
Roland Häder [Fri, 19 May 2017 13:44:36 +0000 (15:44 +0200)]
Please avoid these class_exists() outside any object factory

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoFirst Database, then Frontend (not Wrapper)
Roland Häder [Fri, 19 May 2017 13:32:22 +0000 (15:32 +0200)]
First Database, then Frontend (not Wrapper)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agofirst namespace, then other
Roland Häder [Fri, 19 May 2017 00:25:59 +0000 (02:25 +0200)]
first namespace, then other

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoalso line number
Roland Häder [Thu, 18 May 2017 21:18:19 +0000 (23:18 +0200)]
also line number

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoopps
Roland Häder [Thu, 18 May 2017 20:54:40 +0000 (22:54 +0200)]
opps

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoRewrite continued:
Roland Häder [Thu, 18 May 2017 20:23:46 +0000 (22:23 +0200)]
Rewrite continued:
- the framework now attempts to initialize the application more OOP-ed
- this is done by calling 3 simple methods:
  + FrameworkBootstrap::initFramework();
  + FrameworkBootstrap::prepareApplication();
  + FrameworkBootstrap::startApplication();
- initFramework: 3 simple steps again:
  + scanFrameworkClasses: scans for framework-related classes, interfaces and
    exceptions
  + determineRequestType: determines request-type (console, html) and loads all
    given parameter into the initialized request class. It also initializes the
    response instance
  + validateApplicationParameter: validates the parameter 'app' if it is there
    and points to a valid application (very basic check, more later on)
- prepareApplication: Prepares detected application by attempting to load all
  required include files and only optional if present. Please note that some
  files are now deprecated and should be ported to the new methods (see below)
- startApplication: Starts the application by calling 3 methods:
  + setupApplicationData: replacement for data.php, sets all application's data.
    Please don't set any configuration stuff here, this is still done in
    config.php!
  + initApplication: Calls some additional methods to initialize application.
    Here is a good place to init database instance by calling the shiny new
    method initDatabaseInstance().
  + launchApplication: Still old method name which starts the application.
    Please remove any request/response-init stuff from here as it is now
    generically done in FrameworkBootstrap
- include files in framework/database/ are now all deprecated
- renamed framework/config.inc.php -> framework/config-global.php
- PrimeraPortal's API is history, so let us remove the obsolete file here, too
- some "contrib" files updated
- updated TODOs.txt
- moved rand.php to contrib/ folder

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agorenamed to parseParameters() as this method will parse, not just check all
Roland Häder [Mon, 8 May 2017 18:33:29 +0000 (20:33 +0200)]
renamed to parseParameters() as this method will parse, not just check all
parameters, including $_GET, $_POST and $_COOKIE/$_SESSION

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Wed, 3 May 2017 16:05:20 +0000 (18:05 +0200)]
Continued:
- the word "Default" and "Array" is not possible to use alone in namespace like
<?php
namespace Some\Foo\Array;
?> <-- yes, discouraged. just to clearify end-of-php
- some math stuff "fixed".
- removed discouraged headers from all remaining scripts

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoKeep compiled Smarty3 templates out ... (I won't switch to Smarty3 but I use this...
Roland Haeder [Tue, 4 Apr 2017 21:02:00 +0000 (23:02 +0200)]
Keep compiled Smarty3 templates out ... (I won't switch to Smarty3 but I use this script for other project).

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued:
Roland Haeder [Sun, 2 Apr 2017 18:44:02 +0000 (20:44 +0200)]
Continued:
- renamed BootstrapFramework -> FrameworkBootstrap as there are also similar
  classes around, like FrameworkConfiguration
- require/include are no functions, don't use parentheses here (including old
  tests, I know)
- continued with rewriting bootstrap: more methods in FrameworkBootstrap and
  lesser include files in framework/ path

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoContinued with rewrites:
Roland Haeder [Sun, 26 Mar 2017 14:39:13 +0000 (16:39 +0200)]
Continued with rewrites:
- rewrote bootstrap to a more easier way, still index.php will contain a class
- this class has a method to detect the framework's path on common places
- splitted application_base_path and framework_base_path, was only base_path
  before

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agobetter this way, "cache" loader instance to avoid calling getSelfInstance()
Roland Häder [Wed, 15 Mar 2017 11:52:06 +0000 (12:52 +0100)]
better this way, "cache" loader instance to avoid calling getSelfInstance()

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agostrict naming-convention check can be disabled, but is not recommended in
Roland Häder [Tue, 14 Mar 2017 11:20:54 +0000 (12:20 +0100)]
strict naming-convention check can be disabled, but is not recommended in
general use. For example for PhpUnit unit tests this must be disabled, else
PHP_Invoker cannot be loaded.

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoCleanup:
Roland Häder [Thu, 9 Mar 2017 09:44:30 +0000 (10:44 +0100)]
Cleanup:
- removed old scripts which were used in SVN times
- some may become useful, like remote-deprecated.sh and find-bad-php.sh
- the later one now searches for discouraged ?> closing tag
- the first one can now be used with GIT to remove deprecated files

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agoAlso "import" here
Roland Haeder [Sat, 4 Mar 2017 22:16:14 +0000 (23:16 +0100)]
Also "import" here

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agorenamed deprecated exception name to a more common one
Roland Haeder [Sat, 4 Mar 2017 22:15:22 +0000 (23:15 +0100)]
renamed deprecated exception name to a more common one

Signed-off-by: Roland Häder <roland@mxchange.org>
7 years agorewrote to SPL exceptions as these exceptions are really overdue ...
Roland Haeder [Sat, 4 Mar 2017 21:49:53 +0000 (22:49 +0100)]
rewrote to SPL exceptions as these exceptions are really overdue ...

Signed-off-by: Roland Häder <roland@mxchange.org>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>