* updated TODO (PHP 7.0, Composer and MVC)

This commit is contained in:
slawkens1 2018-01-26 21:52:41 +01:00
parent 873e05538e
commit 79697e9030

24
TODO
View File

@ -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)