Chapter 3. Knowing Your Friends – the Delphi RTL

In this chapter, we will cover the following recipes:

  • Check strings with regular expressions
  • Consuming RESTful services using native HTTP(S) client libraries
  • Cope with the encoded Internet world using System.NetEncodings
  • Save space using System.Zip
  • Decouple your code using a cross-platform publish/subscribe mechanism

Introduction

Don't reinvent the wheel! Many programmers ignore what the big Delphi RTL can offer them. Some old time Delphi lovers continue to write the code like they wrote years ago. The new language features and a better attention to the community, let Embarcadero add many useful classes in the Delphi RTL, and if you don't know them well, risk to reinvent the wheel or simply write inefficient ...

Get Delphi Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.