[flexcoders] Re: Need Suggestions for Reporting In Flex Applications.
There are any number of ways of exporting data. In my case I use PHP extensively to generate excel spreadsheets (Google for code on how to do this. If you can't find anything, I can post the code I use). For Flex, a couple of things I know of off the top of my head... AlivePDF - http://alivepdf.bytearray.org/ as3xls - http://code.google.com/p/as3xls/ A quick google search pulled up these... http://www.php-editors.com/forums/php-programming-contests/745-write-dbf.html http://blog.fusonic.net/archives/130 --- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote: Thanks Dean, I have no idea about the dot matrix printers. But generally I do all my reporting using PHP. At the end of the day flex is in a browser and you are going to be limited by that. I'm sure PHP can produce a format that would work well for a dot matrix printer. If not, you could always have a TCP server written in any language to allow Flex to send data to it for reporting. This would be done using socket code in Flex. This also requires the server to accept a request for a security policy on a specific port. I will look for details on that. Well, I was bit worried about Flex's capacity to produce reports I dont mind about PHP producing reports in text format if it can write text file on server which can be fetched to client via FTP or if PHP can produce PDFs that can serve purpose of Windows graphis mode printing. The data exports to xls, dbf, ods etc. etc. still remain. I dont know what to do about. For sec of discussion how about using Birt on server to produce reports? have u given any thought to this ? But again we have to have Java at server. Can PHP send data to any program on server to produce reports then we can use delphi exe to run in wine and listen to TCP port on Linux Server and if its windows server then it can run natively. I dont know what reporting strategies are followed by ppl developing web applications. I dont have any experience in web development but there must be some way to produce reports, Since all over the world big web database applications are already running. BTW how u are doing reports I will follow your suit till we find some generous way for elegant reporting in flex. Thanks once again and best regards Raja
[flexcoders] Re: Need Suggestions for Reporting In Flex Applications.
If I generate a PDF on the server side, how do I display that within a flex canvas, is there an mx:PDFReader sort of component? If I generate an excel document on the server side, how do I display that within a flex canvas? Tony Re: Need Suggestions for Reporting In Flex Applications.http://groups.yahoo.com/group/flexcoders/message/141272;_ylc=X3oDMTJ0aHFoNGxuBF9TAzk3MzU5NzE1BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDEyNzIEc2VjA2Rtc2cEc2xrA3Ztc2cEc3RpbWUDMTI0MDI0NzA5OA-- Posted by: valdhor valdhorli...@embarqmail.com valdhorli...@embarqmail.com?subject=+re%3a%20need%20suggestions%20for%20reporting%20in%20flex%20applications%2e valdhor http://profiles.yahoo.com/valdhor Mon Apr 20, 2009 5:47 am (PDT) There are any number of ways of exporting data. In my case I use PHP extensively to generate excel spreadsheets (Google for code on how to do this. If you can't find anything, I can post the code I use). For Flex, a couple of things I know of off the top of my head... AlivePDF - http://alivepdf.bytearray.org/ as3xls - http://code.google.com/p/as3xls/ A quick google search pulled up these...
[flexcoders] Re: Need Suggestions for Reporting In Flex Applications.
I have no idea. I stream the resultant PDF or Excel file to the user so they can open it in the native application. --- In flexcoders@yahoogroups.com, Tony Obermeit t...@... wrote: If I generate a PDF on the server side, how do I display that within a flex canvas, is there an mx:PDFReader sort of component? If I generate an excel document on the server side, how do I display that within a flex canvas? Tony Re: Need Suggestions for Reporting In Flex Applications.http://groups.yahoo.com/group/flexcoders/message/141272;_ylc=X3oDMTJ0aHFoNGxuBF9TAzk3MzU5NzE1BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNDEyNzIEc2VjA2Rtc2cEc2xrA3Ztc2cEc3RpbWUDMTI0MDI0NzA5OA-- Posted by: valdhor valdhorli...@... valdhorli...@...?subject=+re%3a%20need%20suggestions%20for%20reporting%20in%20flex%20applications%2e valdhor http://profiles.yahoo.com/valdhor Mon Apr 20, 2009 5:47 am (PDT) There are any number of ways of exporting data. In my case I use PHP extensively to generate excel spreadsheets (Google for code on how to do this. If you can't find anything, I can post the code I use). For Flex, a couple of things I know of off the top of my head... AlivePDF - http://alivepdf.bytearray.org/ as3xls - http://code.google.com/p/as3xls/ A quick google search pulled up these...
[flexcoders] Re: Need Suggestions for Reporting In Flex Applications.
I have no idea. I stream the resultant PDF or Excel file to the user so they can open it in the native application. Well purpose of xls sheets is for further analysis so help of native application is necessary, And as far as pdf are concerned Firefox can show them in another tab I dont have any idea about IE bcoz i stopped using it long ago. Anyways I am getting feeling that Flex is bit weak as far as reporting is concerned. The other features as really fascinating the most important feature I liked is its easy to learn and adopt. I am finding it comfortable in evaluation phase itself I have not enough experience in flex except working part time that to for evaluation. Anyways I have to find out some good Serverside reporting tool and make Flex to communicate with it. It seems that cakePHP can Integrate with BIRT but I have to investigate it in Detail. I will post about that when we makeup our mind on something similar. Thanks and best regards Raja
[flexcoders] Re: Need Suggestions for Reporting In Flex Applications.
Thanks Dean, I have no idea about the dot matrix printers. But generally I do all my reporting using PHP. At the end of the day flex is in a browser and you are going to be limited by that. I'm sure PHP can produce a format that would work well for a dot matrix printer. If not, you could always have a TCP server written in any language to allow Flex to send data to it for reporting. This would be done using socket code in Flex. This also requires the server to accept a request for a security policy on a specific port. I will look for details on that. Well, I was bit worried about Flex's capacity to produce reports I dont mind about PHP producing reports in text format if it can write text file on server which can be fetched to client via FTP or if PHP can produce PDFs that can serve purpose of Windows graphis mode printing. The data exports to xls, dbf, ods etc. etc. still remain. I dont know what to do about. For sec of discussion how about using Birt on server to produce reports? have u given any thought to this ? But again we have to have Java at server. Can PHP send data to any program on server to produce reports then we can use delphi exe to run in wine and listen to TCP port on Linux Server and if its windows server then it can run natively. I dont know what reporting strategies are followed by ppl developing web applications. I dont have any experience in web development but there must be some way to produce reports, Since all over the world big web database applications are already running. BTW how u are doing reports I will follow your suit till we find some generous way for elegant reporting in flex. Thanks once again and best regards Raja