Customers & growth · Developer marketing
Developer blog framework
Best for Early Startup
Use it when
You have a technical story worth telling, such as how you solved a hard problem or built something with your product, and need a post developers will read and trust.
Skip it when
- The reader needs a guided first success with your product. Use the Tutorial design framework.
- The content is product documentation that readers come back to while they work. Use the Technical writing framework.
- The aim is a distinct point of view that builds authority with buyers more than hands-on code. Use the Thought leadership framework.
What to apply first and what to use instead are listed below.
Inputs
- Topic and angleOne focused problem the post solves and why it matters now, written as a paragraph.
- Author backgroundWho writes the post and their hands-on experience with the problem.
- Working codeA repository or gist with the code the post walks through, run on current versions.
- Target publicationYour own blog or an outside one, with its contributor guidelines, style guide and coding standards.
- ReviewersAn editor for structure and clarity, and an engineer for technical accuracy.
Steps
- Write a pitch with a working title, one paragraph on the idea and why it matters, and the author's background.
- Narrow the scope to one goal, and turn the notes you took while building the code into an outline where each section follows what it depends on.
- Open with the problem as the reader meets it, then walk through the code in blocks of about ten important lines, explaining the approach around each block.
- Trim each block to what the point needs, remove comments that repeat the prose, link the full repository, and end with the result the reader should see.
- Send the draft for editorial and technical review, and rerun every code block after each edit.
- Publish with credits for co-authors and reviewers, and add a tracked link to the repository and signup page.
Output
A reviewed and published post, with its source repository and the tracked links used to measure it.
- Title
- Problem statement in the opening
- Scope in one line
- Code blocks with explanation
- Link to the full repository
- Expected result
- Reviewers and credits
- Publish date and tracked links
Done when
- The pitch states the idea, why it matters and the author's experience before drafting starts.
- The opening paragraph names the problem the post solves.
- Every code block ran after the last edit, and the full code is linked.
- An editor and an engineer both signed off.
- The post covers one goal, and any leftover topic is listed as a follow-up post.
Measure
Track for 90 days after publishing the engaged reads, such as readers who scroll to the end, repository visits or clones from the post, and signups or API keys with the post as referrer. Compare with your median post over its first 90 days. It worked when the post beats that median on the action you care about. Views alone do not count.
Hypothetical example
An engineer at Quillstack, a database hosting company, cut a customer's slow queries by fixing their indexes. She pitched "Why our slowest queries came from one missing index" with a paragraph on why many teams hit the same problem. The editor narrowed it to one table and one fix. The draft opened with the slow dashboard readers would recognize, walked through four code blocks of about ten lines each, linked a repository with a seed dataset, and ended with the before and after query plans. A second engineer reran every block. Over 90 days, the post drove more repository clones than the team's median post.
Common mistakes
- Covering a whole tool in one post. Pick one goal and split the rest into follow-up posts.
- Pasting long code and restating it line by line. Show short blocks and explain the approach around them.
- Pointing readers at a repository with no walkthrough. Explain the code in the post and link the repository as the full reference.
- Editing code in the draft without running it again. Rerun every block after each change.
Sources
- Want to write for the SO blog? Here're the guidelines. · Ryan Donovan, 2020
- Tips and guidelines for writers (WordPress Developer Blog) · marybaum, 2022
- How to write technical blog posts about coding projects · Garann Means, 2022
By company stage
Apply first
Nothing. You can start here.
Use instead
- Technical content strategy
use this when you need to write and review one developer post that solves a technical problem with tested code; use the other when you need to plan the blog's topics, cadence and mix of posts
- Tutorial design framework
The reader needs a guided first success with your product. Use the Tutorial design framework.
- Technical writing framework
The content is product documentation that readers come back to while they work. Use the Technical writing framework.
- Thought leadership framework
The aim is a distinct point of view that builds authority with buyers more than hands-on code. Use the Thought leadership framework.
Where it sits
Open the developer marketing roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account