Mad RegEx Skills
I overcame the UI CSS issues and tonight, I am banging my head into a wall learning how to write mod_rewrite rules! Part of the issue is developing on the Windows platform and using IIS as the web server, nice. This RegEx stuff is making me MAD!
Two simple problems ... well, what I thought was two simple problems turned into quite the chore. First, the Zend Framework utilizes an MVC design pattern and that means rewriting all incoming requests so they can be dispatched to the controller from index.php.
Simple enough you say? Well, that is what I thought and I downloaded a URL Rewrite ISAPI filter and was done with it. The other issue, well this one is easy given the vast amount of examples out there ... or is it?
The dreaded search engine friendly URLs. The specific problem requires several conditions, so in addition to the Rewrite Rules I have to write a couple of Rewrite Conditions. I can live without the nice looking URLs for now, but think I will brush up on my RegEx skills.
May 30th, 2008 - 07:05
Funny you should mention RegEx. I just had to write one the other day. Thankfully it was really simply.