Build an application
หมายเหตุ: บทความนี้ยังเป็นภาษาอังกฤษ เนื่องจากคำแปลภาษาไทยกำลังอยู่ระหว่างจัดทำ
Purpose
หัวข้อที่มีชื่อว่า “Purpose”Create a coherent metadata-driven application in the order required by its references, then expose it through forms, menus, permissions, and actions.
Prerequisites
หัวข้อที่มีชื่อว่า “Prerequisites”- A working development environment; see Set up a development environment.
- A stable application name and artifact naming convention.
- A decision about whether metadata is source-controlled or owned by Web Designer.
Build order
หัวข้อที่มีชื่อว่า “Build order”flowchart TD A[App manifest] --> M[Models] M --> L[Model layer] L --> B[Enums] B --> C[Tables and fields] C --> V[Views] V --> Z[Charts] C --> D[Forms and reports] Z --> D D --> E[Menus] E --> F[Privileges] F --> G[Duties] G --> H[Roles] H --> I[Users and app access] C --> J[Hooks, Scripts, and Functions] J --> FCreate the App first; it starts with zero Models. Add and select a Model before any artifact. Then create referenced enums and tables before Views, Charts, Forms, Reports, menus, security, Scripts, or Functions. The registry validates App/Model scope and cross-references during application loading.
Procedure
หัวข้อที่มีชื่อว่า “Procedure”- Create the App with the CLI or Web Designer and verify that it has no implicit Model.
- Add its Models, dependencies, and Layer ownership explicitly.
- Define enums, tables, fields, references, and indexes.
- Define Views and Charts when the App needs reusable queries or visualizations.
- Define Forms, list fields, embedded Charts, menus, and Reports.
- Add Privileges (including Views), Duties, Roles, and App Access.
- Choose the smallest business-logic mechanism for each rule.
- Validate metadata, App/Model scope, and cross-references.
- Test generated lists, Forms, Charts, actions, permissions, and database effects.
- Export a package or commit the source-controlled metadata.
Source-controlled versus Web Designer metadata
หัวข้อที่มีชื่อว่า “Source-controlled versus Web Designer metadata”Use file-based metadata for application definitions that require code review, repeatable deployment, and version control. Use Web Designer for runtime or customer-owned customization. Both paths must obey the same metadata schema, security policy, and extension boundaries.
Related topics
หัวข้อที่มีชื่อว่า “Related topics”Metadata · Views and Charts · Security · Extensions · Functions and actions · Testing