Saturday, August 05, 2006

Refactoring PaintIt -> DX_Contrib v0.1

I've realised that perhaps some of my PaintIt Code could be useful elsewhere.
I have spent the past couple of days refactoring PaintIt so as to extract the actual painting code (Including the ColorPicker and PaintPicker(yes they are crap names) from the Original PaintIt plugin and into a new Common Dll called DX_Contrib.

I am releasing this project like all my others, complete with source.

It is my intention to initially maintain control over this project but to accept code snippets in (feel free to submit in c# if examples are short enough for me to translate without too much difficulty) and to include them for everyone's benefit.

I would like to say up front that at this early stage, I have no plans to honour backward compatibility in any way. However like all my plugins, I will not be deleting past version from my site.

In addition, I will be including the version number in the dll itself (thus the first version is DX_Contrib0.1.dll) and in this way allow past versions to work side by side with newer ones.

For Example, PaintIt v1.3 (the current latest version) uses v0.1 of DX_Contrib. (naturally enough). I have release both. Some developer 'A' might choose also to develop against v0.1 of DX_Contrib. Later I might decide, or indeed have it subtley pointed out with a sledgehammer, that a give method is either in the wrong class or a class is in the wrong namespace. At this time corrections and enhancements will be made and a new version will be released with version 0.2. This new dll will be called DX_Contrib

As I said, it is my init plan to maintain control of this myself, but if it proves in some way successful then I think we will have to consider sourceforge or some similar facility instead. :)

Feel free to submit code to me either by email or newsgroup for potential inclusion in a future version of this dll.

Oh yeah, if you don't already know, DX_Contrib and my other real(ish) plugins can be found at

No comments: