🟪Frontend app development 101
This article gives you a very basic introduction to frontend app development. You can use Dittofi to implement any of the concepts explained in here.
Last updated
This article gives you a very basic introduction to frontend app development. You can use Dittofi to implement any of the concepts explained in here.
Last updated
There are four steps that any app developer should think about when building their apps frontend on Dittofi.
Define the user experience
Implement your designs
Refine your app behavior
Launch your app
In this tutorial we will continue to build our simple directory app to display short term rentals.
The UX is the user experience for your app. The UX definition describes what is shown in your app and how it is shown (i.e. the user interface).
Pages are places where you can display different views of your data on your frontend. Apps can have multiple pages. In our app we are going to create the following pages:
A page to capture our users data
A page to display short term rentals
Elements are pre-built blocks of code that have been designed by Dittofi and Dittofi Contributors. These can be searched through and added to your pages with drag and drop. All aspects of each component can be styled from the styles panel in Dittofi.
In our case we can build up our page out of the following elements.
NOTE, in Dittofi you can add custom code blocks of HTML, CSS and Java Script. This allows you to import outside libraries of code, or develop entirely custom components if you want to.
Right now all of the elements that we have added to our page are static. Next we want to give our app the ability to capture user data and write this to our user and properties table, navigate between different pages and to load and display our user and properties data at the appropriate times. To do this we need to understand and use:
Variables
Repeating groups
Workflows
Connecting frontend and backend
To launch your app, you need to first build your code and then hit the preview button.