Recent

Author Topic: REST Dataware Componentes  (Read 19272 times)

Hydexon

  • Full Member
  • ***
  • Posts: 170
Re: REST Dataware Componentes
« Reply #15 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.
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

XyberX

  • New Member
  • *
  • Posts: 43
Re: REST Dataware Componentes
« Reply #16 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.

balazsszekely

  • Guest
Re: REST Dataware Componentes
« Reply #17 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.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: REST Dataware Componentes
« Reply #18 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!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: REST Dataware Componentes
« Reply #19 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
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: REST Dataware Componentes
« Reply #20 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.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: REST Dataware Componentes
« Reply #21 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  ;)
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: REST Dataware Componentes
« Reply #22 on: February 28, 2019, 11:41:43 am »
Ok, now i install package. But when i open a RESTDWServerProject return RESTDWLazDriver not installed. Why?
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: REST Dataware Componentes
« Reply #23 on: February 28, 2019, 11:50:02 am »
when i open a RESTDWServerProject return RESTDWLazDriver not installed. Why?
Did you install all 3 packages?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: REST Dataware Componentes
« Reply #24 on: February 28, 2019, 11:51:29 am »
In packages -> lazarus exists only one lpk file
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: REST Dataware Componentes
« Reply #25 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.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: REST Dataware Componentes
« Reply #26 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}
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

XyberX

  • New Member
  • *
  • Posts: 43
Re: REST Dataware Componentes
« Reply #27 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.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: REST Dataware Componentes
« Reply #28 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.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

tatamata

  • Hero Member
  • *****
  • Posts: 787
    • ZMSQL - SQL enhanced in-memory database
Re: REST Dataware Componentes
« Reply #29 on: March 22, 2019, 09:34:55 am »
Hi, is there any tutorial (in English) for beginners?

 

TinyPortal © 2005-2018