[Journal - Resource Storage Provider]

Resource Storage Provider

Saturday, October 21, 2006

WebEdit.NET offers a new built-in storage provider: the Resource Storage Provider allows users to read embedded textual resources:

resource:Gregor.WebEdit?Gregor.WebEdit.ReadMe.txt

Since it's been a while since I last worked on WebEdit.NET's document browing features, I went back and actually studied the documenation for Document Storage Providers. I started by implementing the storage provider, storage, and history entry classes first. Having tested that, I added a new protocol and command handler, and finally, new actions for using the new storage provider for templating and insertion operations.

And so it is that now there's the fourth variant of the "Open" icon - in red color (the standard yellow one is for local, the blue one for FTP, and the green one for HTTP).