Re: HTML_TreeMenu - what does dynamic really do?
| From: | Wolfram Kriesing | Date: | Fri, 21 Feb 2003 12:38:59 +0000 |
| Subject: | Re: HTML_TreeMenu - what does dynamic really do? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3884@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
Richard, I was looking at TreeMenu for building a file tree navigation (for a very large number of files - in a heavily nested filesystem) - obviously loading the whole tree up like the map_fs.php example would probably kill most browsers.. So I was wondering if the dynamic flag meant that when you expanded nodes (with children but not loaded on the page) it could either (a) refresh the page - or (b) pull the data into a iframe or something and add the data from there...well, my suggestion here might not be *the* solution. but what i am doing is put the tree in an external php-generated js-file, which is included and cached by the browser, so you only send a 304 when the tree has not changed (quite easy using HTTP_Header_Cache) might be an option for you Alan -- Wolfram ... opensource @ vision:produktion ... http://opensource.visionp.de ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth