"Is it necessary to write articles first?" I often hear that question at writers conferences. Necessary isn't the word I'd use; I'd say it's wise to begin a writing career with writing articles (or short stories). No matter how well we write, none of us comes into publishing fully equipped. We need to master techniques and learn skills. Too many writers want to start with a book and become famous. They don't have enough experience to know how badly they write. That is, they haven't proven themselves.
I’ve discussed this with a number of book editors and a few agents. Without exception, they urge writers to learn the craft and usually add, "The best way to learn is to start with shorter pieces."
The first question an acquisitions book editor often asks a prospective new writer is this: "What have you published?"
If you answer, "Nothing," you've already given your material a negative impression. You can overcome it, of course, but it's better to be able to say, "I've published 12 print articles and had 10 stories in ezines."
Start by writing short pieces is good advice.