Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Durable Objects intro by saying what it does. #19298

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

kentonv
Copy link
Member

@kentonv kentonv commented Jan 19, 2025

There is a lot of debate about how best to present DOs so that people "get it".

Engineers (like me) usually want to know what a product does. This is contrary to the common wisdom that product pages should say what problems a product solves. Figuring out how to use a tool to solve a problem is an engineer's job, so as long as they know what it does, they can figure out what it solves. Conversely, if you only tell them what it solves, they then cannot visualize how it solves the problem, which is their job, so they get frustrated.

To that end, we should very briefly explain what a Durable Object does right on the landing page.

@github-actions github-actions bot added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Jan 19, 2025
Copy link

cloudflare-workers-and-pages bot commented Jan 19, 2025

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0e86518
Status: ✅  Deploy successful!
Preview URL: https://28b1937b.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://kenton-improve-do-intro.cloudflare-docs-7ou.pages.dev

View logs

@Frederik-Baetens Frederik-Baetens self-requested a review January 19, 2025 17:51
Copy link

@kentonv kentonv changed the title Improve Durable Objects into by saying what it does. Improve Durable Objects intro by saying what it does. Jan 19, 2025
There is a lot of debate about how best to present DOs so that people "get it".

Engineers (like me) usually want to know what a product *does*. This is contrary to the common wisdom that product pages should say what problems a product *solves*. Figuring out how to use a tool to solve a problem is an engineer's job, so as long as they know what it does, they can figure out what it solves. Conversely, if you only tell them what it solves, they then cannot visualize *how* it solves the problem, which is their job, so they get frustrated.

To that end, we should very briefly explain what a Durable Object *does* right on the landing page.
@kentonv kentonv force-pushed the kenton/improve-do-intro branch from 8460593 to 442f6d0 Compare January 19, 2025 17:57
Parts of this felt redundant with the newly-added section below. Also, I wanted to work in a mention of deeper distributed systems. Durable Objects are not just about collaborative apps.
@github-actions github-actions bot added size/s and removed size/xs labels Jan 19, 2025
@kentonv
Copy link
Member Author

kentonv commented Jan 19, 2025

We really need a broader overview too, before "Get started". The "get started" page launches right into steps to sign up and create my first DO class but a lot of people will want to understand more about the product before they're ready to do that.

How can we fit that in? I see the "overview" followed by "get started button" followed by "features" section is a standard layout across many products, but I feel like it's a poor fit here.

Can I add a whole bunch more text to this landing page? Or should we create a separate "extended overview" page and link to it? How can we make that link prominent?

@lambrospetrou
Copy link
Contributor

lambrospetrou commented Jan 19, 2025

We really need a broader overview too, before "Get started". The "get started" page launches right into steps to sign up and create my first DO class but a lot of people will want to understand more about the product before they're ready to do that.

How can we fit that in? I see the "overview" followed by "get started button" followed by "features" section is a standard layout across many products, but I feel like it's a poor fit here.

Can I add a whole bunch more text to this landing page? Or should we create a separate "extended overview" page and link to it? How can we make that link prominent?

My preference would be a new page (or two). But, one page talking about what DO is, what it offers, how to think about it, benefits, things developers don't need to think about, and a few use-cases as examples.

Page titles: Learn Durable Objects, Introduction to Durable Objects, Understanding Durable Objects, What are Durable Objects

@vy-ton
Copy link
Contributor

vy-ton commented Jan 20, 2025

Can I add a whole bunch more text to this landing page? Or should we create a separate "extended overview" page and link to it?

The extended overview/concepts page should be separate from this DO product landing page. @Oxyjun can help identify the right location and cross links.

@vy-ton vy-ton merged commit 00ca7a9 into production Jan 20, 2025
12 checks passed
@vy-ton vy-ton deleted the kenton/improve-do-intro branch January 20, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants