Pux was specifically work on slower machines and cloud environments where computing power availability matters and mundane tasks like URL rerouting should not be a priority.
Pux works basically like any other routing system, supporting both basic static and dynamic routes. For both cases, Pux is way much faster than more famous solution's like Symfony's built-in routing system.
This is mainly because Pux was written as a C extension to the PHP engine, allowing faster computation times and avoiding the wasted time spent with loading PHP classes and other useless resources.
Using indexed arrays to store URL routes patterns and flag and outputting the routes to a simple PHP array, Pux works much faster, even with APC support activated.
What is new in this release:
- Added pux_persistent_dispatch function for persistent dispatching.
- Dispatch performance optimization, especially __set_state method call, 1.5x faster than before.
What is new in version 1.5.2:
- Added pux_persistent_dispatch function for persistent dispatching.
- Dispatch performance optimization, especially __set_state method call, 1.5x faster than before.
Requirements:
- PHP 5.4 or higher
Comments not found