I do all the reporting/PDF things on the server. Add some reporting engine to your server application, run a report on the server, convert to PDF, return back to the user. This way you are not coupling two really different (user interface and document generation) worlds together.
Sound like a good solution.
Can you give me some pointers to open source report generators usable with Flex 3?
I'm still finding my way in Flex and up to now my application only runs on my local maching, so there is no server and client as such.
If your application is going to work with data you will have to implement a middle tier - server side processing that will access data for your application. Flex is a client browser based technology and it cannot access any data. There are many reporting engines available. I am using SQL Reporting and it is kind of free for me because all my applications use SQL Server as a back-end server.
I am using httpservice calls to php code to access a MySQL database containing the data records, so there is a server side of
sorts but it is all on one machine currently.
Are you suggesting that there could possibly be reporting tools working in tandem with MySQL?
1 person found this helpful
Even on the same machine ...
I am not working with mySQL, try Google it, but what I am saying is that if you are anticipating requests for reports printing and practically every business application would have reporting mechanism, you should look into integrating into your Flex front-end program some server side reports generation. There are free SQL Server versions available, you can try these. But I would carefully select a report engine because depending on user requirements you will get down the road some report programs might not be what you want. What you could do with a free copy is to come up with a vehicle to deliver a report to your Flex interface. You need to decide what format to use. For example: PDF, HTML, Image, something else.