Feb 17
Great news for all the dorm and Spring4D users!
As you probably know, finally has been announced the official Spring framework for Delphi.
There is a lot of good technology in Spring4D!
So, I’m glad to announce that in a future version (hopefully, the next one) dorm, “The Delphi ORM” will use Spring4D and will become the ORM part of Spring4D.
So, dorm will be part of the Spring4D framework.
More info to come, so stay tuned.
Feb 02
This is the first “Hello World” for my Delphi MVC Web Framework.
-
-
program DelphiMVCWebFramework;
-
-
{$APPTYPE CONSOLE}
-
-
uses
-
System.SysUtils,
-
MVCEngine in 'MVCEngine.pas',
-
BaseController in 'BaseController.pas';
-
-
var
-
mvc: TWebMVCEngine;
-
begin
-
mvc := TWebMVCEngine.Create;
-
mvc.AddRoute('/', procedure(Context: TWebContext)
-
begin
-
Context.Write('Hello World');
-
end).Start(8080);
-
ReadLn;
-
mvc.Free;
-
end.
Features list (some of them are in the internal roadmap)
Jan 03
This is the second post regarding a fast update on the last changes to the dorm project in terms of management and code.
- Welcome to 2 new contributors: Marco Mottadelli and BraveCobra (this is the full list http://code.google.com/p/delphi-orm/people/list)
- Added 2 new PersistentStrategy for MSSQLServer based on dbExpress (the 1st use the Embarcadero dbExpress driver, while the 2nd use the DevArt dbExpress driver)
- Added another PersistentStrategy for MSSQLServer based on ADO (so also Delphi Professional users can use dorm with MSSQLServer)
- The new mapping strategy is under development. There will be “3 levels” of mapping: Config File, RTTI Attributes and “Conventions Over Configuration” (CoC) (do you wanna check the code in dev branch? Click here)
- Added more unittests
- Roadmap updated
- Introduction to dorm, now is a PDF document
- The config file has been splitted in “Persistence” and “Mapping” for a more flexible configuration
- Added packages (Thank you BraveCobra)
- Added MappingCreator. Now you can create the mapping file using an existent database.
- IWrapperList (a duck typed list) now is used EVERYWHERE! You can use whatever list from whatever library you want to use. The list must have only a specific methods named as following: Add, Clear, GetElement/GetItem, Count
- Added FillList methods
There are plenty of new features still to come. Stay tuned!
Nov 02
As all the attendees have seen, at the last ITDevCon, I’ve officially published dorm as an OpenSource project.

dorm, The Delphi ORM
You can find the project on google code: http://code.google.com/p/delphi-orm/
An introduction to dorm is available on google docs.
dorm begins as a my personal project more than one year ago, and now is sponsored by bitTime Software that offers custom development, consultancy, mentoring and so on.
Why dorm?
These are my personal reasons of because I’ve started to write dorm:
I WANT an ORM for Delphi… but:
I dont want (or I cant) change my database
I want persistence ignorance
I want to access to the «metal»
I want to persist PODO
I don’t hate SQL, but I know that 90% of it is boilerplate and errors prone
First example

Insert and retrieve object with dorm
You can persist anything you want.
bitTime actively use dorm, so it’s continuosly updated and evolved.
Repeat, you can find the project on google code and an introduction to dorm is available on google docs.
Let me know what do you think about.
Do you need an ORM like dorm in Delphi?
Recent Comments