]> git.mxchange.org Git - core.git/log
core.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>