0%

Build web and mobile apps quickly with Oracle Visual Builder and delve into real-time end-to-end use cases, exploring best practices, recommendations, security, and debugging techniques

Key Features

  • Execute various real-time use cases and develop web and mobile applications quickly
  • Enhance your skills by extending Oracle and non-Oracle SaaS applications using VB
  • Gain the knowledge needed to take on projects directly and work independently

Book Description

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.

What you will learn

  • Get started with VB and explore its architecture and basic building blocks
  • Gain a clear understanding of business objects and learn how to manage them
  • Create service connections to connect to the external API and Oracle SaaS
  • Build web and mobile apps and run them on various devices
  • Develop Oracle Cloud and non-Oracle SaaS app extensions
  • Get to grips with data and application security using practical examples
  • Explore best practices along with troubleshooting and debugging mechanisms
  • Connect your VB application with VBS for application versioning using Git

Who this book is for

This book is for IT professionals working with UI technologies to develop web and mobile applications for various industries. Developers and UI designers who want to understand how to use VB, develop scalable web and mobile applications using drag-and-drop features, and design applications in a better way with the help of real-time example apps and code samples will find this book helpful. Prior experience in any UI technology, JavaScript, and REST APIs will be useful.

Table of Contents

  1. Effortless App Development with Oracle Visual Builder
  2. Foreword
  3. Contributors
  4. About the author
  5. About the reviewer
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Download the color images
    6. Conventions used
    7. Get in touch
    8. Reviews
  7. Section 1: Exploring the Building Blocks of VB
  8. Chapter 1: What, Why, and How (WWH) of Visual Builder
    1. Technical requirements
    2. Introducing VB
    3. Reviewing the features and benefits of VB
    4. Knowing the tools required to use VB
    5. Knowing the technologies used in VB
    6. Understanding the VB architecture
    7. Summary
    8. Questions
  9. Chapter 2: Provisioning and Understanding the Visual Builder Instance
    1. Technical requirements
    2. Provisioning a VB instance
    3. Creating an instance using Quick Start
    4. Creating a custom instance
    5. Creating users and assigning roles
    6. Adding a user to IDCS
    7. Assigning a role to a user
    8. Deriving the cost of using VB
    9. Accessing the VB instance
    10. Accessing VB via the Visual Builder instance page
    11. Accessing VB using a direct URL
    12. Exploring various navigations of VB
    13. All Applications
    14. Settings
    15. Certificates
    16. Summary
    17. Questions
  10. Chapter 3: Exploring Visual Builder Ingredients
    1. Technical requirements
    2. Creating a VB application
    3. Understanding Business Objects
    4. Working with Business Objects
    5. Exploring Service Connections
    6. Various options to create a Service Connection
    7. Understanding variables, their types, and their scopes
    8. Understanding implicit objects of VB
    9. Exploring events and Action Chains
    10. Events
    11. Action Chains
    12. Actions inside an Action Chain
    13. Understanding the application's structure
    14. Understanding the various editors and the application designer
    15. Summary
    16. Questions
  11. Section 2: Working with Data and Services
  12. Chapter 4: Creating and Managing Business Objects
    1. Technical requirements
    2. Creating and modifying a Business Object
    3. Creating a Business Object
    4. Modifying a Business Object
    5. Adding a formula to a field
    6. Creating a relationship between Business Objects
    7. Creating business rules in a Business Object
    8. Creating Object Triggers
    9. Creating Field Triggers
    10. Creating Object Validators
    11. Creating Field Validators
    12. Creating Object Functions
    13. Managing Business Object data
    14. Exporting bulk data
    15. Importing bulk data
    16. Importing data from a different database
    17. Importing a Business Object
    18. Exploring Business Object REST APIs
    19. Resource APIs
    20. Resource Cache Control
    21. Endpoints
    22. Switching to a different database
    23. Summary
    24. Questions
  13. Chapter 5: Creating and Managing Service Connections
    1. Technical requirements
    2. Managing backends in visual applications
    3. Overriding the backends
    4. Adding a new backend
    5. Creating application profiles
    6. Creating a Service Connection from a REST endpoint
    7. Creating a No code API account
    8. Creating a Service Connection from an endpoint
    9. Creating a Service Connection from a service specification
    10. Creating a Service Connection using an inbuilt catalog
    11. Creating a Service Connection with Integration Cloud
    12. Creating a Service Connection with Oracle Cloud Applications
    13. Managing Service Connections
    14. Adding a server to the Service Connection
    15. Adding more endpoints to the Service Connection
    16. Summary
    17. Questions
  14. Chapter 6: Building Web Applications Using Real-World Examples
    1. Technical requirements
    2. Building a web application and connecting it to the Business Object
    3. Creating a web page to read all employees
    4. Creating a web page to onboard a new employee
    5. Creating a web page to update existing employee details
    6. A button for deleting the selected employee
    7. Testing the web application
    8. Connecting a web application with external REST APIs
    9. Creating a Service Connection with an external API
    10. Creating a new web page
    11. Listing the data from the external API
    12. Changing the default flow and the default page of a flow
    13. Navigating between pages, flows, and passing parameters between pages
    14. Navigating between pages
    15. Navigating between flows
    16. Passing parameters between pages
    17. Working with JavaScript
    18. Creating a new page
    19. Writing a JavaScript function
    20. Registering an event on buttons and calling a JS function
    21. Summary
    22. Questions
  15. Chapter 7: Working with Life Cycle Events, Validations, and UI Logic
    1. Technical requirements
    2. Exploring life cycle events
    3. vbBeforeEnter
    4. vbEnter
    5. vbBeforeExit
    6. vbExit
    7. Loading data on page load
    8. Creating a type and an ADP variable
    9. Registering the vbEnter event and loading the Employee Business Object data
    10. Populating the Employee Business Object data
    11. Showing a parent-child relationship on a page
    12. Creating a table to populate the addresses
    13. Implementing the logic to show the address of the selected employee
    14. Enabling client-side validation on forms
    15. Creating a new web form
    16. Creating JavaScript to validate a form
    17. Implementing logic to validate a form and insert data into a Business Object
    18. Working with various UI logic
    19. Hiding/showing UI components
    20. Calculating fields
    21. Enabling a logout feature
    22. Validating an input component using a regex
    23. Creating dependent Lists Of Values
    24. Summary
    25. Further reading
    26. Questions
  16. Section 3: Building Web and Mobile Apps Using Various VB Components
  17. Chapter 8: Exploring Other Visual Components and Their Advanced Functionalities
    1. Technical requirements
    2. Developing an editable table
    3. Populating the table from the Business Object using the ADP variable
    4. Registering events on the table
    5. Implementing the logic to support inline editing in a table
    6. Adding a button to save all modified records
    7. Enabling sorting, column resizing, searching, and pagination in a table
    8. Enabling/disabling sorting on the table
    9. Enabling/disabling column resizing
    10. Filtering data from a table
    11. Implementing pagination
    12. Working with dialogs
    13. Using the dialog component
    14. Opening and closing the dialog on an action
    15. Implementing the logic to delete a user
    16. Working with checkboxes
    17. Creating a checkbox with static data
    18. Creating a checkbox with dynamic data
    19. Working with List View
    20. Showing data in the Card Layout view
    21. Working with visualization components
    22. Creating a bar chart
    23. Creating a pie chart
    24. Creating an area chart
    25. Summary
    26. Further reading
    27. Questions
  18. Chapter 9: Extending Oracle and Non-Oracle SaaS Applications
    1. Technical requirements
    2. Extending a Salesforce application
    3. Pre-requisites for extending the Salesforce app
    4. Creating a Service Connection
    5. Listing and creating accounts
    6. Listing opportunities
    7. Creating opportunities
    8. Extending an Oracle Cloud application
    9. Adding an accounts REST endpoint
    10. Listing and updating the accounts
    11. Adding nomination functionality
    12. Creating a multilingual application
    13. Configuring an application to set the selected language locale
    14. Generating translatable strings
    15. Downloading and uploading the bundle
    16. Adding a language switcher
    17. Summary
    18. Questions
  19. Chapter 10: Working with Business Processes
    1. Technical requirements
    2. Adding the Process backend
    3. Registering the business processes
    4. Initiating the process from the VB application
    5. Managing process tasks
    6. Extracting the data object
    7. Configuring a connection to a process server
    8. Summary
    9. Further reading
    10. Questions
  20. Chapter 11: Building a Mobile Application with Live Examples
    1. Technical requirements
    2. Developing a mobile application
    3. Developing a doctor's appointment mobile application
    4. Booking an appointment
    5. Listing the appointments
    6. Configuring mobile application settings
    7. Enabling PWA support for mobile applications
    8. A few restrictions regarding the PWA app
    9. Defining a build configuration for different devices
    10. Build configuration for Android
    11. Build configuration for iOS
    12. Summary
    13. Further reading
    14. Questions
  21. Section 4: Security, Recommendations, Best Practices, and Troubleshooting
  22. Chapter 12: Securing VB Applications
    1. Technical requirements
    2. Understanding authentication roles and user roles
    3. Enabling anonymous access
    4. Anonymous access for web or mobile applications
    5. Anonymous access for Business Objects
    6. Anonymous access for Service Connections
    7. Creating and managing user roles
    8. Enabling role-based security
    9. Enabling data security
    10. Understanding Service Connection authentication and connection type
    11. Identity propagation
    12. Fixed credentials
    13. Configuring basic authentication for a mobile app
    14. A few restrictions when using basic authentication for a mobile app
    15. Summary
    16. Further reading
    17. Questions
  23. Chapter 13: Understanding and Managing Various Stages of a VB App
    1. Technical requirements
    2. Managing the VB application
    3. Glancing at the different application statuses
    4. Versioning of the VB application
    5. Cloning the VB application
    6. Promoting the VB application
    7. Exporting the application
    8. Importing the application
    9. Staging and publishing the VB application
    10. Staging the VB application
    11. Publishing the VB application
    12. Adding team members to the application
    13. Summary
    14. Questions
  24. Chapter 14: Best Practices and Recommendations for VB Applications
    1. Technical requirements
    2. Best practices and recommendations for enhancing an app's performance
    3. Reusability of the Action Chain
    4. Environment-specific values
    5. Using the Run in parallel action
    6. Caching the Select (Single) data
    7. Regular restaging and republication
    8. Using application profiles
    9. Optimizing the application
    10. Avoiding deprecated components
    11. Meaningful names of actions and variables
    12. Best practices for using Business Objects
    13. Using the Contains Application Setup Data option
    14. Data validation and calculation
    15. Enabling security
    16. Enabling data caching
    17. Best practices for using Service Connections
    18. Adding multiple endpoints to the same server
    19. Using the fine-tuned REST APIs
    20. Caching the data
    21. Getting the data in chunks
    22. Using the inbuilt catalog
    23. Summary
    24. Further reading
    25. Questions
  25. Chapter 15: Troubleshooting and Debugging VB Applications
    1. Technical requirements
    2. Learning about the tools for debugging applications
    3. Tracking REST calls
    4. Logging the data to debug issues
    5. JavaScript logging
    6. Action Chain logging
    7. Business Object logging
    8. Debugging the application code
    9. Exception handling
    10. Handling REST API exceptions
    11. Handling data-level issues
    12. Summary
    13. Further reading
    14. Questions
  26. Chapter 16: Managing VB Apps Using Visual Builder Studio
    1. Technical requirements
    2. Understanding VB Studio
    3. Provisioning VB Studio
    4. Accessing the Visual Builder Studio instance
    5. Creating a project in VB Studio
    6. Connecting VB to VB Studio and a Git repository
    7. Connecting to the Git repository
    8. Managing VB apps using Git repositories
    9. Pushing code from VB
    10. Modifying the code files
    11. Pulling Git updates using the VB console
    12. Importing the application from VB Studio Git
    13. Summary
    14. Further reading
    15. Questions
  27. Assessments
    1. Chapter 1, What, Why, and How (WWH) of Visual Builder
    2. Question 1
    3. Answer
    4. Question 2
    5. Answer
    6. Chapter 2, Provisioning and Understanding the Visual Builder Instance
    7. Question 1
    8. Answer
    9. Question 2
    10. Answer
    11. Question 3
    12. Answer
    13. Question 4
    14. Answer
    15. Question 5
    16. Answer
    17. Chapter 3, Exploring Visual Builder Ingredients
    18. Question 1
    19. Answer
    20. Question 2
    21. Answer
    22. Question 3
    23. Answer
    24. Question 4
    25. Answer
    26. Question 5
    27. Answer
    28. Question 6
    29. Answer
    30. Chapter 4, Creating and Managing Business Objects
    31. Question 1
    32. Answer
    33. Question 2
    34. Answer
    35. Question 3
    36. Answer
    37. Question 4
    38. Answer
    39. Question 5
    40. Answer
    41. Question 6
    42. Answer
    43. Question 7
    44. Answer
    45. Chapter 5, Creating and Managing Service Connections
    46. Question 1
    47. Answer
    48. Question 2
    49. Answer
    50. Question 3
    51. Answer
    52. Question 4
    53. Answer
    54. Question 5
    55. Answer
    56. Chapter 6, Building Web Applications Using Real-World Examples
    57. Question 1
    58. Answer
    59. Question 2
    60. Answer
    61. Question 3
    62. Answer
    63. Chapter 7, Working with Life Cycle Events, Validations, and UI Logic
    64. Question 1
    65. Answer
    66. Question 2
    67. Answer
    68. Question 3
    69. Answer
    70. Chapter 8, Exploring Other Visual Components and Their Advanced Functionalities
    71. Question 1
    72. Answer
    73. Question 2
    74. Answer
    75. Question 3
    76. Answer
    77. Chapter 9, Extending Oracle and Non-Oracle SaaS Applications
    78. Question 1
    79. Answer
    80. Question 2
    81. Answer
    82. Question 3
    83. Answer
    84. Question 4
    85. Answer
    86. Chapter 10, Working with Business Processes
    87. Question 1
    88. Answer
    89. Question 2
    90. Answer
    91. Chapter 11, Building Mobile Application with Live Examples
    92. Question 1
    93. Answer
    94. Question 2
    95. Answer
    96. Chapter 12, Securing the VB Applications
    97. Question 1
    98. Answer
    99. Question 2
    100. Answer
    101. Question 3
    102. Answer
    103. Chapter 13, Understanding and Managing Various Stages of a VB App
    104. Question 1
    105. Answer
    106. Question 2
    107. Answer
    108. Question 3
    109. Answer
    110. Chapter 14, Best Practices and Recommendations for VB Applications
    111. Question 1
    112. Answer
    113. Chapter 15, Troubleshooting and Debugging VB Applications
    114. Question 1
    115. Answer
    116. Question 2
    117. Answer
    118. Question 3
    119. Answer
    120. Chapter 16, Managing the VB Apps Using Visual Builder Studio
    121. Question 1
    122. Answer
    123. Question 2
    124. Answer
    125. Question 3
    126. Answer
    127. Question 4
    128. Answer
    129. Why subscribe?
  28. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Leave a review - let other readers know what you think
18.218.172.249