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

Creating business rules in a Business Object

Business rules are like constraints that can be defined on Business Objects declaratively. These business rules are similar to the triggers, constraints, and validations that are created on database tables. Similarly, we can define all those business rules on Business Objects too. Click on the Business Rules tab of a Business Object to view or create a new business rule.

The following types of business rules can be created on a Business Object:

  • Object Triggers
  • Field Triggers
  • Object Validators
  • Field Validators
  • Object Functions

We will look at all the preceding types of business rules in the following sections.

Creating Object Triggers

An Object Trigger is like a database trigger. For example, you want to send an email notification to an employee once a new entry is made on the Employee Business Object.

To meet this requirement, you can create an Object Trigger on the Employee Business Object; this...