OK the first bug I reported to myself in the previous post was trivial to fix. I changed the PostReader
class to add a couple of new methods GetFilteredPostsForMonth()
: […]
Not much more to discuss for phase 1 of the Archive Calendar since we've covered the code. This post is a kind of wrap up (although it does contain a couple of warnings at the end) and we'll talk about what you have to do in order for the calendar to actually work and display the archived posts. […]
READ MOREWe're now at the coding climax of this series, writing the code that will actually render the calendar you see on the right. […]
READ MORENext up in this series on writing the calendar of archived posts, is the PostsReader
class. This class queries the database for the posts for a particular month or a particular day. It utilizes a couple of other helper classes that manage the caching of results, so we'll look at these first. […]
It's time to reveal all about that Archive Calendar I've been developing that now adorns my site. It's not quite done yet, but by the time I'll have it finished, this series of articles on how to write it will be too. […]
READ MOREA minor fix, this. The Archive Calendar on the right over there now has support for caching monthly and daily post collections so that the potentially expensive query plus retrieval from the database doesn't happen every time. […]
READ MOREOur local newspaper is the Gazette and we have it delivered every day. Neither of us like it particularly — we also get the New York Times, which is more reliable for news — but having the local news is essential for my wife's work. […]
READ MOREI have a whole set of posts on my static website that I'd like to transfer over to my Graffiti CMS site, leaving behind a redirect link. Since I was using CityDesk from Fog Creek to blog before, there's no migration tool available. Hey, no problem, I'm a developer at heart so it's just a simple case of opening up a a couple of databases, writing a conversion routine, and Bob's your uncle. […]
READ MOREWhat with one thing or another, I spend some appreciable amount of my time in Visual Studio. So, like you, I've customized the font and color scheme so that it looks good to me and I can quickly grok code within it. Not as drastically as some, I must say — and given my predilection for grays and muted colors, I'm surprised I haven't gone for this one. […]
READ MOREThis afternoon, for want of anything better to do with the freezing cold outside and the housework inside, I wrote an archive calendar chalk extension for the website. It's over there on the far sidebar. […]
READ MORE