Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread TMS xData and RemoteDB
Tue, May 12 2015 3:18 AMPermanent Link

Godfrey

Ultimatesoft

Hi All

I am using the above TMS components on my web server.  Has anyone else used them with
EWB?  xData supplies JSON.

Thanks
Godfrey
Tue, May 12 2015 8:23 AMPermanent Link

Raul

Team Elevate Team Elevate

On 5/12/2015 3:18 AM, Godfrey wrote:
> I am using the above TMS components on my web server.  Has anyone else used them with
> EWB?  xData supplies JSON.

Not personally but what is your question ?

Are you looking at using their client-side components with EWB or do you
want their server side supply EWB compatible JSON

Raul
Wed, May 13 2015 5:05 AMPermanent Link

Godfrey

Ultimatesoft

<<Not personally but what is your question ?

Are you looking at using their client-side components with EWB or do you
want their server side supply EWB compatible JSON

Raul>>

I want to start using EWB 2 and I need to connect to my database server.  I will be using xData on the server
which is a REST/Json framework.  I just wondered if anyone had used EWB with xData.  I understand
that you can make REST calls from EWB to a server. I have MS SQL on the server but my change to
My Sql.

Or alternatively I suppose I could probably load the EWB server.

Godfrey
Wed, May 13 2015 5:08 AMPermanent Link

Matthew Jones

Godfrey wrote:

> I want to start using EWB 2 and I need to connect to my database
> server.  I will be using xData on the server which is a REST/Json
> framework.  I just wondered if anyone had used EWB with xData.  I
> understand that you can make REST calls from EWB to a server. I have
> MS SQL on the server but my change to My Sql.

The simple answer is that it will work just fine, but you may have to
interpret the data returned to feed it into the user interface. It
won't be hard however it gets done. Sometimes it is fiddly of course,
but that's programming for you.
Wed, May 13 2015 8:06 AMPermanent Link

Raul

Team Elevate Team Elevate

On 5/13/2015 5:05 AM, Godfrey wrote:
> I want to start using EWB 2 and I need to connect to my database server.  I will be using xData on the server
> which is a REST/Json framework.  I just wondered if anyone had used EWB with xData.  I understand
> that you can make REST calls from EWB to a server. I have MS SQL on the server but my change to
> My Sql.

In general you have have 2 options :

(1) if you simply wish to use xData JSON as it is then you need to do
your own JSON parsing on the client side (and you cannot easily use the
EWB TDataset functionality).

For example see this discussion on one way of doing this - classes you
need to create on EWB side if you want data mapped to EWB object(s):
http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=5817

(2) If you want to use the EWB TDataset then you need to modify JSON
that xData generates as it needs to conform to EWB specifications.

The EWB2 documentation is still being finished so the content might
slithly change but see here :
http://www.elevatesoft.com/manual?action=viewtopic&id=ewb2&topic=DataSet_JSON_Reference

Raul
Image