HOWTO Build a Lianja App using best practices
by
, 2023-09-27 at 02:37 (30521 Views)
Lianja is a low-code Apps platform.
To reduce coding and speed up your App development you need to understand the Lianja Apps Architecture and follow best practices when building your Apps.
Lianja is a feature rich development environment which encourages you to build Apps by "thinking" and keeping your coding down to an absolute minimum.
By following best practices as detailed in this article you will become proficient in developing Lianja Apps quickly.
Lianja best practices QuickStart.
MVP and agile development
Understanding the Lianja Apps Architecture
Understanding Lianja ART
Understanding Lianja UI States
Creating a database and its tables with business rules
Understanding Data Binding
Understanding UI data queries
Working with MetaData
Understanding Responsive UI Apps
Let's look at a typical sequence of steps for building a Lianja App visually.
1. Create a database that will contain your data
If you have existing data in VFP you can import this directly into Lianja.
If you have existing data in MSSQL, MySQL or other databases you can access this data directly using Lianja Virtual Tables.
Alternatively you can create the tables that will contain your data using the Lianja Table Designer.
2. Create a prototype of your App in the App Builder.
The quickest way to build an App is from the "Develop" menu.
Choose "New Form".
Build your App as a Tabbed form that will run on Desktop, Web and Mobile.
(See "form2" example App)
3. Define the business rules for your data.
Business rules help verify, validate and maintain data integrity in your Apps.
Business rules can be defined in several places.
- Alongside the database/table/columns data dictionary
- As Metadata for database/table/columns
- In the UI for form/canvas/grid section UI elements
4. Define the UI states for your App
UI states allow you to specify the UI appearance during various states in data entry in your App.
Understanding Lianja UI States
5. Run your App locally to test it
You can run Web Apps locally to test and QA them.
Just click the "View in browser" icon in the HeaderBar of the App Builder.
6. Create a package of your App
Once you have your App packaged up you can upload and install it in Lianja Apps Cloud or your own private Lianja Cloud Server.
Upload and Install Apps using the Lianja Admin Console
If you have any questions just ask!