Recent

Author Topic: framework to write webservices on Lazarus/FPC  (Read 1342 times)

BSaidus

  • Sr. Member
  • ****
  • Posts: 303
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
framework to write webservices on Lazarus/FPC
« on: October 21, 2019, 02:46:45 pm »
Hellllllo !!
Is there framework to write webservices on Lazarus/FPC.
What you recommande me if there is ?

Thanks in advance.
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

XyberX

  • New Member
  • *
  • Posts: 40
Re: framework to write webservices on Lazarus/FPC
« Reply #1 on: October 21, 2019, 10:44:13 pm »
 REST Dataware https://forum.lazarus.freepascal.org/index.php/topic,47141.0.html and now with English tutorial and BinaryRequest who bring data with so much more performance.

Thaddy

  • Hero Member
  • *****
  • Posts: 9183
Re: framework to write webservices on Lazarus/FPC
« Reply #2 on: October 22, 2019, 07:29:13 am »
For webservices based on WSDL you need my first link in the other post. See the wiki.
also related to equus asinus.

avra

  • Hero Member
  • *****
  • Posts: 1717
    • Additional info
Re: framework to write webservices on Lazarus/FPC
« Reply #3 on: October 22, 2019, 09:46:32 am »
You can also find JsonRPC based CeosMW in OPM:
https://github.com/jbsolucoes/ceosmw
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

BSaidus

  • Sr. Member
  • ****
  • Posts: 303
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: framework to write webservices on Lazarus/FPC
« Reply #4 on: October 22, 2019, 10:55:54 am »
Thanks you for your help.
 :)
I discovered also mORMot that can do that,
So what you say about mORMot ?.

thanks
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

Thaddy

  • Hero Member
  • *****
  • Posts: 9183
Re: framework to write webservices on Lazarus/FPC
« Reply #5 on: October 22, 2019, 11:32:24 am »
mORMot is very well written and supported.
If you start with such code it is excellent. I use it myself on some of my own websites.
It is also well documented, although a bit complex/daunting for beginners.
Note all options given in this thread are proper options (with the exception of being able to handle wsdl, which is needed for the standard: webservices (ISO/IEC PAS 17963:2012 et al) are a standard) for interactive websites.
Just test all of them and make a choice what is comfortable to you. All of them contain good example code.
For inter-operability in commercial applications I would recommend using one of the solutions that fully supports those standards, though.
« Last Edit: October 22, 2019, 11:41:55 am by Thaddy »
also related to equus asinus.