Best Practices
Project Structure
Resource Naming
Api.MyBackend
Db.MyDatabaseGetUsers
InsertArticleUsers
AddArticleVariable Naming
Component Naming
Last updated
Was this helpful?
Create assets, views, actions and integrations in the proper folder. It helps you to orient in your project.
To reuse the same content, create a View and embed it as a widget using View component.
We recomend to use PascalCase style with dots.
Integration - name it as type.description.
Examples:
Api.MyBackend
Db.MyDatabaseAction - start with a verb describing purpose of the action.
Examples:
GetUsers
InsertArticleView - name should represent a page content.
Examples:
Users
AddArticleUse noun related to the data that the variable contains. We recommend to use camelCase style.
Examples:
We recommend to start each name of any component with three abbreviation letter and continue with component description with camelCase style:
container - cnt
box - box
sidebar - sdb
app header - hdr
advanced table - adt
data table - dtb
pagination - pgn
text - txt
label - lbl
icon - icn
image - img
all fields - fld
button - btn
menu button - mnb
property item - pri
repeat - rpt
routes - rts
one of - onf
qr code - qrc
composed chart - cmc
view - view
Last updated
Was this helpful?
Was this helpful?
users (calling action GetUsers)
buttonState (represents on / off state)