I have a few suggestions that I think anyone taking on the legacy 2Moons code should give thought.The 2Moons code based is truly over engineered and it's causing failures to maintain that code base.
1. Migrate out of Smarty and go pure PHP. Don't even bother making the mistake of upgrading to the latest version of Smarty. You will be wasting your time. Stick to version in the legacy code or better still bin Smarty altogether.
2. Get out of Ajax. It just adds unnecessary complexity.
3. Just migrate to PHP 8.x you achieve a faster core, smoother game play. Opt for PHP cache to be even faster.
The 2Moons legacy codebase is dead. Frankly, it's been well and truly over engineered, creating unnecessary complexity, and making the code dead weight.
Good luck.
1. Migrate out of Smarty and go pure PHP. Don't even bother making the mistake of upgrading to the latest version of Smarty. You will be wasting your time. Stick to version in the legacy code or better still bin Smarty altogether.
2. Get out of Ajax. It just adds unnecessary complexity.
3. Just migrate to PHP 8.x you achieve a faster core, smoother game play. Opt for PHP cache to be even faster.
The 2Moons legacy codebase is dead. Frankly, it's been well and truly over engineered, creating unnecessary complexity, and making the code dead weight.
Good luck.
