* * *

Author Topic: Datasnap like servers with FPC/Lazarus  (Read 766 times)

BSaidus

  • Full Member
  • ***
  • Posts: 224
  • lazarus 1.6.4 Win8.1 / cross FreeBSD
Datasnap like servers with FPC/Lazarus
« on: August 05, 2018, 07:16:14 pm »
Hi!
Is there any framework for FPC/lazarus that help to make Datasnap servers !?
Thanks you in advance.
lazarus 1.6.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6427
Re: Datasnap like servers with FPC/Lazarus
« Reply #1 on: August 05, 2018, 09:35:34 pm »
Afaik Datasnap is totally proprietary.


BSaidus

  • Full Member
  • ***
  • Posts: 224
  • lazarus 1.6.4 Win8.1 / cross FreeBSD
Re: Datasnap like servers with FPC/Lazarus
« Reply #2 on: August 06, 2018, 09:13:57 am »
Yes, I know,
But is there any similar technologie that helps to do that.
lazarus 1.6.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

Thaddy

  • Hero Member
  • *****
  • Posts: 6560
Re: Datasnap like servers with FPC/Lazarus
« Reply #3 on: August 06, 2018, 09:38:13 am »
You mean the concept of client server? Of course. Many. Datasnap is just one of those frameworks that abstract things (and makes things like the broker easier to handle)  away, but e.g. mORMot can do that, or Zeos, or... Sqldb... many more. Theoretically it would be possible to write an exact equivalent, but it is not necessary, nor would it simplify things: we tested and dropped datasnap in my Delphi days. It wasn't much better than its predecessor Midas, which we never used in production either. (AFAIK mORMot even started life as a replacement for Midas?)
« Last Edit: August 06, 2018, 09:42:10 am by Thaddy »
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

taazz

  • Hero Member
  • *****
  • Posts: 5257
Re: Datasnap like servers with FPC/Lazarus
« Reply #4 on: August 06, 2018, 11:01:58 am »
Yes, I know,
But is there any similar technologie that helps to do that.
Depends. what features do you need? are after a multitier application like kbmmw, mormot or relathinclient? do you need rest support? http? something else all together? It might be easier to recommend a library if you could define your goals instead.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

valdir.marcos

  • Sr. Member
  • ****
  • Posts: 418
Re: Datasnap like servers with FPC/Lazarus
« Reply #5 on: August 06, 2018, 11:21:57 am »
Is there any framework for FPC/lazarus that help to make Datasnap servers !?
More information about alternatives such as Indy, tiOPF, mORMot and REST Dataware that might help you:
Noob and JSON
http://forum.lazarus.freepascal.org/index.php/topic,41809.msg291869.html#msg291869

andrefm

  • Newbie
  • Posts: 1
Re: Datasnap like servers with FPC/Lazarus
« Reply #6 on: August 09, 2018, 06:54:05 am »
You can try https://www.restdw.com.br/ is a great project and you can use with Delphi or Lazarus. The downside for some is that most information is available in Portuguese only

BSaidus

  • Full Member
  • ***
  • Posts: 224
  • lazarus 1.6.4 Win8.1 / cross FreeBSD
Re: Datasnap like servers with FPC/Lazarus
« Reply #7 on: August 09, 2018, 09:09:23 am »
Thank you for your advices.
I'll investigate in my side about what would be convinient to me.
thank you.
lazarus 1.6.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

edwinyzh

  • New member
  • *
  • Posts: 32
Re: Datasnap like servers with FPC/Lazarus
« Reply #8 on: Today at 11:45:53 am »
I personally strongly recommend mORMot and I have several projects are based on it. mORMot is very feature-rich, very fast, fully documented and the author @ab is extremely helpful (just see it by looking at their forum).

I'd suggest to go from the samples:
https://github.com/synopse/mORMot/tree/master/SQLite3/Samples

And this getting started blog post series:
https://tamingthemormot.wordpress.com/

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus