Hello,
I am implementing an MVC pattern using PHP classes. My model is basically a n-ary tree (span is much more than depth though !). The problem is that it is taking around 15 seconds to build my model and the presentation (javascript tree). I am working on Ultra 5 sun workstation with 512 MB RAM. I am looking at all other alternatives to make this process faster. One immediate thing that stikes to my mind is the multi-threaded approach. I have have the model built in a separate thread and user need not have to wait for the model to be built. Is there any way that I can implement a multi-threaded approach ? Does PHP support threads ? Thanks in advance for ur help.
Giri