How to Create a Database Front End in 4 Steps
Tags: database, frontend, datascience, tutorial
Published: 2024-03-22 01:16:56

<!-- wp:heading -->
<h2 class="wp-block-heading">How to Create a Database Front End: Complete Guide with Expert Tips</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>You are about to embark on a new application development project: the application requirements are clear. The entity relationship diagram (ERD) and the database schema are ready.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>It is time to start developing.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But hold on: though the back-end data structure is clear, you dread how slow and painful it will be to build a bespoke database front end. There's got to be a better way to build a database front end than spending hours wrestling with React UI component libraries.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>And there is.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you are a back-end or full-stack application developer, a database programmer or administrator, or even a business analyst with a strong grasp of SQL, this article is for you.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In it, we will explain <strong>how to create a database front end using Five</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:tadv/classic-paragraph -->
<div style="background-color: #001524;"><hr style="height: 5px;">
<pre style="text-align: center; overflow: hidden; white-space: pre-line;"><span style="color: #f1ebda; background-color: #4588d8; font-size: calc(18px + 0.390625vw);"><strong>Develop and Launch A Database Front End</strong></span></pre>
<p style="text-align: center;"><a href="https://five.co/free-trial" target="_blank" rel="noopener"><button style="background-color: #f8b92b; border: none; color: black; padding: 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 18px; cursor: pointer; margin: 4px 2px; border-radius: 5px;"><strong>Get Started for Free</strong></button><br></a></p>
<hr style="height: 5px;"></div>
<!-- /wp:tadv/classic-paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Goals &amp; Outcomes: Creating a Database Front End in 4 Steps</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In this how-to guide, we will go through the 4 steps of creating a database front end. These steps are:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li><strong>Creating a new application with Five.</strong></li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Creating a database with Five.<br></strong>This is where we create the tables and fields of our database and assign data and display types.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Creating forms with Five.<br></strong>For the sake of simplicity, the only front-end components we are building in this tutorial are forms to give our end-users the ability to read, write, update, or delete (CRUD) data contained in our database.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>Launching the application.<br></strong>We will deploy the application to the web by using Five's free trial.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>At the end of this article, we have developed a custom database, as well as a database front-end for end-users to interact with our database.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>If you'd like to skip ahead to our "How To" section, simply scroll down to "<a href="#how-to-create-a-front-end-for-a-mysql-database">How To Create a Front End for a MySQL Database In 4 Steps.</a>"</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What Is Five?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Five is a rapid application development environment that helps software developers build and deploy custom business applications faster. It provides developers with pre-built components that can be mixed with full code almost anywhere.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The Five Integrated Development Environment (IDE) covers the entire full-stack application development process, from data modeling to application deployment. It is ideally suited for building business applications for internal or external users.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Typical applications built with Five are internal tools, departmental applications, operations software, business partner portals, or B2B applications. Good examples are custom CRM solutions, custom membership systems, custom order management systems (OMS), custom product information management systems (PIM), or custom inventory systems. Check out our <a href="https://five.co/use-cases/" target="_blank" data-type="page" data-id="1070" rel="noreferrer noopener">use cases</a> for application templates and inspiration.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Developers can access Five's trial to develop and test applications. There is also a free download available to test applications locally. Only if an application is ready for end-users, is a subscription to Five required. </p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">What Is Five's Tech Stack?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>A tech stack (or software stack) describes the combination of technologies used to build an application. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Popular stacks that are known for their ability to produce fast and powerful web applications are:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li><strong>MERN</strong>: MongoDB, Express, React, and Node.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>LAMP</strong>: Linux, Apache, MySQL, PHP/Perl/Python.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li><strong>MEAN</strong>: MongoDB, Express, Angular, and Node.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>For a comparison, <a href="https://five.co/blog/mean-vs-mern/" data-type="post" data-id="1365">check out our blog post on MEAN vs MERN here.</a></li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Each stack is named after the core technologies that make up the stack, from the web server to the database (MongoDB or MySQL) to the programming language used for the front-end and back-end development. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In recent years, end-to-end JavaScript stacks such as MERN or MEAN have grown in popularity. The only difference between the MERN and MEAN stack is the choice of front-end framework (React or Angular). But even the older LAMP stack is still a popular choice due to its combination of tried-and-tested open-source technologies with great support communities.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>How does Five compare to these popular software stacks?</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Five gives developers everything they need to develop a cloud-native, modern full-stack web application in one platform.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Applications that are built with Five</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>use a <strong>MySQL database</strong>,</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>are extensible through <strong>SQL</strong>, <strong>JavaScript and TypeScript</strong>,</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>use the popular <strong>React component library Material-UI</strong> for their auto-generated front end, and</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>can be deployed in a single click to a<strong> highly scalable infrastructure </strong>as a <strong>containerized web application</strong> (using Docker &amp; Kubernetes). Applications built with Five run in the cloud.</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Why Use Five, Instead of an Open-Source Software Stack?</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Why should developers use Five, instead of MEAN, MERN, or LAMP to build web applications? </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The answer is faster development speed, higher standardization, and ease of use.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Of course, developers can always select to develop applications in the traditional, full-code way, setting up their environment and starting from there. This has always been and will always remain a valid choice for application development.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But there are at least three advantages when using the Five IDE:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li>Developers can get started with building the application right away, and don't have to waste valuable time setting up their software stack. This contributes to a faster speed of development.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Developers don't need to be familiar with all the latest technologies and tools required to build &amp; deploy a full-stack application. <br>Inside Five, they find everything they need to build, maintain, and deploy an application to the cloud, without ever having to leave the Five development environment. For example, there is no need to create a SQL script in a MySQL GUI external to Five, sift through component libraries, or figure out a cloud management console for deployment. All of this is covered by Five, accelerating the delivery of cloud applications to end-users. And Five is extensible through full code written in SQL (queries), JavaScript, or TypeScript (for functions and processes). Five also supports popular technologies such as webhooks or APIs.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Last, Five makes it easy for back-end developers to create a frontend, or for front-end developers to create a backend, even if they are not experts in the usual tools used to create a frontend or backend. And developers of all stripes - frontend, backend of full-stack - can easily launch applications to the cloud, even if they do not have cloud expertise. This makes Five very easy to use and get started with.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>With Five, developers get access to an all-in-one developer tool that goes beyond a traditional IDE. Now, let's understand how to create a database front-end with Five.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>There are four steps involved to create a front end for a database:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li>Creating a new application with Five.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Creating a MySQL database with Five.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Creating forms with Five.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Launching the application.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading"><a id="how-to-create-a-front-end-for-a-mysql-database"></a>How to Create a Database Front End in 4 Steps</h3>
<!-- /wp:heading -->

<!-- wp:tadv/classic-paragraph -->
<div style="background-color: #001524;"><hr style="height: 5px;" />
<pre style="text-align: center; overflow: hidden; white-space: pre-line;"><span style="color: #f1ebda; background-color: #4588d8; font-size: calc(18px + 0.390625vw);"><strong>Create a Database Front End</strong>
<span style="font-size: 14pt;">Sign Up to Follow this Tutorial</span></span></pre>
<p style="text-align: center;"><a href="https://five.co/free-trial" target="_blank" rel="noopener"><button style="background-color: #f8b92b; border: none; color: black; padding: 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 18px; cursor: pointer; margin: 4px 2px; border-radius: 5px;"><strong>Start For Free</strong></button><br /></a></p>
<hr style="height: 5px;" /></div>
<!-- /wp:tadv/classic-paragraph -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Creating a New Application With Five</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Let's start by creating a new application with Five. To do so, <a href="https://five.co/free-trial" target="_blank" rel="noreferrer noopener">access Five's free trial</a>. The first screen you will see looks like this. </p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2085,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Landing-Page-1024x649.png" alt="Five.Co - Landing Page" class="wp-image-2085"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>Here's how to create a new web application using Five:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li>Start by clicking on <strong>Applications </strong>in the top left corner.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Next, click on the yellow <strong>Plus </strong>button. </li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Give your application a descriptive name in the <strong>Title</strong> field, and save it by clicking the tick mark in the top right.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Done: You have successfully created your first application in Five.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:image {"id":1605,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/image-31-1024x617.png" alt="Click the Tick Mark in the Top Right Corner to Save" class="wp-image-1605"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>You will now see your new application in the list of all applications that you have created with Five. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Next, click on the blue "<strong>Manage</strong>" button that has appeared in the top right corner to access all of Five's development features.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":741} -->
<figure class="wp-block-image aligncenter"><img src="https://five.co/wp-content/uploads/2023/01/Five.Co-Manage-Your-Application.png" alt="Five.Co - Manage Your Application" class="wp-image-741"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p><strong><em>EXPERT TIP:</em></strong> Don't spend too much time on all the other application settings just yet. <br>There is a lot that you can customize for each application, from making it a multi-user application, to configuring application logs, or customizing application buttons. For now, let's simply leave the default choices as is. By having created a new application, we have access to all we need to start creating our database front end.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Creating a MySQL Database With Five</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Next, we create our MySQL database inside Five.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Applications built with Five use an integrated MySQL database. The database can be created and managed straight from inside the Five development environment. No external MySQL GUI, such as dbForge Studio, phpMyAdmin, MySQL Workbench, Navicat for MySQL, DBeaver, or Beekeeper Studio is required to create, alter or update tables.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>However, if you are not ready yet to abandon your database GUI for something new yet, you can also simply import a SQL dump straight into Five. Once imported, you will find all your database tables, their fields, display types, and stored procedures inside of Five. For instructions on how to do so, <a href="http://help.five.org">visit our documentation on help.five.org</a>.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>In this tutorial, we will use Five to create a fresh MySQL database tables. To do so, click on <strong>Manage</strong>, and then on <strong>Data, </strong>and <strong>Table</strong> <strong>Wizard</strong>.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2087,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Table-Wizard-1024x649.png" alt="Five.Co - Table Wizard" class="wp-image-2087"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>Using the Table Wizard, you can:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li>Create new database tables from scratch,</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Assign data and display types to your database fields, which define how data is stored and displayed to your end users,</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Build relationships between tables using Primary Keys and Foreign Keys,</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Import CSV files straight into your database tables, and</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Add new fields to existing database tables.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>Simply add new fields to your table by clicking on the <strong>Plus </strong>icon. Define their data and display types, as well as their size, and you're done creating a database table.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2088,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Create-a-Table-with-the-Table-Wizard-1024x627.png" alt="Five.Co - Create a Table with the Table Wizard" class="wp-image-2088"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>For a quick tutorial on how to create your first database table, <a href="https://help.five.org/docs/training/quick-start-guide/build-database-tables">follow our Quick Start Guide that walks you through setting up database tables, as well as building relationships between them.</a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"align":"left"} -->
<p class="has-text-align-left">Or watch this YouTube video that explains Five's Table Wizard:</p>
<!-- /wp:paragraph -->

{% embed https://youtu.be/jcRAhyw9rmI?feature=shared %}

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"></p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p><strong><em>EXPERT TIP:</em></strong> Five automatically creates Primary Keys and Foreign Key fields when you establish a relationship with another table for you. <br>This means that when you create a new table from scratch and inspect its fields, you will find that Five has automatically added an additional field, the Primary Key, to your table. The field is always named "TableNameKey" and is stored as a GUID. This is where Five stores primary keys for you. So there's no need for you to create a separate field to serve as a primary key.<br><br>To view keys, click on <strong>Data</strong> and then <strong>Database Modeler. </strong>The database modeler visualizes your database schema for you and shows you all of your tables and their relationships.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":1328,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/07/use-cases-database-modeler-1024x702.jpg" alt="Five.Co - Database Modeler" class="wp-image-1328"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Creating Forms With Five</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Once your database tables are set up, you can start creating forms. Simply click on <strong>Visual,</strong> and then <strong>Form Wizard </strong>in the Menu on the top.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2091,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Form-Wizard-1024x650.png" alt="Five.Co - Form Wizard" class="wp-image-2091"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>Inside the Form Wizard, select the database table that your new form will be pointing to. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>For example: say your database contains a table called "Inventory". The form wizard will let you select this table, and will automatically create all the fields that your form should contain for end-users to interact with your database table.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Click on the tick icon to save your form.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":2092,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://five.co/wp-content/uploads/2023/08/Five.Co-Form-Wizard-Creating-a-form-1024x656.png" alt="Five.Co - Form Wizard - Creating a form" class="wp-image-2092"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>Going from database table to form usually takes just a few seconds. Five makes it incredibly easy to build a CRUD application through its tight integration of the MySQL database into the overall development process. Simply follow this video to create your first form:</p>
<!-- /wp:paragraph -->

{% embed https://youtu.be/C-P0vgwrU6s?feature=shared %}

<!-- wp:paragraph -->
<p>There are also plenty of customization options that Five gives you for forms. We will not go into all of these now, so here is just a quick list:</p>
<!-- /wp:paragraph -->

<!-- wp:list {"ordered":true} -->
<ol><!-- wp:list-item -->
<li>You can adjust the size and order of your form fields.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Through the use of "Show If", "Read Only If" or "Required If" and JavaScript conditions, you can create forms with conditional logic.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>You can create custom display types, or apply regular expressions (RegEx) to validate the data that end-users store inside of forms.</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>You can assign events to end users' actions on forms. For example, you can run a JavaScript function that is tied to an "on enter" or "on exit" event in relation to a form field.</li>
<!-- /wp:list-item --></ol>
<!-- /wp:list -->

<!-- wp:paragraph -->
<p>In a nutshell, there is little that you <em>cannot</em> do with a form built inside of Five. But if you still have questions, then our <a href="https://five.org">user community</a> is a good place to learn more about Five's features.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p><strong><em>EXPERT TIP:</em></strong> Forms can get pretty complex. It's best to start with a bare-bones form and delve deeper into the customization options later. <br>The form might not look pretty at the start, but it does what it is supposed to do: it lets end users interact with your database through a graphical user interface. Later on, you can customize forms based on your requirements.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":4} -->
<h4 class="wp-block-heading">Launching The Application</h4>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>We have now completed all steps to create a single table, single form application with Five. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But let's remember what we are here for. we want to learn how to create a database front end. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>But wait: we are almost at the end of the tutorial, and haven't done anything with regard to the user interface or frontend design yet. Well, you don't have to. Five creates it for you!</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>To better understand this, let's launch our application for the first time. Click the "Run" button in the top-right corner. Your application will open and you can preview your application in a new tab.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"align":"center","id":742} -->
<figure class="wp-block-image aligncenter"><img src="https://five.co/wp-content/uploads/2023/01/Five.Co-Run-Your-Application.png" alt="Five.Co-Run-Your-Application" class="wp-image-742"/></figure>
<!-- /wp:image -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>Five automatically creates a clean and intuitive <a href="https://five.co/blog/the-admin-panel-the-best-web-app-template/" data-type="post" data-id="995">admin panel user interface</a> on top of your database. Running along the top and the left-hand side, Five gives users a menu to navigate through the application. On the top, there are icons for in-app help or a user avatar that is particularly handy for multi-user applications. And in the center, there is a main area for your users to interact with your application, its forms, charts, dashboards, or any other element that you decide to develop for them.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>This user interface is customizable through themes, buttons, or custom front-end components. It also handles more complex data structures very well, by letting you add pages, drill downs, or parent-child menus.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p><strong><em>EXPERT TIP:</em></strong> If you are building your application locally, you can only deploy the application into your development environment. When using Five on the cloud (with a paid subscription), Five gives developers a development, testing, and production environment for each application and application instance. This makes managing releases across development, testing (QA), and business teams very easy, as developers do not need to worry about setting up and maintaining these environments manually.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Understanding The User Interface</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Let's delve a bit deeper into the user interface that Five provides you with.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Five's user interface for end-user applications is primarily made for data-driven, multi-user <strong>business applications</strong>. These business applications can range from tools purely used by internal staff to business partner or supplier portals to custom CRM or OMS systems. Through the user interface, the end-user can store, amend, view, visualize, report, or query data.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Five comes with dozens of popular UI components for displaying data, from ratings to date pickers to radio buttons. Five's UI can also be extended via form-style plugins.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The <strong>user interface is responsive </strong>and automatically adjusts to a smaller screen size. It renders well on all common devices, from mobile phones to desktops.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p><strong><em>EXPERT TIP:</em></strong> Even though Five's UI is responsive by default, developers should carefully think through their end users' experience. <br>For example, Five lets developers define a custom grid for dashboards, by defining a custom grid of columns and rows. For mobile, it's best to keep the number of columns and rows to a minimum, as end-users typically cannot consume too many visualizations at once on a small screen.</p>
<!-- /wp:paragraph -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:paragraph -->
<p>The notification icon in the top right corner is fully programmable and can be used to send notifications to end-users, based on their user profile. Developers can also add more (custom) buttons in the application bar on the top.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Overall, the user interface is designed to give developers maximum speed in their application development, without making sacrifices to the overall end-user experience.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3} -->
<h3 class="wp-block-heading">Conclusion &amp; Next Steps</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>In this article, we covered how to create a database front end. We used Five, a rapid application development environment designed for use by experienced software developers, to do so. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Five is best used for building custom business applications. It makes the process of creating a front end on a database quick, easy, and efficient and provides developers with a pre-built user interface.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Now that you have learned how to create a database front end, where should you take your application next? So far, we only covered the basics of Five. To continue developing your application why not try:</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><!-- wp:list-item -->
<li>Making it a multi-user application and creating different access rights and permissions for different user groups?</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Adding a mail merge to notify users about changes inside your application?</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Writing a SQL query inside Five to create reports, charts, or dashboards?</li>
<!-- /wp:list-item -->

<!-- wp:list-item -->
<li>Adding JavaScript functions to connect Five to external systems, such as Slack?</li>
<!-- /wp:list-item --></ul>
<!-- /wp:list -->

<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->

<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:heading -->
<h2 class="wp-block-heading" id="expansion-build-a-web-app-on-a-my-sql-database">Expansion: Build a Web App on a MySQL Database</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>Learn how to build an entire web app on a database by following our <a href="https://five.co/code-along/code-along-full-stack-web-app/" target="_blank" rel="noreferrer noopener">step-by-step app development guide</a>. </p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>The guide starts with the creation of a database from scratch and finishes with a web app that contains a chart, PDF reports, and forms for users to interact with your data. You will learn how to combine all these front-end elements with your back-end database.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Best of all: it's free to follow!</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"vivid-cyan-blue","textColor":"white","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-white-color has-vivid-cyan-blue-background-color has-text-color has-background has-link-color wp-element-button" href="https://five.co/code-along/code-along-full-stack-web-app/" target="_blank" rel="noreferrer noopener">Learn How to Build a Web App</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->