Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by jpswade on Sunday September 03, 2017 @10:35AM
(#15161603)
Sure, but then in your example, you're using PHP just to transpose data. Why?
[ Parent
| on HN ]
Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by innocenat on Sunday September 03, 2017 @02:02PM
(#15162834)
Not parent but I have done this before. There was an old PHP code that utilise TCPDF to generate a very complex report. The main application is being rewritten (in JS), but the report is very complex and utilise many features of TCPDF that I cannot find in PDFKit or other nodejs pdf libraries. In the end, the PHP code that generate reports was wrapped to take JSON input from STDIN and output the resulting pdf to STDOUT.