Jig Templates
provides a template gallery that you can use as a base when creating solutions. templates are available when creating s, adding components and widgets to a .
Using templates has many benefits, such as:
- Time Efficiency: Templates provide a pre-designed structure and layout. They can save you time by eliminating the need to start from scratch or design every aspect from the ground up. With templates, you can jumpstart your development process and focus more on customizing the specific functionality you require.
- Consistency and Best Practices: Templates ensure consistency in your project. Using templates helps maintain a uniform structure, coding style, and user experience throughout your application.
- Reduced Development Effort: Templates include pre-built features and components that are commonly required when building s. By leveraging these pre-existing elements, you can reduce the effort needed to implement standard features, allowing you to allocate more time and resources to develop unique and critical features that differentiate your app.
While templates offer numerous benefits, it's important to remember that they may not always meet your requirements. Customization is still necessary, and templates should be used as a starting point rather than a complete solution.
Jig templates either use Static Data or Dynamic Data. You can easily customize the template to use other datasources instead.
- Once you have chosen a template, hover over the template, there are two options:
1. Insert
- Check the YAML code for comments that specify additional steps you must take on the template, such as #Create new table invoices in databases/default.jigx. Here you will manually need to add the table to the default.jigx file under the database folder.
2. Configure
- Click the blue Configure button.
- Check the YAML code for comments that specify additional steps you must take on the template, such as #Create new table invoices in databases/default.jigx. Here, you will manually need to add the table to the default.jigx file under the database folder.
- ThejigId and size are automatically added to the index.jigx file with the size you selected in the template's widget screen configuration.
You can use the scenario templates to create a functioning solution. For example insert the Content management scenario template and publish out the solution to the app. The scenario includes four s and adds the contacts table.