tiOPF

From Free Pascal wiki
Revision as of 23:40, 20 April 2006 by Ggeldenhuys (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) italiano (it) 日本語 (ja)

About

The TechInsite Object Persistence Framework (tiOPF) is an Open Source framework of Delphi/Object Pascal code that simplifies the mapping of an object oriented business model into a relational database. The framework is mature and robust. It has been in use on production sites for over seven years. It is free, open source, and available for immediate download with full source code.

Some of the key features of the tiOPF include:

  • Lets you build an object oriented application that can swap databases with the flick of a command like or registry switch. Currently, there are persistence layers for Interbase-IBX, Oracle-DOA, XML-MSDOM, Paradox-BDE, MSAccess & MSSQLServer-ADO, FireBird-FBLib, FireBird-SqlDB and CSV files.
  • Family of abstract base classes for building a complex object model
  • 27 Persistent object aware components for building complex GUIs (Delphi only).
  • Model-GUI-Mediators for enabling any standard GUI component to become Object Aware.
  • 1400+ DUnit/fpcUnit tests to guarantee stability
  • 160 pages of documentation to get you started
  • News groups for support
  • Automated, daily builds and unit testing
  • Lots of demos focusing on specific parts of the framework for easy learning.
  • Cross platform. Currently tested on Windows and Linux.


Authors

Peter Hinrichsen - Original Designer.
Graeme Geldenhuys - Ported to Free Pascal.

License

Mozilla Public License (please contact the author if the MPL doesn't work with your project licensing)

Download

The latest stable release can be found on the TechInsite page.
The latest development code can be found on the SubVersion server as follows

svn co http://tiopf.techinsite.com.au/svn/tiOPF/Trunk tiOPF

or downloaded as a nightly build zil file from [1].

Dependencies / System Requirements

  • Compiler: Free Pascal 2.0.2
  • Components for your required persistence layer, if it is not included with the compiler. eg: FBLib for FireBird RDMS.

Status: Stable (Tested on Windows and Linux.)

Issues: None

Installation

  • Unzip the zip file to a location of your choice.
  • Open Lazarus
  • Open the package tiOPF.lpk with Component/Open package file (.lpk) located in the Source\Compilers\FPC directory.
  • Click on Compile

Usage

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 read to create object decending from TtiObject or TtiObjectList.

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