I have a medium sized ecommerce website which I have written using PHP and
MySQL and I have a number of include files with some of them being included
by all pages of the site and a few only included as and when required.
I was wondering if I could compile all my include files into one large
include and then include them from all pages or is this not advisable as the
include file alone could end up being around 1000 lines of code.
Would this have a noticeable affect on my server when serving up pages to
the Internet because of all the extra lines of code being imported into all
my PHP files?
What is the maximum number of lines that is recommended for an include file?
--
Kind Regards,
Paul Woodward
MySQL and I have a number of include files with some of them being included
by all pages of the site and a few only included as and when required.
I was wondering if I could compile all my include files into one large
include and then include them from all pages or is this not advisable as the
include file alone could end up being around 1000 lines of code.
Would this have a noticeable affect on my server when serving up pages to
the Internet because of all the extra lines of code being imported into all
my PHP files?
What is the maximum number of lines that is recommended for an include file?
--
Kind Regards,
Paul Woodward