I have a web app and I need print the data into pdf. In back-end I use php, while in front-end a javascript MVC framework (backbone.js).
I don't know if generate the pdf only using javascript (..then using data cache) or using ajax that will call a php page that will generate the pdf... What's the better solution?
Naturally I need be able to print, save and use the stylesheet for pdf.
Thanks.