The new versions of PHPNUKE seem to render a HTML page in bits rather than dumping the whole page to the browser once everything has been done. A good example of this is at http://www.deviantart.com
I have a good idea about how this is done and was hoping to get your thoughts on it.
Each page is built up from a load of different modules which display things like the latest members, news, shout box items, and so on. Obviously the data for these modules is coming from a database.
I think this is working by calling ob_start() before a request to the database is made, echoing the results, and then calling ob_end_flush().... and this continues thoughout the page with each module giving a 'streaming' type effect to the whole thing.
However it works I think it is a good idea as it gives the user something to look at while the page is building itself.
Any ideas or thoughts on this?
Buffer Bouncing
Moderator: General Moderators
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
Might want to look at flush() also...