Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle APEX Best Practices

You're reading from   Oracle APEX Best Practices Make the most of Oracle Apex with this guide to best practices. It will help you look at the bigger picture when building applications and take more elements into account such as security and performance.

Arrow left icon
Product type Paperback
Published in Nov 2012
Publisher Packt
ISBN-13 9781849684002
Length 298 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Oracle APEX Best Practices
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Prepare and Build 2. Leveraging the Database FREE CHAPTER 3. Printing 4. Security 5. Debugging and Troubleshooting 6. Deploy and Maintain Database Cloud Service and APEX 4.2 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image