O'Reilly logo

PHP 5 CMS Framework Development by Martin Brampton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Framework solution

The practical business of transforming URIs has to be done in two parts. Each request involves an incoming URI, and if it has been transformed from a query string, it will normally need to be decoded back into a query string. The other aspect of URI transformation is that every URI that is to be part of the page being prepared for the browser must be turned from a query string to a "more friendly" form. Handling a URI directly turns out to be a lot simpler, and we will return to that a little later.

Transformations can be applied in more than one stage. The first one we shall use is the mechanical changing of a query string into what looks like a directory specification. A significant part of the work is done by the application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required