The Definitive Guide to SQLite / Edition 2

Paperback (Print)
Buy New
Buy New from BN.com
$43.99
Used and New from Other Sellers
Used and New from Other Sellers
from $38.50
Usually ships in 1-2 business days
(Save 29%)
Other sellers (Paperback)
  • All (7) from $38.50   
  • New (5) from $41.46   
  • Used (2) from $38.5   

Overview

Outside of the world of enterprise computing, there is one database that enables a huge range of software and hardware to flex relational database capabilities, without the baggage and cost of traditional database management systems. That database is SQLite—an embeddable database with an amazingly small footprint, yetable to handle databases of enormous size. SQLite comes equipped with an array of powerful features available through a host of programming and development environments. It is supported by languages such as C, Java, Perl, PHP, Python, Ruby, TCL, and more.

The Definitive Guide to SQLite, Second Edition is devoted to complete coverage of the latest version of this powerful database. It offers a thorough overview of SQLite’s capabilities and APIs. The book also uses SQLite as the basis for helping newcomers make their first foray into database development. In only a short time you can be writing programs as diverse as a server-side browser plug-in or the next great iPhone or Android application!

  • Learn about SQLite extensions for C, Java, Perl, PHP, Python, Ruby, and Tcl.
  • Get solid coverage of SQLite internals.
  • Explore developing iOS (iPhone) and Android applications with SQLite.

SQLite is the solution chosen for thousands of products around the world, from mobile phones and GPS devices to set-top boxes and web browsers. You almost certainly use SQLite every day without even realizing it!

What you’ll learn

  • Deploy SQLite as the database engine for iPhone and Android applications.
  • Interact with SQLite from Java, C++, PHP, and other key languages.
  • Create robust database designs, taking advantage ofsupport for primary and foreign key constraints.
  • Embed zero-maintenance databases directly within applications that you write.
  • Improve performance through a good understanding of SQLite internals.
  • Exploit features such as the shared cache, the SQL Logic Test Suite, the Unlock and Notify APIs, and query plan improvements.

Who this book is for

The Definitive Guide to SQLiteis for developers needing a zero-maintenance database solution to deploy as an embedded component within their product. The book is especially useful for mobile developers delivering applications to run on the iPhone, or on the Android platform. PHP developers will also find the book useful if they are using the default database delivered as part of a PHP installation.

Table of Contents

  1. Introducing SQLite
  2. Getting Started
  3. SQL for SQLite
  4. Advanced SQL for SQLite
  5. SQLite Design and Concepts
  6. The Core C API
  7. The Extension C API
  8. Language Extensions
  9. iOS Development with SQLite
  10. Android Development with SQLite
  11. SQLite Internals and New Features
Read More Show Less

Product Details

  • ISBN-13: 9781430232254
  • Publisher: Apress
  • Publication date: 11/5/2010
  • Edition description: New
  • Edition number: 2
  • Pages: 368
  • Sales rank: 684097
  • Product dimensions: 7.40 (w) x 9.20 (h) x 1.00 (d)

Meet the Author

Grant Allen has worked in the IT field for over 20 years, as a CTO, enterprise architect, and database administrator. Grant's roles have covered private enterprise, academia and the government sector around the world, specialising in global-scale systems design, development, and performance. He is a frequent speaker at industry and academic conferences, on topics ranging from data mining to compliance, and technologies such as databases (DB2, Oracle, SQL Server, MySQL), content management, collaboration, disruptive innovation, and mobile ecosystems like Android. His first Android application was a task list to remind him to finish all his other unfinished Android projects. Grant works for Google, and in his spare time is completing a Ph.D on building innovative high-technology environments. Grant is the author of Beginning DB2, and lead author of Oracle SQL Recipes and The Definitive Guide to SQLite.

Mike Owens is the information technology director for a major real estate firm in Fort Worth, Texas, where he's charged with the development and management of the company's core systems. His prior experience includes time spent at Oak Ridge National Laboratory as a process design engineer, and at Nova Information Systems as a C++ programmer. He is the original creator of Pysqlite, the Python extension for SQLite. Mike earned his bachelor's degree in chemical engineering from the University of Tennessee in Knoxville.

Read More Show Less

Table of Contents

Ch. 1 Introducing SQLite 1
Ch. 2 Getting started 17
Ch. 3 The relational model 47
Ch. 4 SQL 73
Ch. 5 Design and concepts 171
Ch. 6 The core C API 205
Ch. 7 The extension C API 255
Ch. 8 Language extensions 301
Ch. 9 SQLite internals 341
Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(0)
Sort by: Showing 1 Customer Reviews
  • Posted Wed Dec 15 00:00:00 EST 2010

    Outstanding SQLite Title

    The Definitive Guide to SQLite Ed2 is a very well-rounded title that will satisfy database users at nearly any experience level. The basic information concerning SQL and how to interact with the Command Line Program (CLP) will equip the interested college student or new hobbyist while information on extending the C API and using your favorite scripting language to embed SQLite in your own applications is detailed and comprehensive enough to suit seasoned developers. The book offers a balanced mix of theory, explanations, and example code that are concise and relevant to the topic at hand. The concepts are also organized in a logical fashion from an introduction to data basics to implementing real-world scenarios. The first two chapters provide a formal introduction to SQLite concerning its purpose, philosophy, and high level architecture. It then walks you through the options for downloading SQLite from the SQLite website and beginning to use the CLP. Chapters 3-4 delve into using SQL with SQLite, and the content is actually comparable to the SQL reference I have on my desk shelf. Seasoned developers should still sift through the information as some of it is SQLite specific. Chapter 5 provides the design specifics you will need to consider when developing your applications. Data flow models add to the value here as the author discusses connections, queries, aggregates, collations, transactions, locking, caching Chapters 6-8 are where the rubber meets the road! There is an ample amount of code and explanations here that walk you through interacting with the Core C API and Extension C API. Then, examples are provided on the language extensions for Perl, Python, Ruby, Java (including JDBC), Tcl, and PHP. So far, I have walked through the Python examples and most of the Java examples without a hitch. The book mentions the SQLite ODBC driver a couple of times but I wish they would've touched on it as well. And if that isn't enough for you, the author devoted new chapters solely to mobile development for iOS and Android. Information and screenshots on working with the development kits are provided as well as code examples. I also appreciate that the book said everything that needed to be said in 347 pages (yes, Ed2 is shorter than the 440 page Ed 1) instead of 600 - 1000. I've sifted through too many mammoth technical titles in the past few years that could have easily portrayed the same content in half the space. Thank you! The index issues readers had with Ed1 have been addresses in Ed2, so readers are now able to quickly find the desired information. Overall, I am very satisfied with this title as it has enhanced my understanding of SQL and database development in addition to proficiency with SQLite.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)