Skip to Main Content
Mastering Delphi Programming: A Complete Reference Guide
book

Mastering Delphi Programming: A Complete Reference Guide

by Primož Gabrijelčič
November 2019
Beginner to intermediate content levelBeginner to intermediate
674 pages
15h
English
Packt Publishing
Content preview from Mastering Delphi Programming: A Complete Reference Guide

Observing with Spring

The next two examples show how we can simplify our code by using support for the observer pattern that is built into the wonderful Spring4D library (https://bitbucket.org/sglienke/spring4d).

Both programs that I'll present—SpringObserver and SpringMulticast—require the Spring4D library to function. To run any of them, you'll have to install this library and then add its folders, Source and Source\Base, to Delphi's Library path or to the project's Search path. If you unpack the library into the Chapter 15\Spring4D folder, the project's Search path will already be correctly configured and you can simply press F9 to run the program.

If you have git installed, you can execute the following command in the Chapter 15 folder  ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Delphi GUI Programming with FireMonkey

Delphi GUI Programming with FireMonkey

Andrea Magni
Delphi Cookbook - Third Edition

Delphi Cookbook - Third Edition

Daniele Spinetti, Daniele Teti

Publisher Resources

ISBN: 9781838989118Other