Lazarus

Programming => General => Topic started by: BSaidus on October 21, 2019, 02:46:45 pm

Title: framework to write webservices on Lazarus/FPC
Post by: BSaidus 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.
Title: Re: framework to write webservices on Lazarus/FPC
Post by: XyberX 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.
Title: Re: framework to write webservices on Lazarus/FPC
Post by: Thaddy 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.
Title: Re: framework to write webservices on Lazarus/FPC
Post by: avra on October 22, 2019, 09:46:32 am
You can also find JsonRPC based CeosMW in OPM:
https://github.com/jbsolucoes/ceosmw
Title: Re: framework to write webservices on Lazarus/FPC
Post by: BSaidus 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
Title: Re: framework to write webservices on Lazarus/FPC
Post by: Thaddy 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.
TinyPortal © 2005-2018