Regex Precompilation in Practice

From the previous post on this subject, I thought I would explain in detail how to put this into use in a project. We implemented this in Community Server for the 2008 release, and we saw some great improvement in our startup times. We had well over 100 regular expressions throughout our codebase. Of...

Continue reading Regex Precompilation in Practice

Regex Precompilation

I was watching Twitter today and saw Elijah Manor posted a link to a post titled Improve your code: Regex creation is expensive . In the article it discusses using Regexes as class level static readonly members and to use RegexOptions.Compiled. Now, the compilation part I agree with, just not in the...

Continue reading Regex Precompilation

Event Calendar for GraffitiCMS

I did some brief searching for an event calendar for GraffitiCMS , but I didn't find anything that quite fit the bill. What I wanted was to to be able mark a post as an event (as in with a date) and then be able to show some information about that event in the sidebar, in calendar format. So, after a...

Continue reading Event Calendar for GraffitiCMS