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

Enabling role-based security

Role-based security allows securing the entire flow, page, or certain components on a page, for example, hiding a button component from a page for a certain user role or restricting access for the entire page for a certain user role. Role-based security makes the application secure and prevents access to the application flow, page, or components from unauthorized users.

In order to secure UI components on a page, use the following expression:

<oj-bind-if test="[[ $application.user.roles.user_role_name]]" > </oj-bind-if>

In the preceding code, replace user_role_name with the user role name that is created in the User Roles tab, as follows:

<oj-bind-if test="[[ $application.user.roles.AdminRole ]]" > </oj-bind-if>

We'll use the oraclecloudext_chapter9 web application to apply the security. Here are the steps to show the Update Customer button only if the logged-in user role falls under AdminRole...