Communications · Foundation · Libraries · Uncategorized

Binary Serialization with Google Protocol Buffers

Google’s Protocol Buffers are a flexible, compact and extensible mechanism for serializing structured data. We share our implementation that makes it easy to serialize Delphi records to a binary format that is 100% compatible with the Protocol Buffers specification. Want to go straight to the source? You can find it on GitHub in our GrijjyFoundation… Continue reading Binary Serialization with Google Protocol Buffers

Communications · Foundation · Uncategorized

Scalable Linux sockets for the cloud, Part 3

In this article we will show how to use Delphi’s new Linux compiler to expand our HTTP and TCP client base classes to also run on Linux. On Windows we used IOCP to create a highly scalable client, and on Linux we will use EPOLL to also create a scalable client. We will extend the… Continue reading Scalable Linux sockets for the cloud, Part 3

Communications · Foundation · Uncategorized

Scalable HTTP sockets for the cloud, Part 2

In this article we will expand on our TgoHttpClient class by adding some core new features including non-blocking http responses, unifying HTTP 1.1, HTTP/S and HTTP/2 support into a common class, incremental data transfers, various fixes and performance improvements. In a previous article we discussed the scalable client socket problem and how it creates a… Continue reading Scalable HTTP sockets for the cloud, Part 2

Communications · Foundation · Uncategorized

Receiving push notifications from Apple’s Push Notification and Google’s Firebase Cloud Messaging services

In the previous article we demonstrated how to roll your own Google Firebase Cloud Messaging and Apple APNS push notifications from Delphi apps in a unified manner. This article continues the conversation about how to easily receive and consume them in your Delphi mobile app. Introduction If you are authoring a Delphi service for the… Continue reading Receiving push notifications from Apple’s Push Notification and Google’s Firebase Cloud Messaging services

Communications · Social · Uncategorized

Embed Facebook SDK for Android in your Delphi mobile app (Part 2)

In this article we will demonstrate how to embed the Android SDK for Facebook for using the Facebook APIs and simplifying social login in your mobile app. The techniques discussed in this article are also universal for adapting other 3rd party Android SDKs into Delphi apps. Part 1 focuses on Facebook/iOS, Part 2 focuses Facebook/Android,… Continue reading Embed Facebook SDK for Android in your Delphi mobile app (Part 2)

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