Book Image

Oracle APEX Best Practices

Book Image

Oracle APEX Best Practices

Overview of this book

Have you ever wanted to create real-world database applications? In this book you're not only getting APEX best practices, but will also take into account the total environment of an APEX application and benefit from it."Oracle APEX Best Practices" will guide you through the development of real-world applications. It will give you a broader view of APEX. The various aspects include setting up APEX environment, testing and debugging, security, and getting the best out of SQL and PL/SQL.In six distinct chapters you will learn about different features of Oracle APEX as well as SQL and PL/SQL.Do you maximize the capabilities of Oracle APEX? Do you use all the power that SQL and PL/SQL have to offer? Do you want to learn how to build a secure, fully functional application? Then this is the book you'll need. "Oracle APEX: Best Practices" is where practical development begins!
Table of Contents (14 chapters)
Oracle APEX Best Practices
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

JavaScript console wrapper


Martin Giffy D'Souza has written the Console Wrapper utility. For additional information, see http://www.talkapex.com/2011/01/console-wrapper-previously-js-logger.html.

Console wrapper allows to view the debug information in a nice console window within browsers. Most of the browsers are console-enabled (exception is the Internet Explorer browser). The utility is designed to easily debug JavaScript within applications. It allows developers to use the JavaScript console without breaking anything.

The most common use of the console is the console.log command:

console.log('hello world');

Removing instrumentation code before going into production can be annoying, especially if you need to debug it later on. To resolve this issue, Martin D'Souza has created a console wrapper. This allows you to leave your debugging calls in production code. Here are some features:

When running APEX in debug mode, the log level is automatically set.

Installation of the console wrapper

Installation...