Book Image

Build Customized Apps with Amazon Honeycode

By : Aniruddha Loya
Book Image

Build Customized Apps with Amazon Honeycode

By: Aniruddha Loya

Overview of this book

Amazon Honeycode enables you to build fully managed, customizable, and scalable mobile and web applications for personal or professional use with little to no code. With this practical guide to Amazon Honeycode, you’ll be able to bring your app ideas to life, improving your and your team’s/organization’s productivity. You’ll begin by creating your very first app from the get-go and use it as a means to explore the Honeycode development environment and concepts. Next, you’ll learn how to set up and organize the data to build and bind an app on Honeycode as well as deconstruct different templates to understand the common structures and patterns that can be used. Finally, you’ll build a few apps from scratch and discover how to apply the concepts you’ve learned. By the end of this app development book, you’ll have gained the knowledge you need to be able to build and deploy your own mobile and web applications. You’ll also be able to invite and share your app with people you want to collaborate with.
Table of Contents (20 chapters)
1
Part 1: Introduction to Honeycode
7
Part 2: Deep-Dive into Honeycode Templates
13
Part 3: Let's Build Some Apps

Controlling the component visibility with conditions

In the previous section, we learned how to use conditions to stylize our app. We can similarly affect the layout of our app using conditions to show or hide a component. In the requirements section, we listed a requirement for an optional notes field to capture additional details of a task. However, we do not want that field to be always visible, as notes can be detailed and will affect the utility of the app if they are always visible in the view. So, let's see how we can use conditions to control the onscreen component and implement these requirements:

  1. We learned in Chapter 3, Building your first Honeycode Application, that for us to store data entered in the app, we need to have a corresponding field in our table. So first, we add a new column to the Tasks table and rename it Notes. Add some dummy data for the first column.
  2. In the MyTasks screen, add a new block and move it above the existing lists.
  3. Add a...