You are looking at an old revision of the page Understanding-Pluf. This revision was created by Natalie Adams.
Understanding Pluf and the dispatch loop
This is an introduction to Pluf to explain you why you would have an interest in using Pluf instead of bare metal PHP. First, I will present you the traditionnal way of writing applications with PHP and then the Pluf way.
Traditional Way to Write a PHP Application
In a traditionnal way, you will access a website written in PHP with this kind of URLs:
http://www.my-shop.com/index.php http://www.my-shop.com/products.php?id=12345
For each kind of functionnality in the website, you have one PHP script index.php, products.php. This script will process request variables for example the $_POST or $_GET variables, will have some kind of business logic and then echo back the results to the user.
This can be for the products.php example:
Page rendered in 0.03450s using 26 queries.