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

Using decisions to navigate your application logic

Decisions will split or join flows of logic in your microflow. At a decision point, there is usually some sort of evaluation of a condition that could have multiple outcomes. It could be a true or false scenario or a possibility of options in an enumerated list. The outcome could even be the calculation of some complex expression. For now, you will learn how to use decision elements called decision splits to validate the data fields on your member and phone number objects. This will ensure that when members and phone numbers are saved, they will not have blank data fields.

Validating phone number on save

Follow these steps to add some validation logic to the Act_PhoneNumber_Save microflow:

  1. Navigate to the Act_PhoneNumber_Save microflow in Mendix Studio Pro 8.
  2. Right-click in the microflow.
  3. Click Add.
  4. Click Activity.
  5. Double-click the activity.
  6. Choose select Type of Action: Create Variable.
  7. Drag...