Jump to content

Pros And Cons


user4fun

Recommended Posts

I use switch(), normally. The only disadvantage to using that method is having an ugly URL, but people usually use mod_rewrite (Apache module) for that.

Link to comment
Share on other sites

I use a clean URL handler with mod_rewrite, and then just find my way around by manually parsing the single URL argument into the location I want. Not only it appears cleaner in every way, but it will also save you headaches when trying to convert the dirty URL into a nice one, as all the processing logic will be shifted into PHP - a much easier and predictable than .conf files, wouldn't you say?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...