Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

SpecDemo

Demonstration of Specifications

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Specification Pattern in Delphi

A simple demon on using the Specification Pattern in Delphi to make business rules easier to read, reuse, and compose.

It uses a small Order domain example and shows how simple specifications can be combined in a service layer to express meaningful business rules cleanly.

May be of interest to Delphi developers working with business logic and looking for an alternative to long, repeated conditional code.

The demonstration uses code from Project Galahad, which is currently under development.

SpecDemo