Sign in Join
Wiki copytemporary

multi-tier options with fpc

Overview

Free Pascal doesn't support multi-tier database development out of the box. The good news is that there are a few options available.

tiOPF

tiOPF supports multi-tier development with Free Pascal. It uses the Indy 10.5's HTTP client and server components. It packs the SQL statements or data in XML, then compresses it with zlib, and then base64 encodes it, before sending the data packet over the wire. That greatly reduces the packet size, and thus leads to faster transfers.

With tiOPF based database applications, you can switch your application from local storage (XML, CSV or TAB) to Client/Server or to multi-tier, simply with a change of a compiler define. No need to change a single line of code in your application. See Demo 18 (Address Book demo) in the source code repository for a feature complete example of what tiOPF can do.

Laz-n-tier

Laz-n-tier is a datasnap alternative for Lazarus. Some of its features are discussed in this Lazarus forum thread.

Synopse mORMot

Synopse mORMot is an Open Source Client-Server ORM (Object-Relational Mapping) SOA (Service Oriented Architecture) MVC (Model View Controller) framework for Delphi 6 up to Delphi 10.3 Rio and Free Pascal, targeting Windows/Linux for the server, and any platform for clients (including mobile or AJAX).

More alternatives

More alternatives may perhaps be found on the FPC Forums. If so, please update this page.


From the Free Pascal wiki, page "multi-tier options with fpc", as it stood on 2020-07-05 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 5 people, 2011–2020

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
GgeldenhuysNew page: Free Pascal doesn't support multi-tier database development out of the box. Good news is that there are a few options available. * tiOPF finally supports multi-tier development with F...
Chronoscategory
Ggeldenhuyscorrections to the tiopf information
BigChimpLayout, category. Tiopf "finally" supports=>remove finally; it's been there since 2011
BigChimptiOPF (minor)
Mathias Burbachadded open source project mORMot
TrevSynopse mORMot: Fix typo; clarify acronym meanings; fi wiki markup (minor)
TrevLaz-n-tier: Fix wikt markup; fix forum url (minor)
TrevSynopse mORMot: Adde new section heading (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.