Just saw an article on this in WSJ. The writer was unpublished, had written one unproduced screenplay.
When no one would publish this book, he self published. Someone from Kirkus gave it a glowing review, so it got picked up by a studio for adaption...THEN he got legit published.