HI! =)
So far I have done a few small php driven websites and a medium sized webshop driven by php/mysql.
My latest project is a portal that is supposed to have a huge MySQL database and a lot of hits per second... (it's actually a network of portals but let's keep it simple =) ).
So the code MUST be FAST and STABLE. I am not a newbie, I actually design & code for a living, but I do realise that there are people here with a lot of experience here so I am asking for tips, help, urls, ... =)
So please post here things I should avoid using, I should learn using, etc...
For instance:
1) Is it better to have a huge (1000 and more lines) file or is it better to use include() all the time?
2) Do applications that use classess (OOP) run faster than the ones they don't use OOP?
3) We have a mysql/php generated menu. Is it faster/better to always contact MySQL server when generating or should we just keep the $mysql_query_result in a SESSION[] variable?
I'll certainly post a lot more questions, but this should get me started =)
laters, r4