Lazarus

Programming => General => Topic started by: elidorio on September 15, 2017, 05:43:50 am

Title: REST Dataware Componentes
Post by: elidorio on September 15, 2017, 05:43:50 am
Description
New version stable.
The proposal was fulfilled.
REST DW was created to facilitate the creation of CRUDs in the same model that we created applications for Client / Server Database.
Today to be able to write data in a Bank via WebService is very complex for simple operations, making scheduling of simple screens time-consuming.
With REST DW, you no longer have to worry about creating SQL Insertion, Deletion, Read and Execution methods via Webservice; Simply add a RESTDataBase connection component and add a RESTClientSQL component that will already have your SQL solution fully functional as it did back in the day and with all the power of modern REST / JSON technology with data compression and everything the language can offer,
Use it, have fun, and need support.
Skype: cyber_one27@hotmail.com
I am available.

Vídeos :
https://www.youtube.com/watch?v=6FVXT36j-7U

Blog : http://delphitotalweb.blogspot.com.br/
Site : http://www.resteasyobjects.com.br

REST Dataware Componentes Web Site
https://sourceforge.net/projects/rest-dataware-componentes/?source=directory
Title: Re: REST Dataware Componentes
Post by: XyberX on October 01, 2017, 10:58:21 pm
 News.

 CORE Version, Compiler to Lazarus Linux All Work.
 DB Ware Components With Cross Compiler Between Lazarus/Delphi 6 to Tokyo.
 Many Bug Fix.
 Support to BLOB Fields Add.
 Support To Memo Fields Add.
 Support To Master Detail.
 Sample to build one ERP Windows Delphi Add.
 Support to CalcFields Fixed.
 Server Lazarus Linux/Windows Add.
Title: Re: REST Dataware Componentes
Post by: mangakissa on October 02, 2017, 09:14:18 am
I wan to download your componments, but my Virus scanner (Avast) blokked my download by detecting a virus on the downloadfile
Title: Re: REST Dataware Componentes
Post by: XyberX on October 02, 2017, 10:44:31 pm
 Because many samples have compiled exe, disable the antivírus and try download.
 
 Forum : www.resteasyobjects.com.br
 Skype : https://join.skype.com/y9yQNdWbU7Do
Title: Re: REST Dataware Componentes
Post by: MatthewSav on October 08, 2017, 05:55:37 pm
I want to start a D-Bal cycle (https://www.sfgate.com/market/article/d-bal-review-16426190.php) and download your componments, but my Virus scanner (Avast) blokked my download by detecting a virus on the downloadfile

Had to disable my antivirus as well to download. So annoying.
Title: Re: REST Dataware Componentes
Post by: Graeme on October 13, 2017, 12:21:39 am
Had to disable my antivirus as well to download. So annoying.
Then uninstall your anti-virus software. The annoyances of false-positives will stop immediately, and as a bonus - your computer will run faster. Or use an OS that is not so prone to viruses - Linux, OSX and FreeBSD are your friends. ;-)
Title: Re: REST Dataware Componentes
Post by: XyberX on November 12, 2017, 09:01:08 pm
 Many Updates Commited.

 SSL Support.
 Full Lazarus Support, Build Server and Client Full Lazarus.
 Speedup.
 Many improvments Add.
Title: Re: REST Dataware Componentes
Post by: shayneoneill on November 30, 2017, 10:01:57 pm
Is there any chance of getting some english documentation or an english tutorial.

The only thing I can find is portugese videos that are very low resolution so I cant see whats happening and dont understand the speech. q

This seems in theory to be a game changer component set, but I cant really tell if they can work because i dont know how to start :(
Title: Re: REST Dataware Componentes
Post by: XyberX on December 11, 2017, 03:53:08 pm
 Enter on Skype Group, anyone can Help your, many speak english.
Title: Re: REST Dataware Componentes
Post by: tudi_x on December 11, 2017, 04:30:05 pm
you could consider not including the Lazarus exe which is 40 mb in the archive to lower it's footprint in 'Z:\RestEasyObjects876.rar\CORE\Samples\SimpleServerZEOS\Thread\Lazarus\'.

this would make anti virus programs also happier.

looks complex.
any thoughts of moving to github?
Title: Re: REST Dataware Componentes
Post by: BSaidus on August 28, 2018, 09:16:25 am
Hi people  :D,
I do some experiment with RESTDataware, but I have many problems doing it works with lazarus.
I have Lazarus 1.8.4/fpc-3.0.4.
I've compiled the server successfully and lunch it, and I'm trying to do a simple SQL select from a client, It gives me message: Internal server error.
PS, here is a screen shoot.
Title: Re: REST Dataware Componentes
Post by: BSaidus on September 23, 2018, 09:22:16 pm
Hi,
Did someone did a tests or benchmark about performance ??
  or
How performante Rest-DW are ??

thanks
Title: Re: REST Dataware Componentes
Post by: Groffy on November 14, 2018, 01:58:16 am
I've compiled the server successfully and lunch it

Did you convert the demo server project manually, or did you use the Lazarus converter?


Best regards
Title: Re: REST Dataware Componentes
Post by: BSaidus on November 15, 2018, 11:31:43 am
I've compiled the server successfully and lunch it

Did you convert the demo server project manually, or did you use the Lazarus converter?


Best regards

Just update the trunk and open \Demos\SimpleServer\Server\Lazarus\RestDWServerProject.lpi
Compile &  run.

Title: Re: REST Dataware Componentes
Post by: Groffy on November 15, 2018, 03:18:54 pm
Just update the trunk and open \Demos\SimpleServer\Server\Lazarus\RestDWServerProject.lpi
Compile &  run.

Thank you, I only looked at the \Demos\SimpleServerZEOS demo which has no Lazarus project



Title: Re: REST Dataware Componentes
Post by: Hydexon on November 25, 2018, 03:52:55 am
Hi, i just discovered this project looks promising, i have an couple of questions:

1. The REST DataAware has an Indy dependency, the Indy10 package from OPM is enough?, or i have to install Indy10 from that zip of the REST DataAware distribution package (located in the Extras/ folder)

2. The client components can be compatible to Server REST applications which aren't Object Pascal ones?, such Java Spring, Node.js or PHP, as long they follow the JSON rules of DataAware expects.

Thanks you.
Title: Re: REST Dataware Componentes
Post by: XyberX on January 17, 2019, 10:35:49 am
 Use the SVN version because is more actual.
 
 Work with JS requests and anothers, webpascal have support to all.
 On site www.restdw.com.br you have videos, and us skype support group, many of us help yours with yours questions.
 
 Thx guys.

 PS.: The benkmark support 1000000 of requests(Apache Linux and CGI RDW). All document about this on skype group.
Title: Re: REST Dataware Componentes
Post by: balazsszekely on January 17, 2019, 10:45:40 am
Both REST Dataware and Indy are frequently updated in OPM. Of course you can choose the SVN versions too if you like.
Title: Re: REST Dataware Componentes
Post by: avra on February 27, 2019, 09:35:06 pm
Could you please apply fixes for Lazarus packages so we do not get duplicated PPU warnings in IDE, as attached here:
https://forum.lazarus.freepascal.org/index.php/topic,34297.msg305863.html#msg305863

I have also found that trunk version compiles well on Lazarus 2.0 fixes and FPC 3.2 fixes, but it does not compile on Lazarus 2.0 fixes and FPC 3.0 fixes. In order to fix this compilation issue you need to open uRESTDWPoolerDB.pas and move ftFrmMemo (which does not exist on FPC 3.0.x) into the inside of existing ifdef right after it: {$IF CompilerVersion > 21}

Thanks!
Title: Re: REST Dataware Componentes
Post by: xinyiman on February 28, 2019, 08:25:54 am
On my Mac when i compile lazarus package return this error:

uRESTDWPoolerDB.pas(2866,81) Error: identifier not found: ftFrmMemo
Title: Re: REST Dataware Componentes
Post by: avra on February 28, 2019, 10:43:30 am
uRESTDWPoolerDB.pas(2866,81) Error: identifier not found: ftFrmMemo
Read my comment very carefully and you will see how to fix this error.
Title: Re: REST Dataware Componentes
Post by: xinyiman on February 28, 2019, 11:33:35 am
uRESTDWPoolerDB.pas(2866,81) Error: identifier not found: ftFrmMemo
Read my comment very carefully and you will see how to fix this error.
Thank you very much  ;)
Title: Re: REST Dataware Componentes
Post by: xinyiman on February 28, 2019, 11:41:43 am
Ok, now i install package. But when i open a RESTDWServerProject return RESTDWLazDriver not installed. Why?
Title: Re: REST Dataware Componentes
Post by: avra on February 28, 2019, 11:50:02 am
when i open a RESTDWServerProject return RESTDWLazDriver not installed. Why?
Did you install all 3 packages?
Title: Re: REST Dataware Componentes
Post by: xinyiman on February 28, 2019, 11:51:29 am
In packages -> lazarus exists only one lpk file
Title: Re: REST Dataware Componentes
Post by: avra on February 28, 2019, 11:52:36 am
In packages -> lazarus exists only one lpk file
There are other dirs. Use file search for lpk files.
Title: Re: REST Dataware Componentes
Post by: xinyiman on February 28, 2019, 12:12:50 pm
Ok, thank you.
Now i install all.

But in mac os i have a problem with unit uRestDWLazDriver

in darwin there is no TMSSQLConnection so I had to remove all the references to mssql with ifndef, like


{$ifndef Darwin} mssqlconn,{$endif}
Title: Re: REST Dataware Componentes
Post by: XyberX on February 28, 2019, 12:47:21 pm
 Thx for comming, remember, if you need support, you can get on www.resteasyobjects.com.br ou on site www.restdw.com.br have all support skype group to help you.
 I create Rest Dataware to help anyone to choose lazarus for build your apps with easy rest communication. Need something all help your with this thx.
Title: Re: REST Dataware Componentes
Post by: avra on February 28, 2019, 03:07:16 pm
if you need support, you can get on www.resteasyobjects.com.br ou on site www.restdw.com.br have all support skype group to help you.
I am sorry but I do not speak Portugues, and I could not find any other language option there.

I create Rest Dataware to help anyone to choose lazarus for build your apps with easy rest communication. Need something all help your with this thx.
I have provided fixes here: https://forum.lazarus.freepascal.org/index.php/topic,38281.msg312625.html#msg312625. Please check them out.
Title: Re: REST Dataware Componentes
Post by: tatamata on March 22, 2019, 09:34:55 am
Hi, is there any tutorial (in English) for beginners?
Title: Re: REST Dataware Componentes
Post by: bpranoto on December 01, 2020, 04:30:46 pm
Error on compiling uDWDataset:

I tried to install the package resteasyobjectscore V1.9.6.9 and get errors on uDWDataset.pas

Code: Text  [Select][+][-]
  1. uDWDataset.pas(5693,31) Error: range check error while evaluating constants (42 must be between 0 and 39)
  2. ...

The offending lines:
Code: Pascal  [Select][+][-]
  1. {$WARNINGS OFF}
  2.       TFieldType(dwftLongWord): FData[I] := LongWord(AValue);
  3.       TFieldType(dwftShortint): FData[I] := Shortint(AValue);
  4.       TFieldType(dwftByte): FData[I] := Byte(AValue);
  5.       TFieldType(dwftExtended), TFieldType(dwftSingle):
  6.         FData[I] := AValue;
  7.       TFieldType(dwftTimeStampOffset): FData[I] := TDateTime(AValue);
  8. {$WARNINGS ON}
  9.  

fpc v: 3.2.0
lazarus v: 2.0.10
o/s: ubuntu 18.04 64bits
Title: Re: REST Dataware Componentes
Post by: shayneoneill on July 25, 2021, 05:49:23 am
Did you ever find a solution for the " Error: range check error while evaluating constant" problem? I've ben trying to figure out how to install this thing, and yeah, lack of english anything (I do see theres a tutorial now in english, that will help a *lot*) is bit of a show stopper.
TinyPortal © 2005-2018