Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CS Queensryche Series: SiteUrls - The Needle Lies

I've said before that skinning starts with the SiteUrls.config file.  This answers such questions as the one posed in the CS Queensryche Series intro, "How do I know to start in /blogs/home.aspx?"

It's a beautiful thing how a simple, well-structured XML file called SiteUrls.config becomes a data object of desire called SiteUrls.  The data object is cached, of course, but before it get there it is created in its static SiteUrls.Instance() method with the services of CS.Components.SiteUrlsData.cs. 

SiteUrlsData is one of the Community Server Providers found in the communityserver.config file.

< add
    name = "SiteUrlsDataProvider"
    type = "CommunityServer.Components.SiteUrlsData, CommunityServer.Components"
    path = "SiteUrls.config"
/ >


The CS Provider Model is another Queensryche Series of its own.  No, that's probably more of a Seether type of topic, but anyway...  The SiteUrlsData Provider reads in the SiteUrls.config file as an XmlDocument, and its four sections as XmlNodes.  The processed SiteUrls.config XMLNodes are those shown in this collapsed version of the SiteUrls.config.





We'll skip several processing points for the moment and shoot straight to the end result of a populated SiteUrls data object, with sample items of interest produced by the SiteUrlsData Provider Class and the numerous SiteUrls Class properties.

Let's start with the complete SiteUrls object.  Lots of good information here, with  NameValueCollections, ArrayLists and CS Components containing the full contents of SiteUrls.config.

SiteUrls Paths in a NameValueCollection.

SiteUrls Reversepath items in a NameValueCollection.

SiteUrls TabUrls ArrayList.

More on the CS Queensryche Series when able.  Today's episode theme song: The Needle Lies.


[Queensryche]

[tags: Community Server, Queensryche]

Comments (2) | Post RSS RSS comment feed

Posted on 6/24/2006 7:07:00 AM by Dave Burke
Categories: Community Server
Tags:

Related posts

Comments (2) -

6/25/2006 11:34:07 PM Permalink

Nice blog, I was just browsing for info on skinning CS, and the fact that you use Queensrÿche as an example was just an added bonus. I was at the concert in Oslo last weekend, and that was great.

Per-Frode Pedersen |

6/26/2006 7:02:40 AM Permalink

Per-Frode, I hope to get back on this series soon. I can't believe you just saw Queensryche last weekend!  That is so wild!  Thanks for visiting.  More skinning stuff coming as soon as I can.

daveburke |


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke