Thursday, April 10, 2014
Quiky v1
As I wrote, when I started to re-create Quiky in WPF, I set feature set for the first release. And because everything I wanted has been made and greatly tested, now it's time for public release.
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! :)
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! :)
Tuesday, February 11, 2014
JetriX
Thanks to my new work project with colleagues from IBM CZ I laid my hands on IBM Worklight, which is PhoneGap on steroids with a server backend. I had no other chance than yet again install my disfavored Eclipse, which poweres Worklight Studio and IBM Rational Team Concert.
I has been taught how to use it and ultimately how to build hybrid mobile applications in it. I learned quite a few new stuff about Eclipse.
For Android (and couple of my Java tries) I used IntelliJ Idea Community Edition, even after Google introduced Android Studio, because I don't like single purpose tools (you can't build Java apps in A.S.).
Worklight Studio has a support for Android Studio, for building Android app (if you don't want to install Android Dev Tools in Eclipse), so I installed it as well and after that I discovered It's easier to make .apk in Worklight Studio itself and Android Studio struggles to launch properly.
But having Eclipse up and running I had yet another urge to try Java web apps (servlets) again. So I installed Tomcat and started new Dynamic Web Project.
Thanks to a video tutorial I had a working "Hello World" in a couple of minutes. I don't count resolving "HTTP Status 405" error, as it was because of Eclipse code template (that includes super.do[Post|Get](req, resp), causing the error).
After that it was quite straightforward. Create bunch of packages, fill them with classes and write some code. It gave me few insights how to improve the PHP framework, towrads unification between platforms.
Anyway, we were obliged to put the hybrid mobile application on Windows Phone Store as well, which requires a Visual Studio to compile and debug the WP project. So we purchased that, together with Windows 8.1 Pro (our company computers all has OEM licenses for Win7). As a result, I'll try to do the same with ASP.NET and it opens the door for better WPF desktop app.
I has been taught how to use it and ultimately how to build hybrid mobile applications in it. I learned quite a few new stuff about Eclipse.
For Android (and couple of my Java tries) I used IntelliJ Idea Community Edition, even after Google introduced Android Studio, because I don't like single purpose tools (you can't build Java apps in A.S.).
Worklight Studio has a support for Android Studio, for building Android app (if you don't want to install Android Dev Tools in Eclipse), so I installed it as well and after that I discovered It's easier to make .apk in Worklight Studio itself and Android Studio struggles to launch properly.
But having Eclipse up and running I had yet another urge to try Java web apps (servlets) again. So I installed Tomcat and started new Dynamic Web Project.
Thanks to a video tutorial I had a working "Hello World" in a couple of minutes. I don't count resolving "HTTP Status 405" error, as it was because of Eclipse code template (that includes super.do[Post|Get](req, resp), causing the error).
After that it was quite straightforward. Create bunch of packages, fill them with classes and write some code. It gave me few insights how to improve the PHP framework, towrads unification between platforms.
Anyway, we were obliged to put the hybrid mobile application on Windows Phone Store as well, which requires a Visual Studio to compile and debug the WP project. So we purchased that, together with Windows 8.1 Pro (our company computers all has OEM licenses for Win7). As a result, I'll try to do the same with ASP.NET and it opens the door for better WPF desktop app.
Friday, January 31, 2014
Open Sourced
Ok, I noticed quite a few projects are on Github, so I got one repo also. I'm not committing there anything any time soon, but better to be prepared and start to learn what I need to know.
One struggle was to choose the license. I pushed my selfish me further away and chose the shortest one - MIT License (aka X11 License), which is the most permissive.
Then I understood I will need some "header" in my source code files, so I constructed two simple lines of code, one is copyright and license info, second is short description of the file. I'm going to comment scripts quite well (as I did in recent past), but I also think the code should be self-explanatory, so I'll try to stay modest.
Currently I feel this step as yet another way how to send a word about QetriX, but maybe it will catch on and somebody will rub the code into my face, which will ultimately make me a better programmer :)
On the other hand I'm little worried people may have problems with my way of coding. My programming is mostly "just enough". I don't build vast object schemas and in PHP I still prefer the old function way, because it's faster and less greedy for resources. I'm aware, that bloated code is mostly but fixes, but IMO less code means less things could go wrong.
Then, I don't comply to wide used coding standards, because on QetriX I'm trying to unify coding across various platforms, so I did quite a research on coding standards for particular languages, chose the most used and sticked with it. This includes using double quotes in PHP for strings, even if personally I prefer single quotes - just because in other languages single quotes are for char datetype, while double quotes are for strings.
One struggle was to choose the license. I pushed my selfish me further away and chose the shortest one - MIT License (aka X11 License), which is the most permissive.
Then I understood I will need some "header" in my source code files, so I constructed two simple lines of code, one is copyright and license info, second is short description of the file. I'm going to comment scripts quite well (as I did in recent past), but I also think the code should be self-explanatory, so I'll try to stay modest.
Currently I feel this step as yet another way how to send a word about QetriX, but maybe it will catch on and somebody will rub the code into my face, which will ultimately make me a better programmer :)
On the other hand I'm little worried people may have problems with my way of coding. My programming is mostly "just enough". I don't build vast object schemas and in PHP I still prefer the old function way, because it's faster and less greedy for resources. I'm aware, that bloated code is mostly but fixes, but IMO less code means less things could go wrong.
Then, I don't comply to wide used coding standards, because on QetriX I'm trying to unify coding across various platforms, so I did quite a research on coding standards for particular languages, chose the most used and sticked with it. This includes using double quotes in PHP for strings, even if personally I prefer single quotes - just because in other languages single quotes are for char datetype, while double quotes are for strings.
Subscribe to:
Posts (Atom)