Delphi for Linux: Enterprise / Architect Only + ARC Imposed = … ?

[Estimated Reading Time: 2 minutes] With the lack of any easily available information from Embarcadero, in yesterday’s post I had to speculate as to the cost that might be involved with the new Delphi for Linux. According to comments it seems that I was being overly generous by suggesting that only a Pro Edition of Delphi would be required (so much for people who think I go out of my way to criticize). Unfortunately this does now appear to have been confirmed in the latest “amnesty” email from Embarcadero.

On Delphi for Linux…

[Estimated Reading Time: 2 minutes] It has been difficult to avoid the fuss being made about the “new” Linux support in Delphi. It’s almost as if they didn’t have a Linux offering more than 15 years ago. I refer of course to Kylix, which failed in no small part due to the quality and the cost of the tool, for a platform where “free” was the more usual expectation and open source means being able to fix your own tools instead of waiting for the vendor to deign to offer a maintenance release. So what better chance does a Delphi with Linux support stand this time around ? Let’s see…

Anonymous Classes: Implementing Interfaces

[Estimated Reading Time: 4 minutes] A few years ago (2011 to be precise) someone asked a question on StackOverflow about support for anonymous classes in Delphi. The reason for the question was that the poster was trying to use Delphi to develop for Android and on that platform the widespread use of callback interfaces makes anonymous classes highly desirable.

Retrofit – Handling Different Responses

[Estimated Reading Time: 3 minutes] In my previous post I provided a simple example of how to use Retrofit to define, create and use a REST API client. Even in that simple example the issue of how to deal with different responses to a request came up. That is, where the response we receive does not conform to the strongly typed response we expected (or hoped for). Here’s how we deal with that, in a strongly typed way.

Using Retrofit with Oxygene

[Estimated Reading Time: 5 minutes] I’ve recently been working on a new project involving an Azure hosted ASP.NET MVC WebApi application (actually a pair of them) and native mobile and web applications. Everything is – of course – built using Oxygene. For the Android mobile app I was looking for a REST API client library and have settled upon Retrofit and thought I would share the experience.

Mix-in Unified and Segregated Syntax: An (Extended) Example

[Estimated Reading Time: 5 minutes] Yesterday I initially posted that you couldn’t mix Unified Syntax with “traditional” interface and implementation sections. Or what I am now calling Segregated Syntax. As sometimes happens, shortly after writing what I thought I knew to be true I discovered it wasn’t ! Sorry about that. 🙂 I promised to illustrate the scenario where I found it both possible and useful, and here it is.