As a developer one should be trained to learn and teach at a very high pace. If you want to publish a book, it should of course be related to your area of expertise. However, this can still be very broad.
How do you manage your market research when creating a book - or other forms of teaching content?