Oracle PL/SQL Best Practices

Front Cover
"O'Reilly Media, Inc.", Oct 22, 2007 - Computers - 294 pages
6 Reviews

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 My Flimsy Excuse, Inc., as they write code, make mistakes, and learn from those mistakes-and each other.

This book offers practical answers to some of the hardest questions faced by PL/SQL developers, including:

  • What is the best way to write the SQL logic in my application code?


  • How should I write my packages so they can be leveraged by my entire team of developers?


  • How can I make sure that all my team's programs handle and record errors consistently?
Oracle PL/SQL Best Practices summarizes PL/SQL best practices in nine major categories: overall PL/SQL application development; programming standards; program testing, tracing, and debugging; variables and data structures; control logic; error handling; the use of SQL in PL/SQL; building procedures, functions, packages, and triggers; and overall program performance.

This book is a concise and entertaining guide that PL/SQL developers will turn to again and again as they seek out ways to write higher quality code and more successful applications.

"This book presents ideas that make the difference between a successful project and one that never gets off the ground. It goes beyond just listing a set of rules, and provides realistic scenarios that help the reader understand where the rules come from. This book should be required reading for any team of Oracle database professionals."

--Dwayne King, President, KRIDAN Consulting
 

What people are saying - Write a review

User ratings

5 stars
5
4 stars
1
3 stars
0
2 stars
0
1 star
0

User Review - Flag as inappropriate

Ya it is really Good Practices book
-- Dronadula Dasaradha (Kavali)

User Review - Flag as inappropriate

Great book. Have read it many times over; still don't feel bored. Gives you the best practices in the form which I find very similar to Moral Science textbooks I have read back at my childhood age :-)

Contents

The Big Picture
1
Real Developers Follow Standards
37
Life After Compilation
51
Whats Code Without Variables?
73
Developer As Traffic Cop
95
Doing the Right Thing When Stuff Goes Wrong
114
Playing with Blocks of Code
179
My Code Runs Faster Than Your Code
218
A Best Practices Quick Reference
247
Index
259
Copyright

Other editions - View all

Common terms and phrases

Popular passages

Page 28 - Code review involves having other developers actually read and review your source code. This review process can take many different forms, including: The buddy system Each programmer is assigned another programmer to be ready at any time to look at his buddy's code and to offer feedback. On a regular basis (and certainly as a "gate...
Page 29 - To make this process work, the development manager or team leader must take the initiative to set up the code review process and must give developers the time (and training) to do it right.
Page 29 - The architecture of the application tends to be sounder, and the number of bugs in production code goes way down. A further advantage is that expertise on the development team is more broadly and evenly spread, as everyone learns from everyone else.
Page 29 - It uses a question-and-answer format to show you exactly how to implement reviews for all sorts of product and software development. Extreme Programming Explained (Addison-Wesley) This first book on Extreme Programming, by Kent Beck, offers many insights into pair programming.

About the author (2007)

Steven Feuerstein is considered to be one of the world's leading experts on the Oracle PL/SQL language, having written ten books on PL/SQL, including Oracle PL/SQL Programming and Oracle PL/SQL Best Practices (all published by O'Reilly Media). He has also published his first book for kids: http: //stevenfeuerstein.com/vivianvultur e. Steven currently serves as PL/SQL Evangelist for Oracle Corporation. He has been developing software since 1980, spent five years with Oracle (1987-1992), and was PL/SQL Evangelist for Quest Software (and then Dell) from January 2001 to February 2014. He was an Oracle ACE Director (had to give up the prestigious title when he rejoined Oracle) and writes regularly for Oracle Magazine, which named him the PL/SQL Developer of the Year in both 2002 and 2006. He is also the first recipient of ODTUG's Lifetime Achievement Award (2009). Steven's latest initiative is the PL/SQL Challenge ( http: //www.plsqlchallenge.com ), a daily quiz for PL/SQL developers; hundreds of programmers play each day. Check it out and join the fun! You can also catch up on his latest, mostly non-PLSQL rants at http: //feuerthoughts.blogspot.com.

Bibliographic information