TiOPF/de

This is an old revision of TiOPF/de, edited by Swen at . The current revision is 29324.

Über

Das TechInsite Object Persistence Framework (tiOPF) ist ein Open Source framework von Delphi/Object Pascal Code, welches das Mapping eines objektorientierten Geschäftsmodells in eine relationale Datenbank vereinfacht. Das framework ist ausgereift und robust. Es wird in verschiedenen Standorten seit mehr als sieben Jahren eingesetzt. Es ist frei, Open Source und für den sofortigen Download mit dem kompletten Quellcode verfügbar.

Some of the key features of the tiOPF include:

Autoren

Peter Hinrichsen - Ursprünglicher Designer.
Graeme Geldenhuys - Portiert nach Free Pascal.

Lizenz

Mozilla Public License 1.1 (bitte kontaktieren sie den Autor, wenn die MPL nicht zur Lizenz ihres Projektes paßt)

Download

Das neueste stabile Release ist auf der TechInsite Seite zu finden.
Der neueste Entwicklungscode ist auf dem SubVersion Server wie folgt zu finden

svn co https://svn.sourceforge.net/svnroot/tiopf/tiOPF2/Trunk Source

Anmerkung: Der tiOPF Code ist kürzlich zu SourceForge umgezogen. Daher ist noch keine vorgepackte Zip Datei verfügbar. Der neueste Code kann dennoch von SubVersion heruntergeladen werden.

Ein einfacher Weg, um den Code zu bekommen, ist die Verwendung eines Kommandozeilen SVN-Clients wie folgt. Die Kommandos unterhalb werden die Source, Demos und Docs Verzeichnisse der tiOPF Version 2 auschecken.

 mkdir tiOPF2
 cd tiOPF2
 svn co https://svn.sourceforge.net/svnroot/tiopf/tiOPF2/Trunk Source
 svn co https://svn.sourceforge.net/svnroot/tiopf/tiOPF2_Demos Demos
 svn co https://svn.sourceforge.net/svnroot/tiopf/tiOPF2_Docs Docs

Versuchen sie die obige Verzeichnisstruktur beizubehalten. Sie ist viel leichter zu unterstützen und die Dokumentationserstellungsskripte werden ohne Modifikation funktionieren.

Abhängigkeiten / Systemvoraussetzungen

Status: Stabil (getestet unter Windows und Linux.)

Probleme: Keine

Installation

Die Packages

In dem Source\Compilers\FPC Verzeichnis gibt es 4 Packages.

tiOPF
Kernunits (nur Laufzeit Package)
tiOPFGUI
GUI bezogene Units und Komponenten (nur Laufzeit Package).
tiOPFGUIDsgn
Registers/Installs the components into the Lazarus component palette (design-time only package). The GUI components used under Lazarus are still experimental and under heavy development. It is recommended to get frequent updates from SubVersion if they are going to be used.
tiOPFHelpIntegration
Integrates the fpdoc generated help files into Lazarus's help system (design-time only package)

Die Installation

Optional

ANMERKUNG #1
I included the FBLib Firebird Library components as the default persistence layer for Free Pascal in the tiOPF.lpk package. That is the only one I use under Free Pascal/Lazarus. So make sure you have FBLib installed, or you need to remove it from the tiOPF package.

Persistence layers are controlled by a Compiler Directive under Compiler Options -> Other -> Custom Options. eg: LINK_FBL = FBLib components. For more all the available options see the end of the tiOPFManager.pas unit.

ANMERKUNG #2
For the Integrated Help to work, Lazarus needs to know how to find the html help files. Please read the tiOPFHelpIntegration.txt file located in \Source\Compilers\FPC for further instructions.

Verwendung

In Lazarus, open your project and add tiOPF as a Required Package (Project -> Project Inspector -> Add). Include tiObject in your uses clause. You are now ready to create object decending from TtiObject or TtiObjectList.

See the example projects in the Demos directory for additional examples.