For those of you starting Backend development with SyncTree, We have chosen 5 blocks which is the most frequently used.
1. Variable
A variable is a space (memory) with a name (variable name) that stores a specific value.
'Create / Set to' Block: This block is the combination of 'Create' Block and 'Set to' Block. Create a variable and assign a value to the variable.
'Fetch' Block: Get and contral the header and body data of a specific Transfer blcokset. The value of the Fetch enters the ID of the transfer blockset to call
Generally, 'Transfer' block and 'Protocol' block are used together. After declaring communication with the external API with the 'Transfer' block, define the data transmission method with the 'Protocol' block.
'Transfer' Block: It is used when communicating with an external service (API) or getting its value.
'Protocol' Block: It is used when defining a data transmission method (protocol) with an external API.
'Document Pair' Block: The function is the same as the Pair block, and additional information(datatype, description, required) is used to create an API Document.
This block is useful when developing with SyncTree, a block coding method.
'Code Section' Block: Section the blockset. Blocksets grouped into code sections can be copied at once with Ctrl + C, etc. This block can be folded or unfolded.
'Comment statements' Block: Record comments or annotate specific blockset. A note can be left in the Comment area, and clicking the comment in the Flag menu goes to the corresponding location, so it can be used as a bookmark.
A conditional statement is a statement that performs a calculation or response that depends on the result of a given conditional expression.
'If' Block: It is a block set that implements a conditional statement by combining an if statement with logic and comparison operation blocks. It has an intuitive block structure.
So far, I have introduced the 5 most frequently used blocks when developing with SyncTree. Perhaps the blocks used vary greatly depending on the purpose and scope of development. If you are curious about how to use other blocks in SyncTree, please refer to the manual 👉