Hi All,
I am developing a portal in PHP(YII framework) and MySql DB.
I have 2 queries releated to performance of a portal.
1> How to organize the file/directory structure so that the file/s will be accessed at optimal performance.
for ex : if we take website like Facebook we can see that they are keeping Javascript, CSS and images in different domain(or some websites storing these files in sub domain) What is the use of keeping the scripting files (JS,CSS,Image folders, etc) in another domin. will it help in acheiving greater performance?
2> I want to know about hosting, whether hosting on a dedicated server is better or Cloud hosting is better. (Since i am expecting atleast ten thousand hits a day)
Also any further discussion on managing Portal/ Security of Portal is appriciated.
Thx in Adv.