• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gesior AAC 2011 - Needed? Ideas?

why don't you want to use any framework?
do you know that work with a framework is much easier?
Maybe it's easier when you use framework, but website is slower and use more resources :(
Empty .php file loads 2ms (localhost), my 31KB of code loads 5-12ms [it loads 2 files with config] (code I have posted above is not full code, because there is limit of 37.500 letters per post).
 
Maybe it's easier when you use framework, but website is slower and use more resources :(
Empty .php file loads 2ms (localhost), my 31KB of code loads 5-12ms [it loads 2 files with config] (code I have posted above is not full code, because there is limit of 37.500 letters per post).

nevermind... you should put the project in only one file, because it was "the best" solution to speed up page loading time...
in project code would be a mess... and you know it
 
Project will be in separated files, but there will be button 'compile' in admin panel that will copy all classes used on all pages [ConfigPHP, Website, Database] to index.php
There will be many options to reduce load time, but all will be in config (admin panel), so you don't have to use any and just load all .php files from their folders every page load.
 
Please no more $main_content shit.
Also, I believe this will be awesome if you just keep updating it after release and not give up on it.

Btw, will some sort of an Admin tool be avaiable? Not a clumsy one like in the old Gesior AAC.
 
Please no more $main_content shit.
Also, I believe this will be awesome if you just keep updating it after release and not give up on it.

Btw, will some sort of an Admin tool be avaiable? Not a clumsy one like in the old Gesior AAC.
You will use 'echo' or pure HTML on pages and in layout:
PHP:
<?PHP
if(!Website::getVisitor()->isLogged())
    echo 'Create account';
?>
some html
<b>bold text</b>
<?PHP
echo 'end';
?>
and it will be possible to reset content by php command:
PHP:
ob_clean();

There will be admin panel where you will configure everything.

First working version with 2-3 'pages' (create account, create character, show highscores) should be ready in 2-3 days.
 
Last edited:
Maybe it's easier when you use framework, but website is slower and use more resources :(
Empty .php file loads 2ms (localhost), my 31KB of code loads 5-12ms [it loads 2 files with config] (code I have posted above is not full code, because there is limit of 37.500 letters per post).
e what, cached latestnews takes 1ms here (doesn't establish con to sql since there's no queries to execute)

took some time to write all queries manually for guilds interface, so this rarely takes longer than 6ms too ;d
(the server is a c2d running 64-bit linux with manually compiled software)
 
yay! I got a suggestion, first make it as most as u can like the RL tibia one, then add options to "customize" it :) btw I know that it will mostly not happen, but at least I tried :p
 
Back
Top