Book Image

Effortless App Development with Oracle Visual Builder

By : Ankur Jain
Book Image

Effortless App Development with Oracle Visual Builder

By: Ankur Jain

Overview of this book

Organizations are moving their applications, data, and processes to the cloud to reduce application costs, effort, and maintenance. However, adopting new technology poses challenges for developers, solutions architects, and designers due to a lack of knowledge and appropriate practical training resources. This book helps you get to grips with Oracle Visual Builder (VB) and enables you to quickly develop web and mobile applications and deploy them to production without hassle. This book will provide you with a solid understanding of VB so that you can adopt it at a faster pace and start building applications right away. After working with real-time examples to learn about VB, you'll discover how to design, develop, and deploy web and mobile applications quickly. You'll cover all the VB components in-depth, including web and mobile application development, business objects, and service connections. In order to use all these components, you'll also explore best practices, security, and recommendations, which are well explained within the chapters. Finally, this book will help you gain the knowledge you need to enhance the performance of an application before deploying it to production. By the end of this book, you will be able to work independently and deploy your VB applications efficiently and with confidence.
Table of Contents (23 chapters)
1
Section 1: Exploring the Building Blocks of VB
5
Section 2: Working with Data and Services
10
Section 3: Building Web and Mobile Apps Using Various VB Components
15
Section 4: Security, Recommendations, Best Practices, and Troubleshooting

Logging the data to debug issues

In this section, we'll describe various ways to log data to debug development and runtime issues. When you develop applications, logging the data at relevant places is very important. It will help you to debug issues very easily. But make sure you don't log sensitive information such as bank details, credit card details, passwords, and so on due to security reasons.

We'll use logging for different layers to debug issues, such as the following:

  • JavaScript
  • Action Chains
  • Business Objects

In the subsequent sections, we'll see each of the aforementioned loggings in detail.

JavaScript logging

JavaScript is used to write custom logic or to filter out the data. In past chapters, we created some JavaScript code to build custom logic. If you want to debug issues during development and runtime, you can use the following one-line code in JavaScript to log the hardcoded string along with variables:

console.log...