ORM for DELPHI win32 [closed]
Asked Answered
S

11

33

Does anyone know about an ORM or something similar for Delphi Win32.

Shroff answered 7/1, 2009 at 22:23 Comment(0)
T
20

Marco Cantu is a big believer in InstantObjects:

http://www.instantobjects.org/

Others include DObject:

http://www.macrobject.com/en/dobject/

and tiOPF

http://tiopf.sourceforge.net/Doc/overview/index.shtml

You also might be interested in the G Framework:

http://code.google.com/p/g-framework/

Toddtoddie answered 7/1, 2009 at 22:26 Comment(0)
H
11

Another Open Source ORM for Delphi 6-XE2, which is JSON based and Client/Server.

Can use its own in memory database layer or embedded SQLite3 database engine: http://blog.synopse.info/category/Open-Source-Projects/SQLite3-Framework

Edit: A lot of improvements to this active framework, since this question was answered. It is able now to connect to any third-party database, and is changing its name: it is now called the mORMot framework.

Handbreadth answered 24/1, 2010 at 10:58 Comment(1)
The framework is now able to connect to any other database - see blog.synopse.info/category/Open-Source-Projects/…Handbreadth
D
10

There are a few, some of the more tried and tested are...

Bold

TiOPF

And RemObjects also has a schema Mapping technology that is worth investigating

Damron answered 7/1, 2009 at 22:33 Comment(1)
Bold is clearly the best ORM framework for Delphi Win32. But it is not available anymore from Codegear/Embarcadero. I don't understand how that company thinking about this!Tetrastichous
T
9

TMS Software is working on an ORM framework for Delphi: TMS Aurelius should be soon released :

TMS Aurelius

EDIT: It's been already released, official site is http://www.tmssoftware.com/site/aurelius.asp

Toxicogenic answered 22/11, 2011 at 13:35 Comment(1)
I am using it for an year now. It is bugs free, stable, support is awesome. It is helping me create a big application much more easily. I recommend.Dneprodzerzhinsk
R
6

Another ORM for Delphi, which seems to be in active development, is hcOPF

The project is open source licensed under LGPL/MPL and hosted on SourceForge at http://sourceforge.net/projects/larryhengensopf/.


dorm, “The Delphi ORM by Daniele Teti, was officially published at ITDevCon, there is an introduction here. It works with PODOs which have no knowledge of the ORM.

Rancher answered 5/11, 2010 at 6:49 Comment(0)
B
5

New in 2011: DORM - http://code.google.com/p/delphi-orm/. Some documentation can be found on author's blog.

Bax answered 23/11, 2011 at 13:8 Comment(1)
In the Sample folders there are all the samples shown at ITDevCon2013 conferences. The samples starts from the very beginning and explain all the main features.Misdirection
T
3

Visit http://code.google.com/p/persiphi/ if your are addicted to Delphi 2010 or upper.

Edit: Dead link as the owner likely has renounced to opensource it. Nevertheless, his master thesis work in portugese (pt-br) is still available here. A good source of inspiration for those in search of sample using latest bleeding edge features of Delphi (Annotation, Rtti...) in the realm of object persistence.


UPDATE 1:

DevArt has released EntityDAC - An ORM for Delphi with LINQ support!

EntityDAC

It works even with D11 (Delphi 2007).


UPDATE 2:

Marshmallow ORM framework by Linas Naginionis.

It has joined join the outstanding Spring4D project as a feature branch as announced here.

To keep abreast of the latest news head to the Marshmallow Google+ thriving Community page.

Dubbed MM ORM Framework by its author, it's a promising one.

Trimming answered 9/5, 2011 at 5:47 Comment(1)
guidok, member of the outstanding Delphi-PRAXIS forum, has also written a simple persistence framework. You can find it here. You must register so as to download it.Trimming
F
2

Jazz SDK, ORM is a part of the OPF part

http://jazz-sdk.googlecode.com

Fredericafrederich answered 7/1, 2009 at 22:53 Comment(1)
@Cesar Romero: Can you publish some entreprise application level sample project sample using jazz sdk ?Trimming
P
2

Here you have one: http://code.google.com/p/delphiorm/

Pioneer answered 17/10, 2009 at 21:45 Comment(0)
C
1

I tried Remobject Data Abstract for 1-2 year in some real world projects.

Some features are good (a very good binary comunication protocol), some other are simply pitfalls (it adds a something of chaotic code and you have to pass dialog by dialog every change you made on the schema).

It's good you define a schema of the model, it's bad you miss much of the power of SQL (es grouping by, a easy to use join, ecc).

I think that it's hard to fit a good ORM on top of the old VCL and TDataSet.

DatAbstact was a try but at the end I rewrited my application in another language because a good ORM and a good framework is a must have for a good application.

VCL is simply too old to fit well with modern concepts of application development.

Anyway i tried InstantObject and Bold, are two good ORM frameworks but not more supported.

Cultch answered 18/5, 2011 at 18:55 Comment(1)
I currently working to make Bold as opensource. It is ready for Delphi XE10 now. I think there is a decent chance for success.Tetrastichous
B
0

Trysil is a "lightweight" ORM for Delphi and supports:

  • FirebirdSQL
  • Microsoft SQL Server
  • PostgreSQL
  • SQLite.

https://github.com/davidlastrucci/Trysil

Bazan answered 27/4, 2023 at 14:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.