Hi,
I'm using a global object which acts as an output buffer, simulating the behavior of the ob_* functions, but with slightly more control (I can position text out of the order in which it was chronologically echoed). It just echoes the content of certain string fields when a flush/commit() method is called.
Since I can anticipate generating fairly large HTML files (for bulletin boards, etc.), I am worried about the efficiency of my system...storing the entire body of a document in a string seems to be wasteful.
Could anybody comment on the relative efficiencies of using my system versus using PHP's built-in output control?