Hello,
I'm using Stimulsoft Reports.JS (purchased version because of halloween discount).
I will start using now more serious on a new project and I need to define my data connection strategy.
I know from a previous post that there is no BusinessObjects (although there is the option on designer for now) on JS.
With FX I deal with all server requests and convert the data to proper business objects (entities) between Flex and server side and then I populate this data directly on the report, so the report is 100% unbound from any dependency from server side or even database engine.
With JS, my options are:
1. Bound directly to database. I assume that the database engine don't need to be exposed from localhost using your php helper, correct ?
2. Export my data to JSON file (static path) and point the report to that data file.
Those are all possibilities or I'm not aware of any other ?
Thanks,
Hugo.
Best option to connect with data
Re: Best option to connect with data
Hello Hugo,
Thank you for your interest in the product, we welcome feedback.
1. We finished the PHP data adapter for Reports.JS, it will be available in the new release 2015.3 in early next week. The first phase will support MSSQL, MySQL and Firebird data sources.
2. You can export data in JSON or XML format and connect them using JavaScript function report.regData(), or use the appropriate data sources in the designer.
Thank you.
Thank you for your interest in the product, we welcome feedback.
1. We finished the PHP data adapter for Reports.JS, it will be available in the new release 2015.3 in early next week. The first phase will support MSSQL, MySQL and Firebird data sources.
2. You can export data in JSON or XML format and connect them using JavaScript function report.regData(), or use the appropriate data sources in the designer.
Thank you.
Re: Best option to connect with data
I ended up discovering that possibility (deal with the data request on my own and then use regData, similar that what I wanted on the first place) but unfortunately I can't put this to work.
I opened a new post specific about that: http://forum.stimulsoft.com/viewtopic.php?f=27&t=41711
Thank you.
I opened a new post specific about that: http://forum.stimulsoft.com/viewtopic.php?f=27&t=41711
Thank you.
Re: Best option to connect with data
Hello.
We have answered you in that topic.
Thank you.
We have answered you in that topic.
Thank you.