Monday, April 7, 2014

Quiky WPF

I decided to reengineer Quiky, because I didn't trust it in the worst way - that it will keep my data. I reworked the core code few times and probably left some bugs, so here and there I lost my contents or replaced a page contents by contents from a different page. And for a text editor this is a severe issue.

I tried WPF, but it was really uncompatible with all the stuff I put quite an effort into, so I started WinForms again. Because I had so much done it was quite quick. But then I realized I added some unneccessary code and it got huge before I was able to tune the saving and stuff.

So I started fresh again and when I reached the most basic state, I figured I can't use those chunks of code, because I will fall into the same pit. And then I realized, because of this, there's no compatibility issue with WPF any more, so I can wave obsolete WinForms good bye.

Also I decided to strictly make versions here (for me for the first time). To set a bunch of features to add and make a roadmap. My problem is to add so many features at once I got lost in the code and if I screw up, there's no way back. The very first version will be just the most basic functionality.

I had few failed attemps to make WPF app before, so I kinda knew what issues I'll have to deal with. First of all, I used Panel a lot. In WPF there are four or five replacements. I chose DockPanel.

To my surprise the start was quite fast, even a LOT of things is different - like methods and it's arguments. But it makes more sense, than WinForms, and I like it.

I also made a bold decision to use QetriX approach, so it will have e.g. DataStores. It really feels great to finally implement all those old ideas, I must say! :)

No comments:

Post a Comment