SingleUserBlog goes Open Source!

by matt 2. September 2006 23:16

After the gentlest of nudges, Darren's put SingleUserBlog on CodePlex. This should be fun. I've got a load of little changes that I want to submit, I just have to decide what goes first. A nice position to be in.

Unfortunately, setting up the new version really gives me what should be my first change. And it's not going to be an easy one.

One of the things that got me using SingleUserBlog in the first place was that it uses xml as the blog data store - my web site doesn't come with access to Sql Server, so that suits me down to the ground. But it *does* use Sql Server as the data source for Web Parts and the "remember me" part of the comments.

I've gotten around this by using a set of providers that use a Microsoft Access database, but there's a litle glitch with the Personalisation Provider (which I've got a nice big ranting post about this for later) that makes me really reluctant to submit them. I've got a bit of a hack that gets round it, but I'm sure there has to be a better way. And it's a bit clunky using Access, too. It would be much nicer if we could have a completely xml based install. Brendan created an xml based Personalization Provider that handles the issue, so perhaps this is the answer. It's a very specific provider, in that it will only work the exact way SingleUserBlog currently uses it, and again, that makes me think there should be a better way.

I'll have a think and write that nice ranting blog about rubbish APIs and see what happens.

Tags:

SingleUserBlog

Comments

9/6/2006 10:08:33 PM #

Xml Providers

Although the Xml Provider does work very specific to SUB I only indented it to be a stop-gap solution for us without sql server hosting to get by.  There is a property at the top of the file called "isGlobal = true", if you set this to false it will save the personalisation on a per page basis...not a great solution but again, it's so little code and its so simple.

Brendan | Reply

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



About the author

Something about the author

Calendar

<<July 2010>>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

RecentComments

Comment RSS

License

Creative Commons License
Except where otherwise noted, content on this site is by Matt Ellis and is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.

©2010 Matt Ellis