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

Chapter 11 – Building a Shopping List App in Honeycode

Exercise 1

=Filter(Items, "Items[Store] = THISROW() AND Items[Bought] = FALSE")

We set this formula in the ItemsToBuy column of the Stores table to return the set of rows from the Items table with items to be bought from this store. Having this column simplified the creation of the screens based on the Stores table, as we already had the formula set and it can simply be assigned to a source. Furthermore, the formula this is stored in the table is pre-computed, whereas that set gets computed every time the app loads the screen, thereby reducing on-the-fly computations, which is extremely useful when working with large datasets.

Exercise 2

To set the default value of the store on the Items form, we need to pass the reference of the store we are currently viewing. Recall that we are on the Store detail screen and have navigated to it using the list view. The list view itself passes the store reference...