| Using Scout [message #1737413] |
Thu, 07 July 2016 17:38  |
Eclipse User |
|
|
|
Hello everyone.
I would use Scout for an ERP project type, but I have doubts about some aspect of the framework.
1. As is handling reports ?, I find nothing in the documentation to talk about it.
2. Integrate third-party software: Lucenet I would use in my project, I can do no problem with the framework?
3. Interactive charts and Google Maps integration. it's possible?
At the moment I have these three questions is that the framework is not going to solve everything, but it at least possible to add new functionality without having to use many resources.
|
|
|
|
| Re: Using Scout [message #1738540 is a reply to message #1737413] |
Wed, 20 July 2016 13:08  |
Eclipse User |
|
|
|
Hi Nelson
Sorry for the late response, the Scout forum seems to be on summer vacation. 
Here are some short remarks from me:
1. Reports
What are your expectations towards a "reports" feature? The simplest method of displaying some calculated numbers is to run an SQL query that collects and aggregates the data and then delivers the result to a table page. A table page cannot only display entity records such as persons, companies etc., but arbitrary data from arbitrary sources. You can even customize your report using a search form (e.g. restrict the time range).
Or do you think more of generated report documents? There are no ready-to-use document generators in the Scout framework, probably because such documents are always very use-case specific. But it should be fairly easy to integrate third party libraries providing such functionality (e.g. Eclipse BIRT).
2. Third-party libraries
Yes, it is very easy to integrate third-party software in your Scout application, at least starting from Scout 6.0. Usually, simply adding the maven dependency to your projects POM.xml should be enough!
(Earlier versions were built on the OSGi runtime platform, that required third-party software to be available as an OSGi bundle, and sometimes things got a bit complicated because of classloader isolation. I would definitively recommend the use of the newest Scout version when starting a new project.)
3. Charts and Maps integration
Yes, this is definitively possible, but there are no such fields in Eclipse Scout out-of-the-box. Like reports, such elements are very use-case specific. Of what use would a GoogleMapsField be if I want to use Bing Maps? Therefore, you better build those widgets yourself to your custom needs.
In the simplest form you should be able to display a Google Map using an AbstractBrowserFields (which simply embeds an external website in your form).
For a more advanced example have a look at the "HeatMap" field:
Demo: https://scout.bsi-software.com/widgets/?dl=widget-heatmapfield
Source: https://github.com/BSI-Business-Systems-Integration-AG/org.eclipse.scout.docs/tree/releases/6.0.x/code/widgets
I hope that answers some of your questions.
Regards,
Beat
|
|
|
Powered by
FUDForum. Page generated in 0.03747 seconds