views:

33

answers:

1

Hi all.

I am interested in the architecture of a CMS where i can pass a full URL instead of a query string.

I would like to make a site that could handle a request to any page... Say 'http://www.my-domain.com/directory/page.aspx' and have the resulting response deliver a generic page/file.

I would like the request to be passed through an XML document where i could store page names and the corresponding file to render content...

My question specifically

  1. Is this possible
  2. Is it easy to do
  3. Are there any Links people have on hand they could share with me on the how to's.
  4. Any pro's or cons you may have come across if you have used this method.
+1  A: 

Yes, it's possible, and reasonable easy. Most CMSes do it this way, but use a database instead of an XML file.

You should probably look into URL rewriting. The concept is to separate the URL structure from the actual filesystem representation.

For .NET: UrlRewriting.Net is a gem.

However, since there are hundreds of fantastic CMSes already out there like you describe, I'd suggest using one of them and saving yourself work. Provide more detailed requirements and I can suggest one.

Computer Linguist
All i really want is something to help manage the above aspect. I don't mind if it is DB or XML driven. It would be beneficial to have a custom built CMS. However if you had a few favorites then please post them here. Thanks kj
Kieran