Sign Up

Page Overview

Twidget provides a robust mechanism for creating web pages accessible via a browser. This feature enables users to build various types of pages using a no-code interface, enhancing the platform's developer experience.

-

Key Concepts

Page Creation Options

Users can initiate page creation by navigating to the pages section, where three primary options are available:

  1. Form Page Generator: Facilitates the creation of forms linked to specific endpoints, allowing data submission to a designated table. Users can customize forms by incorporating both table fields and custom fields.

  2. Authentication Page Generator: Enables the creation of login and sign-up pages by selecting the corresponding authentication endpoints. This feature requires the presence of an authentication table in the database.

  3. Custom Page Creator: Allows users to design pages from scratch, providing options for naming, path setting, and integration of scripts for enhanced functionality. Users can also designate alternative pages like 404 error pages.

Page Elements and Layouts

Each page consists of various elements, which can be added through a drag-and-drop interface. Elements are managed within a layered layout structure that visually represents the hierarchical relationship among components. Pages can utilize multiple layout types, including headers, sidebars, modals, and drawers, to organize content effectively.

Variables and Dynamic Content

Pages possess their own set of variable objects—path parameters, query parameters, and page variables. These can be defined and used throughout the page to create dynamic behaviors and content, allowing for personalized interactions based on user input or navigation context.

Page Functions

The functions feature empowers users to define custom scripts triggered by events on elements, similar to API functions. These functions can handle actions such as form submissions and button clicks. Users can access a variety of command categories specially designed for page contexts, enhancing the interactivity of web pages created within Twidget.

History and Publishing

The history function tracks changes made to pages, allowing users to revert to previous versions if needed. Changes can be previewed dynamically before publishing. Upon publishing, the changes are finalized, and the history resets, ensuring a clean versioning system.

Preview and Accessibility

Users can view their pages in a live preview mode to test functionality before making it publicly available. A unique URL is generated for each published page, allowing easy access through an eye icon in the pages tab.

Conclusion

The pages feature within Twidget offers a flexible, no-code solution for creating interactive web content. By leveraging form and authentication generators alongside customizable page layouts and dynamic functions, developers can efficiently construct robust user interfaces embedded within their applications.

Related Topics

Page Variables

Page variables in Twidget are global variables that are accessible throughout an individual page, allowing for dynamic content generation and manipulation within the application. These variables can be utilized in various contexts, such as element settings or page functions, enabling developers to c...

Page Layouts

Page layouts in Twidget provide a structured way to organize and present content on a web page. The primary purpose of page layouts is to enhance user experience through effective content management and visual hierarchies. Key Concepts. - Header & Sidebar Layouts: These layouts subdivide the page in...

Layout Controls

Layout controls are essential components in Twidget, allowing developers to manage the visibility and behavior of various layout elements, such as modals and drawers, within a user interface. These controls enable dynamic user interactions by facilitating the opening, closing, and toggling of layout...

Page Components

Page components are reusable building blocks within the Twidget platform that enhance development efficiency by allowing users to create, manage, and implement consistent UI elements across multiple pages. They serve to encapsulate functionality and design into a single entity, which can be reused a...

Access Query Parameters in a Page

This section details how to access and utilize query parameters within Twidget pages, enabling dynamic content and functionality based on user-supplied parameters. Key Concepts. - Query Parameters: A method to pass data to web pages through the URL, enabling dynamic content updates based on user int...