Appearance
Content management
The content management system in Blocksweb consists of two main tabs: Records and Type Builder. These tools provide a comprehensive solution for creating, managing, and accessing your content.
Records
The Records tab provides a powerful interface for managing and querying your data dynamically. It allows you to easily access, filter, and manipulate content stored in your database, making it ideal for scenarios where data changes frequently.
For example, in an e-commerce storefront, products uploaded through the Blocksweb API can be automatically updated on a daily basis. The Records tab lets you view this data and use it to build dynamic pages without manually managing each product in the CMS.
Key features of the Records tab:
- Dynamic querying of data
- Filtering and sorting capabilities
- Direct access to database records
- Building pages based on query results
The type builder
The Type Builder is a unique feature in Blocksweb that enables you to create and define your database structure directly through the interface. Unlike traditional headless CMS platforms that often require backend configuration, Blocksweb allows you to design your data model visually.
For example, when building an e-commerce storefront, you can use the Type Builder to create tables for products, categories, and customer reviews. Once your structure is defined, you can populate these tables through the API and immediately see the inserted information in the Records tab.
Key features of the Type Builder:
- Visual database table creation
- Custom field definitions
- Relationship management between tables
- Instant availability of new data structures
How Records and Type Builder Work Together
The Type Builder defines the structure of your data, while the Records tab provides access to the actual content within that structure. This separation creates a powerful workflow:
- Define your data model using the Type Builder
- Add content through the API or Records interface
- Query and filter that content using the Records tab
- Display the content in your frontend components
See Also
- Components - Learn how components can consume data from your content management system
- Options - See how to use the Query option type to access data
- Best Practices - Best practices for content management