Well, the solution is not easy to implement. But let's says : 1 the user click on 'Generate PDF' 2 the request is registered to the queue 3 you display a new page to the user 'please wait while the PDF is generating' 4 you poll (with ajax) that the queue system to know the status. if no ajax then you can use a http redirect after 4sec ..., you should display a loading gif for better user experience 5. if ok then redirect the user to the PDF file.
Thomas On Mon, Apr 28, 2008 at 4:23 PM, Antonio <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > Thanks for your advice. There is one thing I dont catch yet. > > We use PDF generation for creating printing reports. If the user > requests a report just after he or she changed the information, the > report would have to be created on the fly. > > Is there a better way to create print reports that will not require > that much memory? We tried HTML but they needed decoration and > pagination on the report. Also when a html report is printed the > client machine's settings can mess the outcome. > > Thanks in advanced, > Antonio > > > On Apr 29, 6:44 am, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Your first problem look to me as a memory issue. You shouldn't do on > > the fly PDF generation. You should do generation in a background > > process with a queue system. So your server will not go out of memory > > or down because X users request a PDF. > > > > Thomas > > > > > > > > > On Sat, Apr 26, 2008 at 9:02 PM, Antonio <[EMAIL PROTECTED]> wrote: > > > > > Hi everyone, > > > > > We have two issues that are killing us. We are new to Symfony and our > > > development is going OK but the client requested this two issues > > > solved asap and we have not been able to provide the solution nor the > > > alternate way to proceed. > > > > > 1.- We have not been able to generate 15+ pages PDF files. We tried > > > with dump and TCPDF plugins and so far we have not been able to > > > generate large pdfs. Short 5-10 pages work ok. Any ideas?. I read that > > > there is a way to use Zend's pdf generation capabilities from symfony > > > but I just don't know how. > > > > > 2.- Our client wants us to integrate "ANY" report generation tool that > > > would give them the fuctionality of generating crossed fileds reports. > > > This generator would be linked to our symfony development by URL and > > > should have a GUI for them to select fields and/or tables to generate > > > reports. We would make it look like if it was wrapped in the symfony > > > application by using templating. Any suggeestion? > > > > > Thanks in advanced? > > > Tony > > > > -- > > Thomas Rabaix > > > > Internet Consultant > -- Thomas Rabaix Internet Consultant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
