Chapter 12. Techniques for Programming


This, the fourth and final programming chapter of the book, will show you some specific ways of using programming languages to interface with MySQL. Whereas chapters 7 through 9 demonstrate how to do basic MySQL interactions with PHP, Perl, and Java, the focus here is more on theory and techniques: how to do certain things using a programming language. The particulars to be discussed include storing and retrieving binary data, generating query result pages, using transactions, and calling stored procedures.

The techniques demonstrated in this chapter cover a handful of what I believe are the more commonly needed programming topics. I'll be showing one workable solution to each of the quandaries. While you will most likely find yourself using slight variants on these techniques, following the steps for each topic should give you a sufficient sense of the theory behind them. I'll use one of the previously discussed languages (PHP, Perl, and Java) for each example, but you should be able to recognize and translate the techniques to whichever language you are using.




MySQL Visual QuickStart Guide Serie  .Covers My SQL 4 and 5
MySQL, Second Edition
ISBN: 0321375734
EAN: 2147483647
Year: 2006
Pages: 162
Authors: Larry Ullman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net