What exactly is a 'recommendation' question?
I understand and agree with avoiding questions on SO that garner answers which are basically opinions or preferences, such as "I like X" or "We use Y and it met our needs". These questions just lead to discussion and not answers.
However, I recently had a question closed on SO where I was looking for a PHP PDF library that supported a specific feature. Several people voted to close it, and referenced the now-closed "What SO is not" question.
To me, my question was not subjective or opinion-based; either a library supports this feature or it doesn't. Is it inappropriate to ask for a library that supports a specific feature?
There are answers to my question, but not necessarily only one correct one (though there might be, if at the present time there happens to be only one php pdf library that supports this feature). There certainly are wrong answers (namely, the pdf library that I'm currently using), which is mainly what I believe makes this question valid -- it doesn't lead to answers that are opinion-based. It doesn't matter how much you like a library, or how well you think it's written: if it doesn't support this feature, your answer is wrong.
So what exactly is a recommendation question?
EDIT: If I were to recast my question, here's how I would do it now (Shog9's recast doesn't really capture the question). I would more thoroughly describe my problem and what I've already done:
How can I load an existing pdf document and add pdf objects to it?
I have a website that generates PDFs. I'm using the ezPDF library, and I can create a new PDF with it, add text, images, and graphics (such as lines and shapes). However, a client has an existing PDF that they want to use as a template, and then have the website add on the text, graphics, and images. So I need to start from an existing PDF instead of a blank sheet, so to speak.
The library I'm currently using, ezPDF, does not support this. How could I support this functionality in PHP?
EDIT: User Bart made reference to the disallowed 'list'-type question. I looked over that question, and these are the qualities of the list-question in the top-rated answers:
- every answer is equally valid: “What’s your favorite __?”
In my question, not every answer is equally valid. Not every php pdf library supports loading existing pdfs. For instance, the one I'm currently using doesn't.
- your answer is provided along with the question, and you expect more answers: “I use _ for _, what do you use?”
I didn't provide an answer along with my question. The library I'm currently using does not provide the functionality I need and I need to move to one that does.
- there is no actual problem to be solved: “I’m curious if other people feel like I do.”
I do have an actual problem to be solved. I need to load an existing pdf as a template, and then add things to it programatically.
- we are being asked an open-ended, hypothetical question: “What if __ happened?”
It's not open-ended or hypothetical. Any given library either has this feature or it doesn't.
- it is a rant disguised as a question: “__ sucks, am I right?”
Not ranting. I never ventured any opinion about anything.
So, I don't see how this qualifies as a list question. Even though an answer might come in the form of a list ("These three libraries support the feature you need, take your pick."), that doesn't seem to meet the criteria of the list question as it was set out above.
People closed it on the grounds that it was a recommendation-type question anyways, or so they said in the comments.
Tools extends Ways
.