Include all php files in one file and include that file in every page if we're using hiphop?

Posted by Hasan Khan on Programmers See other posts from Programmers or by Hasan Khan
Published on 2011-11-17T15:26:36Z Indexed on 2011/11/23 10:09 UTC
Read the original article Hit count: 319

Filed under:
|
|

I understand that in normal php if we're including a file we're merging the source of it in the script and it would take longer for that page to be parsed/processed but if we're using HipHop shouldn't it be ok to just create one single php file and include every file in it (that contains some class) and every page which needs those classes (in separate file each) can just include one single php file?

Would this be ok in presence of HipHop?

© Programmers or respective owner

Related posts about optimization

Related posts about source-code