Book Image

Building Low-Code Applications with Mendix

By : Bryan Kenneweg, Imran Kasam, Micah McMullen
Book Image

Building Low-Code Applications with Mendix

By: Bryan Kenneweg, Imran Kasam, Micah McMullen

Overview of this book

Low-code is a visual approach to application development. It enables developers of varying experience levels to create web and mobile apps using drag-and-drop components and model-driven logic through a graphic user interface. Mendix is among the fastest-growing platforms that enable low-code enthusiasts to put their software ideas into practice without having to write much code, and Building Low-Code Applications with Mendix will help you get up and running with the process using examples and practice projects. The book starts with an introduction to Mendix, along with the reasons for using this platform and its tools for creating your first app. As you progress, you’ll explore Mendix Studio Pro, the visual environment that will help you learn Mendix app creation. Once you have your working app ready, you’ll understand how to enhance it with custom business logic and rules. Next, you’ll find out how to defend your app against bad data, troubleshoot and debug it, and finally, connect it with real-world business platforms. You’ll build practical skills as the book is filled with examples, real-world scenarios, and explanations of the tools needed to help you build low-code apps successfully. By the end of this book, you’ll have understood the concept of low-code development, learned how to use Mendix effectively, and developed a working app.
Table of Contents (18 chapters)
Section 1: The Basics
Section 2: Building Your First App
Section 3: Leveling Up Your App

Designing a database for your Mendix app

In addition to attributes and associations, there are also other entity properties to consider when designing the data layer of your Mendix application. These properties include event handlers, access rules, validation rules, and indexes. In this section, we will briefly go over these properties and how to set them in a Mendix entity. For more information on how these constructs work, it is recommended for you to read more about data architecture and database design. For now, we will cover a simple use case of each.

Using validation rules at the entity level

Validation rules are rules used to ensure that data being entered into the data field conforms to a desired standard. Rules can be about ensuring that a value stays unique, such as on object ID or an email address. Rules can also be about validating the length or format of the data as well as forcing the data to equal a specific value. Entity-level validation rules will be executed...