My Account Log in

1 option

Oracle PL/SQL best practices / Steven Feuerstein.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Feuerstein, Steven.
Language:
English
Subjects (All):
Oracle (Computer file).
PL/SQL (Computer program language).
Relational databases.
Physical Description:
1 online resource (304 p.)
Edition:
2nd ed.
Place of Publication:
Sebastopol, California : O'Reilly Media, Inc., 2008.
Language Note:
English
System Details:
text file
Summary:
In this compact book, Steven Feuerstein, widely recognized as one of the world's leading experts on the Oracle PL/SQL language, distills his many years of programming, teaching, and writing about PL/SQL into a set of best practices-recommendations for developing successful applications. Covering the latest Oracle release, Oracle Database 11gR2, Feuerstein has rewritten this new edition in the style of his bestselling Oracle PL/SQL Programming. The text is organized in a problem/solution format, and chronicles the programming exploits of developers at a mythical company called
Contents:
Oracle PL/SQL Best Practices, 2nd Edition; They Call This ""Work""?; The Cast of Characters; Structure of This Book; How to Use This Book; Conventions Used in This Book; About the Code; Comments and Questions; Safari Books Online; Acknowledgments; 1. The Big Picture; Successful Applications Are Maintainable; Successful Applications Run Fast Enough; Best Practices for Successful Applications; Software is like ballet: choreograph the moves or end up with a mess.; Solution: Agree on a common development workflow built around standards, testing, and reviews.; Application-level workflow
Step 2: Build the application foundation.Step 3: Build the next application iteration.; Step 4: Validate the application iteration; Single-program construction workflow; Step 2: Build an iteration of the program.; Step 3: Test the program iteration.; Step 4: Trace execution of the program.; Step 5: Debug the program.; Step 6: Validate the program: optimize and review.; Which steps do you perform?; Deferred satisfaction is a required emotion for best practices.; Step 2. Implement just the header of the program; Step 3. Define the tests that must be run; Step 4. Build your test code
Contracts work for the real world why not software, too?; Solution: Contracts capture agreements.; Enforcing contracts in code.; Don&t act like a bird: admit weakness and ignorance.; Solution: Give your brain a break, and ask others for help.; Five heads are better than one.; Solution: Move beyond documents to a review process that directly engages the development team.; Resources; Don&t write code that a machine could write for you instead.; Solution: If you can recognize a pattern in what you are writing, generate code from that pattern.; We need more than brains to write software.
2. Real Developers Follow StandardsIt&s a free country; I don&t have to use carriage returns in my code.; Solution: Use the built-in functionality of your IDE to automatically format your code.; Too much freedom is a very bad thing.; Solution: Rely on naming conventions that are intuitive and easy to apply.; Good names lead to good code.; Solution: Construct subprogram names so they reflect both what they are and what they do.; Put your checklists into your code.; Solution: Make your checklists active and directly involved in development.; Resources
Who needs comments? My code is self-documenting!Solution: Sometimes you really do need to add comments.; 3. Life After Compilation; Tracing; Debugging; Best Practices for Testing, Tracing, and Debugging; Thanks, but no thanks, to DBMS_OUTPUT.PUT_LINE!; Solution: Build a layer of code over DBMS_OUTPUT.PUT_LINE.; Assume the worst, and you will never be disappointed.; General Solution: Build instrumentation (tracing) into your application from the start.; Specific Solution 1: Embed trace calls in Boolean expressions to minimize overhead.
Specific Solution 2: Include standardized modules in packages to dump package state when errors occur.
Notes:
"Covers Oracle database 11g"--Cover.
"Write the best PL/SQL code of your life"--Cover.
Includes bibliographical references (pages 252-258) and index.
Description based on print version record.
ISBN:
0-596-15529-8
0-596-55152-5
OCLC:
609841117

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account