Gautier RSS – Sept. 30 – Streamlined

I took a different direction with the code for Gautier RSS earlier in September. I decided to reorganize the GUI in order to boost code clarity. A preview of how this code now looks is in the article, One Page C++14 GUI Tutorial. The rss reader has all of the same functions but the GUI code was cut to a fraction of the original size.

I kept all the SQL and XML code the same but I made it slightly less generic. Ironically, I did not introduce new data structures, but took the ones I had already defined and made their use more explicit. I was overusing std::map including maps of maps. That is useful for some solutions, but created less clarity. I still use std::map, but with more explicit structures for the elements.

I got rid of JSON for defining the GUI layout and now directly use the structures from FLTK. That has simplified the program considerably. You can see a glimpse of the difference through the GitHub browser. For example:

As of July 4th, 2016, the project had 15 files:

As of September 30, 2016 11:50 PM, the files has been reduced to just 5 files:github_gautierrss_20160930_files_committed

Gautier RSS Engine Sept. 2016 Version

The latest version looks as follows. Yet to be polished, but the code is now more manageable. One of the goals is to research graphics adjustments for 4K resolution among other things. The program was written in C++ and compiled with gcc version 6.2.1 20160916 using the -std=c++14 flag.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.