The Past, Now and the Future
One of the core utilities that Jotform provides
It's used in various places:
It was a kind of mode of the PDF Editor. Document rendering logic is living in the PDF Editor (WYSIWYG), PDF generation was leveraging this.
With Puppeteer (an automated browser manager) we were opening the PDF Editor with special flags and user's API key, printing onto a PDF simulating browser's native print function, uploading the file to S3 to obtain a URL and returning URL to the PHP backend
On pdf-engine, we upload the produced documents to S3. This takes time, resource, cost on AWS and possible failures retrieving this file in order to attach onto email or send via integration. We'll be trying to remove S3 operations and will be returning the produced file itself to PHP backend side.
This way we won't have any problem regarding accessing our own document, won't be waiting for uploading and downlading time and achieve more robust and sound operation on overall.