News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Make Me Pulse:
Using the Zend Framework URL rewriting
January 15, 2009 @ 07:55:15

New from the Make Me Pulse blog is this quick tutorial about bending the URL rewriting that the Zend Framework does to match whatever your needs might be.

Today for a good website's referencement in Google, it's necessary to have an URL rewriting. [...] If your application is based on ZF, we have a htaccess base file which will redirect all php files to the boostrap (what is the bootstrap ?), and ZF classes will manage all redirection rules. How to implement the URL rewriting with ZF classes ?

He sets up a config file (an ini file) with the routing instructions the framework will need to adhere to and shows how to get the application to include it and match against it for routing rules. His example sets a default route and several regular expression-based routes to remap requests right where they need to go.

0 comments voice your opinion now!
zendframework config file ini routing regex default route tutorial


blog comments powered by Disqus

Similar Posts

ParanoidFerret.com: Flex & PHP Tutorial - Transmitting data using JSON

Zend Developer Zone: Implementing the Observer Pattern with SplObserver and SplSubject

Evan Coury: Getting started with the ZF2 skeleton and ZfcUser

Zend Developer Zone: Indexing Email Messages with PHP, Zend Lucene and Sphinx

NETTUTS.com: Adding Caching to a Data Access Layer


Community Events





Don't see your event here?
Let us know!


series community deployment library tips symfony framework introduction package laravel interview api voicesoftheelephpant podcast list opinion release language install bugfix

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework