Welcome
Getting Started
How to Guides
Application vs Blocklet
Create Blocklet
Compose Blocklets
Develop Blocklet
User and Passport
Communicate with DID Wallet
Blocklet Storage
Using Blocklet Preferences
Build blocklet for profit [deprecated]
Bundle your blocklet
Manage Blocklet Versions
Publish your blocklet to the world
Deploy your blocklet
Read/Write blockchain in blocklet
Operation and maintenance your blocklet
Reference Guides
Conceptual Guides
Frequently Asked Questions
Application vs Blocklet
Before we start developing Blocklets, let’s first understand what an application is and what a Blocklet is.
Application and Site#
Applications are applications installed in Blocklet Server. You can also treat applications in Blocklet Server as sites, such as:
They are all applications running in Blocklet Server
Blocklet and component#
In Blocklet Server, an application is composed of one or more components, and Blocklets are the components that make up the application. Each blocklet in the application is a separate service. They use unified configuration and UI to make you feel like you are using a complete application.
For example, the developer.blocklet.io site consists of four components, namely:
- Pages Kit : for creating and displaying pages
- Discuss Kit: Used for producing and displaying documents. This document is officially produced with Discuss Kit.
- Image Bin : Provides the ability to upload and download general media files (pictures, videos, etc.)
- Meilisearch : a lightweight search engine
Blocklet application features#
After understanding the construction form of the application, we also saw the two major characteristics of Blocklet-based applications
- The application is decentralized and you have complete control over your site.
- The application is componentized, so you can focus only on your own business components and quickly build powerful sites by combining other common components. You can also develop common components and put them in the Blocklet Store for others to use, while bringing you profits.
Let’s start learning Blocklet development!