Book description
Steven Feuerstein's first book, Oracle PL/SQL Programming, has become the classic reference to PL/SQL, Oracle's procedural extension to its SQL language. His new book looks thoroughly at one especially advanced and powerful part of the PL/SQL language -- the package. The use of packages can dramatically improve your programming productivity and code quality, while preparing you for object-oriented development in Oracle technology. In this book, Feuerstein explains how to construct packages -- and how to build them the right way. His "best practices" for building packages will transform the way you write packages and help you get the most out of the powerful, but often poorly understood, PL/SQL language. Much more than a book, Advanced Oracle PL/SQL Programming with Packages comes with a PC diskette containing a full-use software companion. Developed by Feuerstein, RevealNet's PL/Vision Lite is the first of its kind for PL/SQL developers: a library of thirty-plus PL/SQL packages. The packages solve a myriad of common programming problems and vastly accelerate the development of modular and maintainable applications. The packages provided in PL/Vision Lite fall into three categories:
Building block packages: low-level development enhancers, including string parsers, a list manager, and an interface to PL/SQL tables.
Developer utilities: programs that improve your PL/SQL development environment, including a code generator, a powerful substitute for SHOW ERRORS, and an online help delivery mechanism.
Plug-and-play components: pieces of code that can be used as is in your own applications, including a high-level exception handler mechanism and a generic, reusable logging mechanism.
In addition to describing the details of these packages, this book explores why and how they were built the way they were. You'll come away with an increased appreciation of the PL/SQL language and the power of packages. Most importantly, you'll be ready and eager to put that power to use immediately in your own applications.
Table of contents
- Copyright
- Dedication
- Foreword
- Preface
-
Working With Packages
- PL/SQL Packages
-
Best Practices for Packages
- Starting With Packages
- Using Effective Coding Style for Packages
- Selecting Package Names
- Organizing Package Source Code
- Constructing the Optimal Interface to Your Package
- Building Flexibility Into Your Packages
- Building Windows Into Your Packages
- Overloading for Smart Packages
- Modularizing for Maintainable Packages
- Hiding Package Data
- Simultaneous Construction of Multiple Packages
-
The PL/SQL Development Spiral
- The Basic Problem
- Adding Value
- Supplying Backward Compatibility
- Improving the User Interface
- Rough Waters Ahead
- Building a Structured Function
- Handling Program Assumptions
- Broadening the Scope
- Considering Implementation Options
- Choosing the Best Performer
- Don't Forget Backward Compatibility
- Obliterating the Literals
- Glancing Backward, Looking Upward
-
PL/Vision Overview
- Getting Started with PL/Vision
-
PL/Vision Package Specifications
- Common Package Elements
- p: a DBMS_OUTPUT Substitute
- PLV: Top-Level Constants and Functions
- PLVcase: PL/SQL Code Conversion
- PLVcat: PL/SQL Code Cataloguing
- PLVchr: Operations on Single Characters
- PLVcmt: Commit Processing
- PLVddd: DDL Syntax Dump
- PLVdyn: Dynamic SQL Operations
- PLVexc: Exception Handling
- PLVfile: Operating System I/O Manager
- PLVfk: Foreign Key Interface
- PLVgen: PL/SQL Code Generator
- PLVhlp: Online Help Architechture
- PLVio: Input/Output Processing
- PLVlex: Lexical Analysis
- PLVlog: Logging Facility
- PLVlst: List Manager
- PLVmsg: Message Handling
- PLVobj: Object Interface
- PLVprs: String Parsing
- PLVprsps: PL/SQL Source Code Parsing
- PLVrb: Rollback Processing
- PLVstk: Stack Manager
- PLVtab: Table Interface
- PLVtkn: Token Table Interface
- PLVtmr: Program Performance Analyzer
- PLVtrc: Trace Facility
- PLVvu: Code and Error Viewing
-
Building Block Packages
- PLV: Top-Level Constants and Functions
- p: A Powerful Substitute for DBMS_OUTPUT
- PLVtab: Easy Access to PL/SQL Tables
- PLVmsg: Single-Sourcing PL/SQL Message Text
- PLVprs, PLVtkn, and PLVprsps: Parsing Strings
- PLVobj: A Packaged Interface to ALL_OBJECTS
- PLVio: Reading and Writing PL/SQL Source Code
- PLVfile: Reading and Writing Operating System Files
- Developer Utility Packages
- Plug-and-Play Packages
- Testing Your Knowledge
- Colophon
- Index
Product information
- Title: Advanced Oracle PL/SQL Programming with Packages
- Author(s):
- Release date: October 1996
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565922389
You might also like
book
Oracle PL/SQL Programming: A Developer's Workbook
However excellent they are, most computer books are inherently passive--readers simply take in text without having …
book
Oracle Database 12c PL/SQL Programming
Master Oracle Database 12 c PL/SQL Application Development Develop, debug, and administer robust database programs. Filled …
book
Advanced Oracle PL/SQL Developer's Guide - Second Edition
Master the advanced concepts of PL/SQL for professional-level certification and learn the new capabilities of Oracle …
book
Oracle and PL/SQL Recipes: A Problem-Solution Approach
Oracle PL/SQL Recipes is your go to book for PL/SQL programming solutions. It takes a task-oriented …