Stackoverflowers,
I am debating between 2 scenarios for handling the display of a product catalog for a website redesign I am performing. I will be using the IIRF isapi filter to perform the rewriting for an asp.net website.
Here is what the urls will look like
www.domain.com/catalog/productgroup1
www.domain.com/catalog/productgroup2
www.domain.com/catalog/productgroup3
etc...
There will be a total of 8 or 9 product group pages
Scenario 1: I have these pages rewrite to one general purpose page that will look something like this:
www.domain.com/catalog.aspx?group={productgroup}
Then I decide which catalog to display with a switch/case based on the querystring. All of the code for displaying the catalogs would be based off of one page.
Scenario 2: I create a separate page for processing each different catalog page. The rewriting would look something like this then:
www.domain.com/catalog/productgroup1 --> www.domain.com/productgroup1.aspx
Then each catalog page would have it's own .aspx to handle the processing and display of that group of items.
I am leaning towards scenario 2 because it would allow me to be more customized for that particular product group, but it would lead to more individual pages to maintain for updates. Scenario 1 is currently how we handle displaying the product groups on the website, so we are familiar with that method, but the code does get a little hairy in places.
What would be the generally accepted best practice for handling this situation and in your experience, what are the advantages/drawbacks of each?