Hi. I want to make a mobile/pc community script using php,mysql,xhtml like
lavalair bcoz the current lava moded script shows its
limits when it comes about mysql optimization( slow load on forum, over 300k entries ),
security and other.
BUT I want something efficiently and a structure....What cand I use? :
* To use PhpSavant3 template engine? Some OOP and can be done .
or
* Php and html in the same page
html code
php code
* many 4uncs and includes + the point above ?
And for optimization ...
while + do-while instead for loop
switch instead of else if
indexs on mysql tables
select from db what u need SELECT xxx, instead SELECT * and
some users info cand be stored on a .txt file
and other that can be posted by you in this topic
In conclusion I need some ideas for script structure and optimization:D
lavalair bcoz the current lava moded script shows its
limits when it comes about mysql optimization( slow load on forum, over 300k entries ),
security and other.
BUT I want something efficiently and a structure....What cand I use? :
* To use PhpSavant3 template engine? Some OOP and can be done .
or
* Php and html in the same page
html code
php code
* many 4uncs and includes + the point above ?
And for optimization ...
while + do-while instead for loop
switch instead of else if
indexs on mysql tables
select from db what u need SELECT xxx, instead SELECT * and
some users info cand be stored on a .txt file
and other that can be posted by you in this topic
In conclusion I need some ideas for script structure and optimization:D