I’m porting desktop application to www with ruby on rails. Desktop application is written in c# and it does generate pretty complecated pdfs. I am wondering is it bad idea to extract classes that generate those pdfs, pack them into command line tool and generate pdfs from rails application by calling this command line program (I can use mono to do this), saving them to the disk and then sending it to browser?
Are there any common known issues that I should be worried about with this approach?
Generating them through a command line call is not bad, and it’s what most pdf generation tools are eventually doing.