quinta-feira, 23 de outubro de 2014

Delphi mORMot with LINUX

POST #038 =======================================================================
It would be really nice to have Delphi mORMot targeting various OS and hardware platforms, into the Windows Delphi IDE.
It seems like a dream! There's a project called CrossFPC that generates binaries natively:
# 32 Bit Windows
# 64 Bit Windows
# 32 Bit x86 Linux
# 64 Bit x86 Linux
# ARM Kirkwood / SheevaPlug / GuruPlug
# ARM Android

This week, a guy named Alfred (Alf from Consulab) created a patch to enhance compatibility to FPC. Now, mORMot - demoniac version is nearly 100% complete! Thanks Alfred and AB. Our little  mORMot, with the latest unstable FPC (Free Pascal Compiler) can be compiled under Linux using Lazarus or CodeTyphon. Basic Restful ORM run perfectly on Linux (i386 and ARM) and (somewhat) running on Raspebery Pi, but interface-based SOA needs RTTI for all methods.

Unfortunately, FPC 2.7.1 does not allow to write interface-based services yet, due to a awful limitation in its RTTI support. See at: http://bugs.freepascal.org/view.php?id=26774  Sadly, the FPC team does not seem willing to fix it soon. 

Delphi mORMot currently is not ready to use services (interface based services) in non-windows platform because the FPC RTTI issue, but Yes! method-based services do work! Delphi mORMot allows for datastorage in a very structured and portable manner and we compile services methods under Linux.


This is pretty crazy, isn't it?

warleyalex from Sete Lagoas, MG.

Tags: Delphi mORMot with Linux; mORMot, demoniac version; Restful ORM with Linux server.