Short Cuts

Books or essays or articles? Whatever. They're short (relatively speaking) and to the point.


June 10, 2007
URL:http://www.drdobbs.com/short-cuts/199902905

Gregory V. Wilson is a contributing editor to Dr. Dobb's Journal. He can be contacted at [email protected].


Next-Generation Web Frameworks in Python
Liza Daly
O'Reilly Media, 2007
43 pp., $9.99
ISBN 978-0-596-51371-9

Checking Java Programs
Ian F. Darwin
O'Reilly Media, 2007
54 pp., $9.99
ISBN 978-0-596-51023-7

Inside SQLite

Sibsankar Haldar
O'Reilly Media, 2007
76 pp., $9.99
ISBN 978-0-596-55006-6

SQL Injection Defences
Martin G. Nystrom
O'Reilly Media, 2007
39 pp., $9.99
ISBN 978-0-596-52964-2

Yahoo! Pipes
Mark Pruett
O'Reilly Media, 2007
63 pp., $9.99
ISBN 978-0-596-51453-2

Using Microformats
Brian Suda
O'Reilly Media, 2007
45 pp., $9.99
ISBN 0-596-52817-5


I remember when it felt odd to have colleagues I'd never met face to face. These days, though, I don't give it a second thought -- not until one of them moves on, and the odds of ever sharing a cup of coffee with them dwindle dramatically. It happened again just a few weeks ago, when Kathryn Barrett decided to move on from her position at O'Reilly. She did a great job of getting books and other material to me for years; I'll miss working with her.

In honor of her departure, in this article I will take a look at O'Reilly's Short Cuts series. Like most software-oriented publishers, O'Reilly has been experimenting with new publishing models, both to take advantage of emerging technologies, and to keep making money as fewer and fewer programmers bother with dead trees. Short Cuts are short (typically around 50 pages long), cheap (about $10), available only as PDFs, and focus on one specific topic.

I have read six so far, and have two more queued up. The best feel like extended essays, or chapters from the latter halves of books that don't actually exist. The least satisfying do little more than repackage material that's freely available and easily found on the web, but still have excellent production values.

Let's start, as I did, with Ian Darwin's Checking Java Programs, a user-friendly guide to tools that developers can use to gauge the correctness of their Java code. This is becoming a hot topic, just as testing frameworks were five years ago when Junit was taking the world by storm, and I found Darwin's overview both timely and useful. The tools he covers -- javac and IDEs, PMD, FindBugs (my personal favorite), and NASA's PathFinder -- are progressively more demanding intellectually, but the technologies they're based on are all well on their way to being taken for granted. Darwin's writing is clear, and he clearly has hands-on experience with these tools. The only thing lacking, in my opinion, was enough examples, but that's a minor criticism.

Martin Nystrom's SQL Injection Defenses is just as timely, and just as well written. (Note: if you're building any sort of networked application, and don't know what SQL injection is, please take your hands away from the keyboard now.) After explaining how and why people use this kind of attack, Nystrom presents four defenses: code securely, monitor for attacks, block attacks, and probe for vulnerabilities yourself. It's all common sense, but as he shows on page 13, the right Google Code Search willturn up page after page of vulnerabilities.

What I liked most about this Short Cut was the number of tools Nystrom worked into his discussion. Nessus, nmap, Snort, wget, and many others I knew about are mentioned, as is FindBugs (again), and there were a few like SQLiX that I'd never heard of, but now have bookmarked.

My third Short Cut was Haldar's Inside SQLite. At first glance, I thought this was just a repackaging of the architecture and maintenance documentation from the SQLite site. I was therefore pleasantly surprised to discover how much more was in here, and how well organized it was. There aren't many places you can find a human-readable description of a real-world page cache, or of an SQL bytecode interpreter. For ten bucks, I think this would be a great supplementary text for a course on database implementation.

The other three Short Cuts I've read so far are all just as well written, but less satisfying than the first trio. I'm not really sure who Liza Daly's Next-Generation Web Frameworks in Python was written for: its coverage of TurboGears, Django, and Pylons was easy to read, but not nearly detailed enough to get a new developer started, or to allow someone to choose between them. Brian Suda's Using Microformats had too many trees and not enough forest: its descriptions of various formats, for example, are exactly the kind of reference material that works best online, in part because it is changing and growing so rapidly. Mark Pruett's Yahoo! Pipes was similarly flawed: over half of its content is just manual pages that "find in file" can't search.

Several dozen Short Cuts are now available, and more are on their way. They're a great way to get material into developers' hands more quickly than traditional books allow, though I think they'll be most successful when their authors tie loose ends together (like Darwin), or cover topics that are too small or specialized for book-length treatments (like Haldar and Nystrom). It'll be interesting to see how they do in the market; I wish them, and Kathryn Barrett, the best of luck.

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.