XML Is a Godsend

|

I was working on my drag and drop prototype for MyPasswordSafe a couple of nights ago. I had it so items could be dragged and dropped, but still needed to do the same thing with groups. Drag and drop works by storing the data in a byte array, and for awhile I thought I would need to create my own binary format to hold a tree structure. Right before I started to take a crack at groups, the idea to use XML popped in my head. XML to the rescue! By nature it's hierarchical and fit the problem extremely well. XML is a tree. I'm trying to drag and drop a tree. Perfect!

I have the prototype done now, and everything works. I now need to come up with an abstract MVC. That and a undo/redo system, which may go hand in hand a bit. After drag and drop, undo/redo is the biggest new feature I have scheduled for MyPasswordSafe. It's gonna require some thinking.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

MyPasswordSafe and PasswordSafe v.2+

Any news on support for the new safes created by version 2.0? I saw a notice on the mypasswordsafe site and was just curious! Should I trust the devel? Anyway, a little note on the website, or a reference in the blog would be nice! Thanks for the hard work Nolan, we appreciate it!

Ad's by Google