Repository navigation
Description
There are 3 main areas into documenting WarpDrive in the EmberGuides:
https://guides.emberjs.com/release/ | https://github.com/ember-learn/guides-source/tree/master
- The WarpDrive Guide
- The Migration Guide
- The impact on other guides
The WarpDrive Guide
Goal: we want to teach how to use WarpDrive in an Ember application. This guide must focus on mental models and definitions so developers are able to draw the lines between ember-source, @warp-drive, and @warp-drive/ember, and they know what concept to rely on and what API to use for what purpose. Common pain points experimented by developers should be explained.
Audience: developers working with an Ember app that has a WarpDrive setup or no data layer, and they want to learn how to work with WarpDrive.
References:
- Krystan HuffMenne's talk at EmberFest 2025 | Brussels: https://www.youtube.com/watch?v=I6n0NIJmsnk&list=PLN4SpDLOSVkQpV5RHVD8jswcne8Mi7hM6&index=13
- The WarpDrive tutorial created by Julia Donaldson out of Krystan's talk: https://canary.warp-drive.io/pr-preview/pr-11437/guides/tutorials/todomvc/
- Super Rentals tutorial repository: https://github.com/ember-learn/super-rentals-tutorial
What to think of:
- Pieces to define: request, query, store, cache, document, reactive, record, schema, builder, base URL, query params, handler,
- Making the right bridges between this guide and WarpDrive's documentation, that also includes its own tutorial.
- Staying in the EmberGuides could help Ember developers staying in the comfort zone of what the official docs of the framework says. But it comes with the downside of duplicating information and potentially missing things from WarpDrive’s documentation.
- The fact that WarpDrive's docs tend to consider TypeScript as a prerequisite goes in favor of having something in the EmberGuides for an overall consistency of the reading experience.
- Tutorial titles match steps, WarpDrive's highly relies on the user has dowloaded or is somehow viewing the code of the tutorial project. In contrast, Guides titles match concepts, Ember's explain them through an example that evolves section by section. We need to keep this consistency.
The Migration Guide
Goal: we want to teach how to migrate from EmberData to WarpDrive. Developers should know why this moves matter for the maintenance of their app, and have a good picture of the key steps to reach the "Legacy mode". Main concepts can potentially be re-introduced in their own shape compared to the WarpDrive Guide, since comparing with what EmberData was doing can be relevant.
Audience: developers working on applications that use EmberData.
References:
- My blog posts about migrating from EmberData to WarpDrive:
What to think of:
- List of scenarios to cover: do we need to go further than Super Rentals use cases?
- The information in the "Upgrading" main page are quite old. Still relevant, but they don't reflect everything "upgrading" means for an Ember app nowadays: Updating the Ember version, upgrading the build system from broccoli to Vite, migrating to Octane, migrating to WarpDrive. The integration of the WarpDrive migration guide would be more natural and easy to read with a more ambitious rework of the migration guides introduction.
The impact on other guides
Goal: keep the EmberGuides consistent by removing any usage of legacy EmberData. Consider the fact that some Ember developers have been struggling drawing the line between Ember and EmberData (#20).
Audience: N/A, Ember Guides readers should have a consistent documentation.
List of occurrences
These occurrences obviously exclude the EmberData Guide that will be replaced by the WarpDrive Guide described above.
The following parts refer to EmberData in a legit way that introduces it as an optional data layer. The occurrences should be replaced by WarpDrive with minimal changes to the meaning:
- https://guides.emberjs.com/v7.3.0/getting-started/
- https://guides.emberjs.com/v7.3.0/tutorial/part-2/ember-data/
- https://guides.emberjs.com/v7.3.0/tutorial/part-2/recap/
- https://guides.emberjs.com/v7.3.0/routing/specifying-a-routes-model/#toc_emberdata-example
- https://guides.emberjs.com/v7.3.0/routing/query-params/
- https://guides.emberjs.com/v7.3.0/ember-inspector/info/
The following parts contain EmberData-specific parts without re-introducing the fact that it’s an optional data layer library. There's a rephrase needed to help developers ending up on this page to understand that WarpDrive is not part of Ember:
- https://guides.emberjs.com/v7.3.0/ember-inspector/object-inspector/
- https://guides.emberjs.com/v7.3.0/ember-inspector/data/
The following parts refer to EmberData API but it's not a requirement; it's just that the snippet requires to see a model that is fetched to give meaning to the example. There's a decision to be made on whether we want to keep it this way to promote WarpDrive as the recommended solution; or if we want to help developers draw the line between EmberData and WarpDrive by keeping the snippets as lib-agnostic as possible so the paragraphs only focus on the explained concept without dependencies to other concepts:
- https://guides.emberjs.com/v7.3.0/routing/specifying-a-routes-model/#toc_multiple-models
- https://guides.emberjs.com/v7.3.0/routing/specifying-a-routes-model/#toc_dynamic-models
- https://guides.emberjs.com/v7.3.0/routing/specifying-a-routes-model/#toc_reusing-route-context
- https://guides.emberjs.com/v7.3.0/routing/loading-and-error-substates/#toc_loading-substates
- https://guides.emberjs.com/v7.3.0/routing/loading-and-error-substates/#toc_the-loading-event
- https://guides.emberjs.com/v7.3.0/routing/loading-and-error-substates/#toc_the-loading-event
- https://guides.emberjs.com/v7.3.0/routing/query-params/#toc_opting-into-a-full-transition
Activity
rework upgrading doc to include WarpDrive migration guide (ember-lear…