Category: Technical

Rolling your own Dependency Injection, Part two

In Part 1 we covered the beginnings of rolling your own Dependency Injection framework as an alternative to using the Delphi Spring Framework. We discussed the patterns and objects involved and described using RTTI to perform the actual injection. Now we’ll look at an example of using DI to inject logging functionality into an object.… Continue reading ›

Posted in Coding Techniques, RTL

A use for code folding

Here’s my tip on how to use the IDE’s code folding feature for good rather than evil.… Continue reading ›

Posted in IDE, Language

Using Images When Developing For iOS

This post will explain how to avoid blurred images on your iPhone and iPod touch with Retina display. It may contain nothing interesting for people that already have some knowledge of iOS development or have at least read some books or articles about it.… Continue reading ›

Posted in FMX, iOS Tagged with:

Creating a Dock Shortcut for Platform Assistant (paserver) on a Mac

It may be handy to create a “shortcut” to start the paserver application without typing the password. I forgot the password I used at OS X profile a few times and this solution solved my problem. To do this simple task I used Apple Script.… Continue reading ›

Posted in IDE, Mac OS Tagged with: ,

Delphi Headers now available for VLC

VLC (VideoLan Client) is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocol. It can also act as a video on demand broadcaster.

While it has had an external control mechanism for a number of years, it has never been what could be called Delphi friendly.… Continue reading ›

Posted in Tools, VCL

Rolling your own Dependency Injection

What if you want to employ the Dependency Injection pattern in your application, but don’t want to use a third party framework for it?… Continue reading ›

Posted in Coding Techniques, RTL

How to Create Your Own FireMonkey Image Effect

Before I start, I would like to mention that my knowledge on pixel shaders is pretty limited, but I’ll share what I have done in last few days after some research on the internet and after playing around with the FireMonkey GPU powered image effects.… Continue reading ›

Posted in FMX Tagged with: ,