MariaDB is a popular open-source relational database management system (RDBMS) that is designed to be a drop-in replacement for the MySQL database system. It was developed as a community-driven fork of MySQL after concerns arose about the acquisition of MySQL by Oracle Corporation. MariaDB is known for its speed, scalability, and robustness. It offers features […]

Grails MariaDB In Action

To initiate the compile step issue the following command. [codesyntax lang=”bash”] grails compile [/codesyntax] To create the domain class issue the following command. [codesyntax lang=”bash”] grails create-domain-class ttd [/codesyntax] Navigate to the following domain and modify it to reflect the following. [codesyntax lang=”cpp”] package demo01 class Ttd { String name Date startDate Date endDate Boolean […]

MariaDB Grails

MariaDB is a popular open-source relational database management system that is a fork of the MySQL database. Grails, on the other hand, is a web application framework for the Java platform. It is based on the Groovy programming language and uses the Model-View-Controller (MVC) architecture. To use MariaDB with Grails, you need to set up […]

c++ Coding Standards 001

The preferred method of looping through data or sets is the for-next-loop.  In the example below a list box is populated from a collection of MySQL data records. [codesyntax lang=”cpp”] void dlgDe2::PopLb() { size_t iend = da.kjbill_read(); for (int ii=0; ii < iend; ii++) { lbxItems->Append(std::to_string(da.kjbilla[ii].id) + ” ” + da.kjbilla[ii].item); } } [/codesyntax] The […]

Install Archlinux Server

This article is a baseline for installing Archlinux. To install the base Archlinx system follow this link. Once the base system is installed proceed to create a LAMP stack by following this video. Now we will install Kubernetes by folling this tutorial. Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

QT Tree View App

Our header file is below. [codesyntax lang=”cpp-qt”] #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QTreeWidgetItem> #include <QMainWindow> #include <QtSql> QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = nullptr); ~MainWindow(); private slots: void on_pushButton_clicked(); void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column); private: Ui::MainWindow *ui; void addRoot(QString cats, QString id1); […]