BlogsTemporalCode Snippet Synchronization

Code Snippet Synchronization

Code Snippet Synchronization

3
posts
2020–2021

Temporal's SDK ecosystem continues to expand with the announcement and initial release of the Swift SDK. This SDK leverages Swift's modern concurrency features like async/await and structured concurrency, integrating with the Temporal Core SDK for durable execution. It provides macros for defining Workflows and Activities, and supports core Temporal features like signals, queries, updates, child workflows, continue-as-new, local activities, and search attributes. Production-ready features like i

2021

Tips for enhancing developer productivity with Temporal

7/30/2021

This post details the creation and implementation of Snipsync, a tool for synchronizing code snippets directly into documentation. It also describes the creation of template repositories for SDK samples and the development of tutorial-style documentation using a money transfer scenario to showcase Temporal's core value propositions. The goal is to improve the new user experience and drive adoption by demonstrating the benefits of Temporal's approach to application development.

How we keep our code examples fresh

2/26/2021

Introduces Snipsync, a tool for synchronizing code examples in documentation with source code. Discusses the benefits of keeping code examples fresh and the considerations for using Snipsync effectively, including context alignment and code minimization.

2020

The process of creating SDK tutorials for new users

11/12/2020

Introduced Snipsync, an open-source tool for synchronizing code snippets from repositories into documentation, inspired by Google's internal tooling. Detailed the benefits of automated code synchronization, including guaranteed working examples and controlled code visibility. Also described the creation of dedicated template repositories for Go and Java SDK samples to facilitate easier cloning and execution, and the development of tutorial-style documentation using a money transfer example to highlight Temporal's core features like state persistence, visibility, automatic retries, and hot-fixing.