Version 7.0.2 Released (December 2024) — View Changelog!

Docs-driven development?

A customer sent me an email asking for a poll feedback functionality for UXWizz (a self-hosted analytics platform). A poll is, for example, a simple question form with a Yes/No answer. The answer should be saved into a database when submitted.

When adding a to-do takes longer than fixing it

Initially I wanted to implement it as a feature within the product, but I am strongly against adding features that are not core to the product (analytics). Realizing that this is really easy to implement, I thought it might be better to simply create a page in the docs explaining how to do it.

That was easy!

It took less than an hour to create the poll widget and tutorial. UXWizz polls

You can check out the HTML/CSS/JavaScript used for the Polls in the docs.

Docs-driven development

The best part now is that if I ever decide to include this snippet as an actual feature within the product, I just have to copy the code described in the documentation.

This has other benefits too:

I saw some references to "docs-driven development" across the web, but their philosophy was different, it was more about correctly documenting existing or planned features (similar to TDD).

This might even work in other domains, for example physical products: teach the customer, in your user manual, specific ways in which they can use or enhance the product. If enough customers do that, then optimize for that use-case. I do I think though that this works best for products targeted towards technical or DIY people.



Do you want to improve your website?

I am building UXWizz, a self-hosted analytics platform that enables business owners to understand their visitors and improve their websites in a private and affordable way.
Improve your website

You can also send an email at support@uxwizz.com
Your email address will only be used for this inquiry and will not be saved or used for any other marketing purposes.
@