I build a simple application more like an text-editing and archiving application written in php and client-side javascript.
What I do is to save the markdown into the database.
Now the user will have the option to save the file as a pdf, which I found a nodejs markdown to pdf converter application.
What I want to know is that, what are the downsides of calling nodejs using exec, like so.
Would you suggest that I should be instead redoing the whole application using nodejs so that I won't be dealing with more than one language?