After i made some sites now , my programing style evolved to something very strange.
so i have to points for which i wonder if thay are slowing down the code execution:
1st - i'm breaking my code to too much , small , reusable (and i do re-use them) files, so do the many include() and require() (is the overhead of accesing an other file significant) slow down the pusing very mach? (is the overhead of accesing an other file significant)
and 2nd - I use a lot of lines like this
so here i just add 1 word to the HTML with a whole PHP block-- is there overhead for constantly starting and ending a PHP blocks
And I will be happy to hear how ur organizing ur PHP Programs (sites,code) too.
so i have to points for which i wonder if thay are slowing down the code execution:
1st - i'm breaking my code to too much , small , reusable (and i do re-use them) files, so do the many include() and require() (is the overhead of accesing an other file significant) slow down the pusing very mach? (is the overhead of accesing an other file significant)
and 2nd - I use a lot of lines like this
| Code: |
|
some HTML <?php echo $lang['login']; ?> some HTML |
so here i just add 1 word to the HTML with a whole PHP block-- is there overhead for constantly starting and ending a PHP blocks
And I will be happy to hear how ur organizing ur PHP Programs (sites,code) too.
