Reading XML Config files with C++ and TinyXML in Linux

I’m currently working on a C++ FOSS project that requires to read configuration settings from file. In .NET this is pretty straightforward to do via ConfigurationManager class, so I had to write my own using TinyXML Source code as shown below: Config.xml Setting.h ConfigReader.h ConfigReader.cpp The elements in XML file are treated as models that […]

Continue Reading

SIF (Service Integration Framework) on github

Hi Community, Please find here https://github.com/angelhernandezm/SIF-Service-Integration-Framework the source code for SIF. SIF was a project I started working on to overcome some of the limitations and issues found in CCF, CCA and USD. One of the design principles was to have less dependencies in assemblies that are required to be distributed along with the solution, […]

Continue Reading

Recipe – Recursively find specific files on Windows through C++ lambda expression

Hi Community, I’m sorry for having been “absent” in the past few months, but I had been commuting (7 months)  interstate working on this important project for this department in federal government. I hope to catch up with the blogging and continue contributing as I have done in the past. Today’s post is about a […]

Continue Reading

Implementing LINQ’s Enumerable methods in C++ with GCC and CLion for Linux

Hi Community, Today’s post is about my personal implementation of some Enumerable methods available in .NET but written in C++.  My implementation is pretty generic, because it uses a template class that returns a std::vector<T> as if it were IEnumerable<T>. C++ has always provided templates to allow developers write generic code; even when they might […]

Continue Reading

Building native *nix solutions with C++, GTK+ and SQL Server vNext

Hi Community, This is the fourth and final post of this series on GTK+ and Linux development with C++ and SQL Server vNext. The purpose of this post is to walk you through a demo application I’ve written using a few different technologies, tools and patterns as listed below: C++ CLion Glade SQL Sever vNext MVC […]

Continue Reading

Exposing functionality in C++ parent class to children classes through proxies

Hi Community, Today’s post is about a common scenario we might face when building software. Sometimes, we have a parent class which contains a child member or property that requires to trigger or execute code that exist in the parent. It is a common practice to pass a reference to the container or parent, even […]

Continue Reading

Displaying tabular data in a GtkTreeView

Hi Community, As a follow up to Yesterday’s post on Linux development with C++, GTK+ and SQL Server vNext. Today’s post is about GtkTreeView and how we can use it to display tabular data, as we’re used to do with a DataGrid in .NET, but first it’s worthy to start with an introduction to GTK+. […]

Continue Reading

Replicating C#’s using statement functionality in C++

Hi Community, Today’s post is about a project I’ve recently started working on, it’s a C++ application for Linux built with GTK+ and SQL Server vNext for Linux. I’m also using CLion which is my favorite cross-platform IDE when doing plain C++  and Glade as my UI editor. I chose not to use Qt, because I’d […]

Continue Reading

FTPS client for xamarin based apps

Hi Community, Today’s post is a quick recipe to enabling FTPS capabilities to our Xamarin applications. Please refer to code below to see it fully. Angel ObjectInfo Class using System; namespace WebUtils { /// <summary> /// /// </summary> public class ObjectInfo { /// <summary> /// Gets or sets the name. /// </summary> /// <value> /// […]

Continue Reading