First Database, then Frontend (not Wrapper)
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 13:32:22 +0000 (15:32 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 13:32:22 +0000 (15:32 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
21 files changed:
framework/config-global.php
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/commands/html/class_HtmlConfirmCommand.php
framework/main/classes/commands/html/class_HtmlResendLinkCommand.php
framework/main/classes/database/class_BaseDatabaseWrapper.php
framework/main/classes/database/frontend/class_NewsDatabaseWrapper.php
framework/main/classes/database/frontend/class_PaymentsDatabaseWrapper.php
framework/main/classes/database/frontend/class_UserDatabaseWrapper.php
framework/main/classes/database/frontend/class_UserPointsDatabaseWrapper.php
framework/main/classes/database/result/class_CachedDatabaseResult.php
framework/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php
framework/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php
framework/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php
framework/main/classes/helper/html/forms/class_HtmlFormHelper.php
framework/main/classes/user/class_BaseUser.php
framework/main/classes/user/member/class_Member.php
framework/main/exceptions/user/class_UserNoGuestException.php
framework/main/interfaces/database/class_DatabaseWrapper.php
framework/main/interfaces/database/wrapper/class_BookablePointsWrapper.php
framework/main/interfaces/database/wrapper/class_ManageableAccountWrapper.php
framework/main/interfaces/result/class_SearchableResult.php

index f11a27e..303029d 100644 (file)
@@ -238,10 +238,10 @@ $cfg->setConfigEntry('crypto_class', 'CoreFramework\Helper\Crypto\CryptoHelper')
 $cfg->setConfigEntry('rng_class', 'CoreFramework\Crypto\RandomNumber\RandomNumberGenerator');
 
 // CFG: USER-DB-WRAPPER-CLASS
-$cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Wrapper\Database\User\UserDatabaseWrapper');
+$cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Database\Frontend\User\UserDatabaseWrapper');
 
 // CFG: NEWS-DB-WRAPPER-CLASS
-$cfg->setConfigEntry('news_db_wrapper_class', 'CoreFramework\Wrapper\Database\News\NewsDatabaseWrapper');
+$cfg->setConfigEntry('news_db_wrapper_class', 'CoreFramework\Database\Frontend\News\NewsDatabaseWrapper');
 
 // CFG: HTML-CMD-RESOLVER-CLASS
 $cfg->setConfigEntry('html_cmd_resolver_class', 'CoreFramework\Resolver\Command\HtmlCommandResolver');
index 248da12..ab2e554 100644 (file)
@@ -13,6 +13,7 @@ use CoreFramework\Criteria\Local\LocalSearchCriteria;
 use CoreFramework\Criteria\Local\LocalUpdateCriteria;
 use CoreFramework\Crypto\Cryptable;
 use CoreFramework\Crypto\RandomNumber\RandomNumberGenerator;
+use CoreFramework\Database\Frontend\DatabaseWrapper;
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filesystem\Block;
@@ -39,7 +40,6 @@ use CoreFramework\Stream\Output\OutputStreamer;
 use CoreFramework\Template\CompileableTemplate;
 use CoreFramework\User\ManageableAccount;
 use CoreFramework\Visitor\Visitor;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 // Import SPL stuff
 use \stdClass;
index 9ad5288..3180836 100644 (file)
@@ -6,13 +6,13 @@ namespace CoreFramework\Command\Guest;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A command for the confirmation link handling
index d19d9c2..aacfb61 100644 (file)
@@ -6,12 +6,12 @@ namespace CoreFramework\Command\Guest;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A command class for resending the confirmation link
index dbf0872..5be68e3 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database;
+namespace CoreFramework\Database\Frontend;
 
 // Import framework stuff
 use CoreFramework\Criteria\Criteria;
index fd38397..7a7d45e 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database\News;
+namespace CoreFramework\Database\Frontend\News;
 
 // Import framework stuff
-use CoreFramework\Wrapper\Database\BaseDatabaseWrapper;
+use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
 use CoreFramework\Registry\Registerable;
 
 /**
index f34347b..25ea8ba 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database;
+namespace CoreFramework\Database\Frontend;
 
 // Import framework stuff
-use CoreFramework\Wrapper\Database\BaseDatabaseWrapper;
+use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
 
 /**
  * A database wrapper for payments
index b1288cd..2793752 100644 (file)
@@ -1,15 +1,15 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database\User;
+namespace CoreFramework\Database\Frontend\User;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Registration\User\UserRegister;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\Result\Update\UpdateableResult;
 use CoreFramework\Wrapper\Account\ManageableAccountWrapper;
-use CoreFramework\Wrapper\Database\BaseDatabaseWrapper;
 
 /**
  * A database wrapper for the User class
index 4446b63..dd6ea62 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database\Points;
+namespace CoreFramework\Database\Frontend\Points;
 
 // Import framework stuff
-use CoreFramework\Wrapper\Database\BaseDatabaseWrapper;
+use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registerable;
 
index 17cf461..d69b491 100644 (file)
@@ -6,11 +6,11 @@ namespace CoreFramework\Result\Database;
 use CoreFramework\Criteria\Local\LocalSearchCriteria;
 use CoreFramework\Criteria\Local\LocalUpdateCriteria;
 use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Frontend\DatabaseWrapper;
 use CoreFramework\Database\Backend\BaseDatabaseBackend;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Result\Search\SearchableResult;
 use CoreFramework\Result\Update\UpdateableResult;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 // Import SPL stuff
 use \SeekableIterator;
index 8b2b523..cef3975 100644 (file)
@@ -3,12 +3,12 @@
 namespace CoreFramework\Filter\User\Status;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Filter\BaseFilter;
 use CoreFramework\Filter\Filterable;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A filter for updating the user account status to confirmed
index bbc2f17..a5b78c1 100644 (file)
@@ -3,12 +3,12 @@
 namespace CoreFramework\Filter\Verifier\Confirmation;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Filter\BaseFilter;
 use CoreFramework\Filter\Filterable;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A filter for checking if supplied confirmation code is valid.
index 73ea384..d55b057 100644 (file)
@@ -3,12 +3,12 @@
 namespace CoreFramework\Filter\Verifier\User;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Filter\BaseFilter;
 use CoreFramework\Filter\Filterable;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A filter for checking if user status is UNCONFIRMED.
index 65e7f9c..146be69 100644 (file)
@@ -3,12 +3,12 @@
 namespace CoreFramework\Helper;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\EmptyVariableException;
 use CoreFramework\Generic\NullPointerException;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Template\CompileableTemplate;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A helper for constructing web forms
index 34761fe..2dd1d9f 100644 (file)
@@ -3,12 +3,12 @@
 namespace CoreFramework\User;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Database\Updateable;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Result\Search\SearchableResult;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A general user class
index 94a3763..84f05ed 100644 (file)
@@ -3,11 +3,11 @@
 namespace CoreFramework\User\Login;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Manager\Login\ManageableMember;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\User\BaseUser;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * A generic class for handling users
index 386a853..f368f0a 100644 (file)
@@ -3,8 +3,8 @@
 namespace CoreFramework\Deprecated;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\User\UserDatabaseWrapper;
 use CoreFramework\Generic\FrameworkException;
-use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper;
 
 /**
  * An exception for non-guest accounts (but guest was expected)
index 30ae7c6..0bd5566 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database;
+namespace CoreFramework\Database\Frontend;
 
 // Import framework stuff
 use CoreFramework\Criteria\Criteria;
index 2551540..eb34681 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\Wrapper\Database;
+namespace CoreFramework\Database\Frontend;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\DatabaseWrapper;
 use CoreFramework\Result\Update\UpdateableResult;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 /**
  * An interface for wrapper dealing with bookable points
index 4f40af5..2e88489 100644 (file)
@@ -3,9 +3,9 @@
 namespace CoreFramework\Wrapper\Account;
 
 // Import framework stuff
+use CoreFramework\Database\Frontend\DatabaseWrapper;
 use CoreFramework\Registration\User\UserRegister;
 use CoreFramework\Result\Update\UpdateableResult;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 /**
  * An interface for wrapper handling manageable accounts
index 870ecc7..ce94d28 100644 (file)
@@ -4,8 +4,8 @@ namespace CoreFramework\Result\Search;
 
 // Import framework stuff
 use CoreFramework\Criteria\Local\LocalSearchCriteria;
+use CoreFramework\Database\Frontend\DatabaseWrapper;
 use CoreFramework\Generic\FrameworkInterface;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
 
 /**
  * An interface for searchable results