From 79697e90301c447db280290639bbfcc775b4a30b Mon Sep 17 00:00:00 2001 From: slawkens1 Date: Fri, 26 Jan 2018 21:52:41 +0100 Subject: [PATCH] * updated TODO (PHP 7.0, Composer and MVC) --- TODO | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index da80e034..5056e79b 100644 --- a/TODO +++ b/TODO @@ -16,7 +16,7 @@ * create account: create character * add robots.txt file -1.0: +1.0 * mobile version * switch do desktop/mobile version link * inside templates/mobile @@ -32,23 +32,37 @@ * remove tibiacom template, and include it as a plugin 2.0 + * minimum PHP 7.0.0 required - use PHP 7 features + * remove cache engines that are not supported by this version of PHP + * use Composer for additional libraries + * Twig 2.x + * PHPMailer 6.x * remove signatures, creature images (make a separate plugins for them) - this way we save 2.5mb of space * remove gesior backward support * remove compat functions * remove $template['link_*'] * folder restructure: - * var/ (for logs, cache and data), config/, bin, public/ (for index and images and other public content), system/ (for php files and classess) + * var/ (variable data - for logs, cache and data) + * config/ + * bin/ + * public/ (for index.php, images and other public content) + * js/, css/ + * images/ + * storage/ (all dynamic content like guild images) + * system/ (for php files, twig templates, locales and other classess) * rename templates to layouts as templates is meant to be used for twig templates * change gifts_system to shop_system configurable * move most used options in system/templates dir to separate directories (more transparent) * move database fields to separate tables without modifing the OTServ schema (myaac_accounts, myaac_players) * fundamental changes in Twig: * add option to write layouts in Twig - * change twig config global variable to config('name') function + * change twig global config variable to config('name') function * this fixes when config gets updated at run-time - * change constant('BASE_URL') to base_url() + * change constants: BASE_URL to base_url(), USE_ACCOUNT_NAME to config + * make use of Model/View/Controller (MVC) approach + * use some modern and fast Routing library -At any time between (version not specified): +x.x - At any time between (version not specified) * better news archive with search function (like on tibia.com) * guild wars management (issue #13 on github) * update account.management page to be more realistic (like on tibia.com)