[wp-hackers] concatinating PHP code files

Dion Hulse (dd32) wordpress at dd32.id.au
Thu Mar 25 20:28:53 UTC 2010


Now that could get messy :)

One of the first things i did with QI( WordPress Quick Installer) was  
write a build script which concencated the multiple files i've got into a  
single downloadable file. then wrote a minify'er, then a compressor.  
Result is 300KB accross a dozen files down to a 50kb single file.

Moving code inline is just hell, You've got globals to deal with, amongst  
other things.

Using PHP 5.3's anonymous functions you might be able to achieve it tho..

On Fri, 26 Mar 2010 09:25:53 +1200, Arlen Beiler <arlenbee at gmail.com>  
wrote:
> Worse yet, let's find something that will do that AND replace all the
> function calls with the function code.

-- 
Dion Hulse / dd32
Contact:
  e: contact at dd32.id.au
  Web: http://dd32.id.au/


More information about the wp-hackers mailing list