create and populating JSON data from backend php

Stimulsoft Reports.JS discussion
Post Reply
agodoo
Posts: 9
Joined: Tue May 22, 2018 10:56 pm

create and populating JSON data from backend php

Post by agodoo »

Hello, I'm new to Stimulsoft Report and I found some difficulty understanding which way I have to proceede in my case.

Let me explain my needs.

We want to use Stimulsoft JS. We have a php web app that uses a backend Mysql database to store data.


I'm not sure this is the only and the correct way.
a) our web app in php produce a json file, that is stored in one directory
b) our web app open an html page with viewer embedded that load json data from the generated file
Question: to build the report in the designer, do I have to create JSON data source?

Is there another way? In the documentation there is a paragraph iside JS documentation, titled "Connect to SQL database", but I didn't understood if it can be usefull for us.

Thanks in advance
Matt
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: create and populating JSON data from backend php

Post by Lech Kulikowski »

Hello,

You can try to check it in our samples at the following link:
https://github.com/stimulsoft/Samples-JS

Thank you.
Post Reply