informatica:software:aplicaciones_web:saltcorn
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| informatica:software:aplicaciones_web:saltcorn [2025/04/14 13:02] – [Tablas] tempwin | informatica:software:aplicaciones_web:saltcorn [2025/04/15 12:10] (actual) – tempwin | ||
|---|---|---|---|
| Línea 5: | Línea 5: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| Línea 145: | Línea 146: | ||
| Para crear tablas: //Tablas// -> **Create table**. | Para crear tablas: //Tablas// -> **Create table**. | ||
| + | |||
| + | Saltborn creará por nosotros el campo **ID** en cada tabla. Este campo se usará como **clave primaria**. | ||
| + | |||
| + | Cuando creamos un campo nuevo, en //Label// podemos usar mayúsculas y espacios. Internamente, | ||
| + | |||
| + | Tipo de dato para los campos: | ||
| + | |||
| + | * **String**: sucesión de caracteres (texto). | ||
| + | * **Integer**: | ||
| + | * **Bool**: valores // | ||
| + | * **Date**: fecha (con información de tiempo o no) | ||
| + | * **Float**: números decimales. | ||
| + | * **Color**: colores en formato RGB (Red Green Blue) | ||
| + | * **File**: referencia a un fichero del sistema de ficheros de Saltcorn. | ||
| + | * **Key to < | ||
| Después de crear las tablas, lo normal es crear vistas para mostrar los datos de las tablas. | Después de crear las tablas, lo normal es crear vistas para mostrar los datos de las tablas. | ||
| Línea 150: | Línea 166: | ||
| ===== Vistas ===== | ===== Vistas ===== | ||
| - | Después de crear las tablas, lo normal es crear vistas para mostrar los datos de las tablas. | + | Después de crear las tablas, lo normal es crear vistas para mostrar los datos de las tablas. |
| + | |||
| + | Un vista pertenece a una tabla. | ||
| + | |||
| + | Cada vista sigue un patrón de vista: | ||
| + | |||
| + | * **List**: shows a tabular grid of multiple rows in a table. You can define its columns which can be data from this or related tables, action buttons or links to other views. | ||
| + | * **Edit**: a form that can be used to create a new row or edit an existing row in a table. | ||
| + | * **Show**: a single existing row in the table. The row must be specified either by linking or embedding from another view or page. | ||
| + | * **Filter**: not display any data from the table but can be used to set up user interface elements that determine which rows are shown in other views on the same page. | ||
| + | * **Feed**: configured by another view which shows a single row and will repeat this view for all available rows. | ||
| + | * **ListShowList**: | ||
| + | * **Room**: Real-time space for chat | ||
| + | * **Date Range Filter**: Limit selected rows to those for which a date fields falls in a range selected by the user. | ||
| + | |||
| + | **List**, **Edit** y **Show** son los patrones más habituales. | ||
| + | |||
| + | * [[https:// | ||
| ===== Plugins / módulos ===== | ===== Plugins / módulos ===== | ||
informatica/software/aplicaciones_web/saltcorn.1744628539.txt.gz · Última modificación: por tempwin
