by bluedino · 13y ago · 0 comments
http://blog.backblaze.com/2008/12/15/10-rules-for-how-to-wri...
Rule #2: Factor out the GUI into non-reusable code – then develop a cross-platform library for the underlying logic
I'd like to hear others experiences and views with doing that as opposed to using something like QT or GTK.
Using MVC, it's more straightforward what components are specialized per OS and which ones are common.
Not only that, having native apps would make the app UX "feel" better too.
I'm using libuv, SQLite, CurveCP/NaCl and MessagePack for the cross-platform stuff, and the rest of the code is straight C (which I prefer to C++). So far, it's working well, although it did require more effort to set up initially, primarily due to multi-threading.