-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
Dne Tue, 23 Mar 2010 16:30:48 +0100 Dieter Adriaenssens dieter.adriaenssens@gmail.com napsal(a):
Interesting stuff, I only read the blogpost you posted earlier. Of course, you can't get rid of all included files, a project would be very difficult to browse when everything is in one file. ;) I wonder if the size of the included files matters? Does a huge included file load faster than two smaller ones?
Usually yes, but the size matters somehow [*]. For example you can look at Adminer http://www.adminer.org/ which is really fast and is distributed as single PHP file. The development is of course done in separate files, but on release they are merged into one (at least this is how I understood authors presentatio, I did not find time to look at technical details).
[*] All this heavily depends on using of some PHP cache, state of file system caches, etc.
- -- Michal Čihař | http://cihar.com | http://blog.cihar.com