SQL Antipatterns: Avoiding the Pitfalls of Database Programming (Paperback)
暫譯: SQL 反模式:避免資料庫程式設計的陷阱 (平裝本)

Bill Karwin

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2010-08-03
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 328
  • 裝訂: Paperback
  • ISBN: 1934356557
  • ISBN-13: 9781934356555
  • 相關分類: SQLDesign Pattern 資料庫
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Bill Karwin has helped thousands of people write better SQL and build stronger relational databases. Now he's sharing his collection of antipatterns--the most common errors he's identified in those thousands of requests for help.

Most developers aren't SQL experts, and most of the SQL that gets used is inefficient, hard to maintain, and sometimes just plain wrong. This book shows you all the common mistakes, and then leads you through the best fixes. What's more, it shows you what's behind these fixes, so you'll learn a lot about relational databases along the way.

Each chapter in this book helps you identify, explain, and correct a unique and dangerous antipattern. The four parts of the book group the anti​patterns in terms of logical database design, physical database design, queries, and application development.

The chances are good that your application's database layer already contains problems such as Index Shotgun, Keyless Entry, Fear of the Unknown, and Spaghetti Query. This book will help you and your team find them. Even better, it will also show you how to fix them, and how to avoid these and other problems in the future.

SQL Antipatterns gives you a rare glimpse into an SQL expert's playbook. Now you can stamp out these common database errors once and for all.

Whatever platform or programming language you use, whether you're a junior programmer or a Ph.D., SQL Antipatterns will show you how to design and build databases, how to write better database queries, and how to integrate SQL programming with your application like an expert. You'll also learn the best and most current technology for full-text search, how to design code that is resistant to SQL injection attacks, and other techniques for success.

商品描述(中文翻譯)

比爾·卡爾溫(Bill Karwin)幫助了成千上萬的人寫出更好的 SQL 並建立更強大的關聯式資料庫。現在,他分享了他的反模式集——他在這些成千上萬的求助請求中識別出的最常見錯誤。

大多數開發人員並不是 SQL 專家,而大多數使用的 SQL 都是低效的、難以維護的,有時甚至是完全錯誤的。本書展示了所有常見的錯誤,然後引導您通過最佳的修正方法。更重要的是,它還告訴您這些修正背後的原因,讓您在過程中學到很多關於關聯式資料庫的知識。

本書的每一章都幫助您識別、解釋和修正一個獨特且危險的反模式。本書的四個部分根據邏輯資料庫設計、物理資料庫設計、查詢和應用程式開發對反模式進行分組。

您的應用程式的資料庫層很可能已經包含了如「索引散彈槍」(Index Shotgun)、「無鑰進入」(Keyless Entry)、「對未知的恐懼」(Fear of the Unknown)和「意大利麵查詢」(Spaghetti Query)等問題。本書將幫助您和您的團隊找到這些問題。更好的是,它還會告訴您如何修正這些問題,以及如何在未來避免這些和其他問題。

《SQL 反模式》(SQL Antipatterns)讓您難得一窺 SQL 專家的策略手冊。現在,您可以一次性消除這些常見的資料庫錯誤。

無論您使用什麼平台或程式語言,無論您是初級程式設計師還是博士,《SQL 反模式》都將教您如何設計和建立資料庫,如何撰寫更好的資料庫查詢,以及如何像專家一樣將 SQL 程式設計與您的應用程式整合。您還將學到最佳和最新的全文搜索技術,如何設計抵抗 SQL 注入攻擊的程式碼,以及其他成功的技術。