core.git
6 years agoContinued:
Roland Häder [Tue, 14 Nov 2017 20:58:42 +0000 (21:58 +0100)]
Continued:
- added Org\Nxchange\ namespace followwing Java convention

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoupdated phpunit dependency to ^6.3 (6.3.0 and up until 6.3.9 including)
Roland Häder [Sun, 13 Aug 2017 19:35:13 +0000 (21:35 +0200)]
updated phpunit dependency to ^6.3 (6.3.0 and up until 6.3.9 including)

6 years agoRewrite continues:
Roland Häder [Sun, 13 Aug 2017 19:19:54 +0000 (21:19 +0200)]
Rewrite continues:
- EmptyVariableException can be easily replaced by InvalidArgumentException (IEA)
  because there is no need for to over-detailed exceptions, but still it is a
  good idea to have more (custom) around than the defaults
- MissingMethodException was no longer used and is now emptied
- updated TODOs.txt
- ignored vendor in todo-builder.sh

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoRewrites:
Roland Häder [Sun, 13 Aug 2017 18:51:58 +0000 (20:51 +0200)]
Rewrites:
- *IsEmptyException are all superflous as also NPE and IAE can do the same and
  much more generic
- closed TODO to remove inConstructor, was bad code style anyway

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoRewrite:
Roland Häder [Sun, 13 Aug 2017 18:36:12 +0000 (20:36 +0200)]
Rewrite:
- the configuration instance is now instanciated by
  FrameworkBootstrap::getConfigurationInstance(), this *may* has made it sure
  that the class FrameworkConfiguration can be fully covered by unit tests.
- still a call-back instance test is pending

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoRewrote a bit:
Roland Häder [Sun, 13 Aug 2017 18:15:36 +0000 (20:15 +0200)]
Rewrote a bit:
- removed redundant convertDashesToUnderscores() in FrameworkConfiguration but
  had to add an include line again, let's save redudant code, right? :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoRewritten:
Roland Häder [Sun, 13 Aug 2017 15:52:22 +0000 (17:52 +0200)]
Rewritten:
- rewrote framework to use more SPL's classes SplFileInfo and SplFileObject
  instead of "bare" PHP functions (more objects, better type-hints)
- this may break a lot other code, please rewrite, too
- updated .gitattributes

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued with unit tests:
Roland Häder [Sun, 16 Jul 2017 21:46:53 +0000 (23:46 +0200)]
Continued with unit tests:
- some refacturing: all detectFoo() methods are now moved from configuration
  to bootstrap class as this seems proper place
- also they can only be called static
- DNS resolver is now globally quieted in tests/bootstrap.php
- created new unit test for FrameworkBootstrap class (partly)
- this origins from configuration unit test

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 16 Jul 2017 21:05:56 +0000 (23:05 +0200)]
Continued:
- Also test unsupported methods if they are still unsupported. Please note, that
  these 2 methods may be removed from FrameworkInterface in the future as they
  come from very old times where no database frontend classes exist.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Sun, 16 Jul 2017 20:47:31 +0000 (22:47 +0200)]
Continued a bit:
- better checks allowing more coverage
- added some sanity-checks

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoLet's name it better, more clear.
Roland Häder [Sun, 16 Jul 2017 17:25:33 +0000 (19:25 +0200)]
Let's name it better, more clear.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAllow DNS resolver to become quiet about its operations
Roland Häder [Sun, 16 Jul 2017 16:40:15 +0000 (18:40 +0200)]
Allow DNS resolver to become quiet about its operations

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAdded first PHPUnit-based unit test. This will test some of the methods in the
Roland Häder [Sun, 16 Jul 2017 16:19:49 +0000 (18:19 +0200)]
Added first PHPUnit-based unit test. This will test some of the methods in the
configuration class 'FrameworkConfiguration'. Strangely, not all I have tested
have 100% coverage ... Why? :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Sun, 16 Jul 2017 15:02:28 +0000 (17:02 +0200)]
Continued a bit:
- some rewrites to make PHPUnit be able to unit-test it
- more sanity-checks on parameters, were sometimes combined
- surpress some anoyances caused by to strict xdebug settings

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 16 Jul 2017 12:52:03 +0000 (14:52 +0200)]
Continued:
- added sanity-checks on parameters
- no more these server-based (?) tests

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 16 Jul 2017 12:24:09 +0000 (14:24 +0200)]
Continued:
- imported much more framework stuff, found by CodeCoverage
- renamed some namespaces
- FuseWrapper seems to be no longer maintained? ;-(

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sun, 16 Jul 2017 11:14:01 +0000 (13:14 +0200)]
Continued:
- rewrote some parts of the class loader to e.g. avoid loading full lust into
  variable and then only decode it
- renamed shortended variables
- cut a very long variable down a bit (one word)
- ignored all logfiles in root directory

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Sun, 16 Jul 2017 10:56:32 +0000 (12:56 +0200)]
Continued a bit:
- renamed method app_exit() to exitApplication(), still it needs rewritings
- rewrote a bit searching for framework files, also check __DIR__ from
  index.php to find it

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Sun, 16 Jul 2017 10:43:03 +0000 (12:43 +0200)]
Continued a bit:
- start of rewriting unit tests, these old where not very well written anyway
- created phpunit.xml.dist
- created composer.json/lock files. No, I'm not going to replace my class
  loader with it. I still like mine better. :-)
- created tests/bootstrap.php which contains an ugly hack for loading my tests
  first. Maybe there is a better way?
- moved class to proper (deeper) location

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoCleanup:
Roland Häder [Sun, 16 Jul 2017 00:32:39 +0000 (02:32 +0200)]
Cleanup:
- removed deprecated unit tests, very old-lost stuff
- removed deprecated setMagicQuotesRuntime() which only wraps an already
  deprecated PHP function
- unit tests with PHPUnit are coming! :-)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued:
Roland Häder [Sat, 15 Jul 2017 21:05:39 +0000 (23:05 +0200)]
Continued:
- added experimental (maybe not working) iterator for registries
- callbackInstance is now generic

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agofixed namespace for FiLoStacker + removed config entry which does not point to
Roland Häder [Sat, 15 Jul 2017 17:46:56 +0000 (19:46 +0200)]
fixed namespace for FiLoStacker + removed config entry which does not point to
a generic class anymore.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoadded public (non-sensitive) NetBeans project files
Roland Häder [Sat, 15 Jul 2017 17:43:54 +0000 (19:43 +0200)]
added public (non-sensitive) NetBeans project files

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoContinued a bit:
Roland Häder [Sat, 1 Jul 2017 21:27:39 +0000 (23:27 +0200)]
Continued a bit:
- added experimental RegistryIterator class which will iterate over all found
  entries in the given registry. If a sub-registry is found, also their entries
  will be iterated over instead of the sub-registry being returned.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAdded getter/setter for a Register instance (registries)
Roland Häder [Sat, 1 Jul 2017 20:12:38 +0000 (22:12 +0200)]
Added getter/setter for a Register instance (registries)

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAlso skip this
Roland Häder [Fri, 30 Jun 2017 20:13:13 +0000 (22:13 +0200)]
Also skip this

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoalso skip one element when __callStatic is given
Roland Häder [Sat, 17 Jun 2017 20:49:40 +0000 (22:49 +0200)]
also skip one element when __callStatic is given

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoExperimental "audio-fetching" script added
Roland Häder [Sat, 17 Jun 2017 20:39:12 +0000 (22:39 +0200)]
Experimental "audio-fetching" script added

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoSome rewrites:
Roland Häder [Sat, 17 Jun 2017 20:38:25 +0000 (22:38 +0200)]
Some rewrites:
- debugOutput() does not include caller method name and line number
- partialStub() no longer outputs caller method name

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agono longer deprecated
Roland Häder [Tue, 30 May 2017 15:57:11 +0000 (17:57 +0200)]
no longer deprecated

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNope, this will add hashes to the list ...
Roland Häder [Tue, 30 May 2017 14:30:37 +0000 (16:30 +0200)]
Nope, this will add hashes to the list ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoNope, this method needs to be called!
Roland Häder [Tue, 30 May 2017 14:22:55 +0000 (16:22 +0200)]
Nope, this method needs to be called!

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoAlso log call-back instance
Roland Häder [Tue, 30 May 2017 13:17:32 +0000 (15:17 +0200)]
Also log call-back instance

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years ago... now call-back array ...
Roland Häder [Tue, 30 May 2017 13:15:41 +0000 (15:15 +0200)]
... now call-back array ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agouse better method_exists() is_callable() also accepts __call() which is not
Roland Häder [Tue, 30 May 2017 13:13:54 +0000 (15:13 +0200)]
use better method_exists() is_callable() also accepts __call() which is not
wanted here.

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoalso add new setCallbackInstance() to interface ...
Roland Häder [Tue, 30 May 2017 13:11:39 +0000 (15:11 +0200)]
also add new setCallbackInstance() to interface ...

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoadded call-back instance support
Roland Häder [Tue, 30 May 2017 13:03:48 +0000 (15:03 +0200)]
added call-back instance support

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoUnsupported array found, maybe later add a call-backable class here, for now
Roland Häder [Tue, 30 May 2017 11:51:09 +0000 (13:51 +0200)]
Unsupported array found, maybe later add a call-backable class here, for now
at least the array keys are taken into final hash.

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

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

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agogetResponseInstance is now located in FrameworkBootstrap
Roland Häder [Mon, 29 May 2017 17:37:08 +0000 (19:37 +0200)]
getResponseInstance is now located in FrameworkBootstrap

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

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agomust implement Registerable
Roland Häder [Mon, 29 May 2017 12:17:16 +0000 (14:17 +0200)]
must implement Registerable

Signed-off-by: Roland Häder <roland@mxchange.org>
6 years agoStrict naming-convention (Project\Package[\SubPackage]\SomeFooBar) is now also
Roland Häder [Tue, 23 May 2017 19:11:59 +0000 (21:11 +0200)]
Strict naming-convention (Project\Package[\SubPackage]\SomeFooBar) is now also
done by ObjectFactory.

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