v2.50 of tiOPF is now available at http://tiopf.sourceforge.net/
So what's tiOPF?
tiOPF is a Object Persistence Framework. That is, it is a framework based around saving your objects to, and loading them from, databases and/or flat files. See the overview for more details.
In a nutshell it lets you do things like:
var
user: TMyuser;
userList: TUserList;
...
user:= Tuser.CreateNew;
user.FirstName:= 'Sean';
user.LastName:= 'cross';
user.Save;
...
userList:= TUserList.Create;
userList.Load;
for user in userList do
...
tiOPF handles the saving and loading of objects to databases and flat files. You can swap between databases by initialising a new persistence layer.
Why should I care?
- tiOPF lets you code in objects rather than datasets (you can still use data aware controls though). This gives you more object orientated code
- tiOPF provides database independance
- Better code reuse. Because the persistance is separated out, you can use the same code across different databases and structures
- Easier unit testing (in my experience anyway). I find it much easier to setup objects and test them that to setup databases and test.
Links
Home page: http://tiopf.sourceforge.net/
Overview: http://tiopf.sourceforge.net/Doc/overview/index.shtml
Newsgroups: http://tiopf.sourceforge.net/Support.shtml