The Definitive Guide to SQLite / Edition 2by Grant Allen, Mike Owens
Pub. Date: 11/04/2010
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, yet able to handle databases of enormous size
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, yet able 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
- Introducing SQLite
- Getting Started
- SQL for SQLite
- Advanced SQL for SQLite
- SQLite Design and Concepts
- The Core C API
- The Extension C API
- Language Extensions
- iOS Development with SQLite
- Android Development with SQLite
- SQLite Internals and New Features
- Publication date:
- Edition description:
- 2nd ed. 2010
- Sales rank:
- Product dimensions:
- 7.40(w) x 9.20(h) x 1.00(d)
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >
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.