[EMAIL PROTECTED] wrote: > hi, i was just wondering if someone had already used turbogears and > generate reports via jasper reports? it would be nice if the community > can produce an article about this :)
I have recently implemented a TurboGears application that uses BIRT, which is available at http://www.eclipse.org/birt/, for displaying reports. My technique was to write a simple Java Servlet that can produce HTML reports, and then I interface my TurboGears application with that by treating the Servlet like a third-party web service. I make requests to it, pull out the HTML that I need, and then shove the content out via AJAX. It was pretty easy to do. I am doing a little bit of fancy dancing with Queue objects, a spawned thread, regular expressions, and MochiKit in order to make everything perform nicely, but it seems to work pretty well. You should be able to get something really basic working if you ignore performance at the beginning, and then optimize later :) -- Jonathan LaCour http://cleverdevil.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

