Foundation · Libraries · Uncategorized

Efficient and easy-to-use JSON and BSON library

We share our efficient and easy-to-use JSON and BSON library that supports a Document Object Model (DOM), direct reading and writing in JSON and BSON format, and automatic serialization of Delphi records and classes to and from JSON and BSON. Why another JSON library? There are already quite a few JSON libraries out there, so… Continue reading Efficient and easy-to-use JSON and BSON library

Communications · Social · Uncategorized

Using Facebook SDK native framework for iOS and Android for Social Login and more (Part 1)

In this article we will demonstrate how to embed the iOS framework SDK for Facebook so you can present a more professional social login feature for users of your app. We will also show how to perform various Facebook SDK requests transparently for the user from your client app using the Facebook SDK framework instead… Continue reading Using Facebook SDK native framework for iOS and Android for Social Login and more (Part 1)

Communications · Uncategorized

Sending iOS (and Android) remote push notifications from your Delphi service with the HTTP/2 protocol

In this article we are going to discuss how to make a base unifying class for sending remote push notifications from your service to both the iOS (Apple Push Notification Service) and Android (Firebase Cloud Messaging) as well as covering how to use the newer Apple HTTP/2 protocol interface for sending push notifications from Delphi.… Continue reading Sending iOS (and Android) remote push notifications from your Delphi service with the HTTP/2 protocol

Communications · Uncategorized

Using the Google Cloud Platform APIs

This article covers how to use the Google Cloud Platform in conjunction with the Google Compute Engine to call various Google APIs. In this article we show how to call the new Speech-To-Text API from a backend instance running on the Google Compute Engine. If you are creating services for the cloud these days then… Continue reading Using the Google Cloud Platform APIs

Foundation · Uncategorized

Expand your Collections collection – Part 2: a generic ring buffer

We continue our tour of custom collections with a generic ring buffer. What is a ring buffer? A ring buffer (also known as a circular buffer) is a fixed-size buffer that is connected end-to-end. It is similar to a queue in that behaves like a FIFO (First-In-First-Out) buffer. But unlike a queue, it does not… Continue reading Expand your Collections collection – Part 2: a generic ring buffer

Databases · Uncategorized

Working with big data databases in Delphi – Cassandra, Couchbase and MongoDB (Part 2 of 3)

This is the second part of a three-part series on working with big data databases directly from Delphi. In this second part we focus on a basic class framework for working with Couchbase along with unit tests and examples. Part 1 focuses on Cassandra, Part 2 focuses on Couchbase and Part 3 focuses on MongoDB.… Continue reading Working with big data databases in Delphi – Cassandra, Couchbase and MongoDB (Part 2 of 3)

Foundation · Tips & Tricks · Uncategorized

Unit Testing Generic Types

So you created a generic class. Maybe a specialized generic collection, like a generic set. Professional as you are, you are going to need some unit tests for this class. But how do you test a class that can have so many variations depending on the type argument. You could write test cases for just… Continue reading Unit Testing Generic Types