Inside Symbian SQL: A Mobile Developer's Guide to SQLite
Since Symbian SQL and SQLite are relatively new additions to the Symbian platform, Inside Symbian SQL begins with an introduction to database theory and concepts, including a Structured Query Language (SQL) tutorial.
Inside Symbian SQL also provides a detailed overview of the Symbian SQL APIs. From the outset, you will “get your hands dirty” writing Symbian SQL code. The book includes snippets and examples that application developers can immediately put to use to get started quickly.
For device creators and system software developers, Inside Symbian SQL offers a unique view into the internals of the implementation and a wealth of practical advice on how to make best and most efficient use of the Symbian SQL database. Several case studies are presented – these are success stories 'from the trenches', written by Symbian engineers.
- The book assumes no prior knowledge of databases
- Includes detailed and approachable explanations of database concepts
- Easy to follow SQL tutorial with SQLite examples
- Unique view into the Symbian SQL internals
- Troubleshooting section with solutions to common problems
Written by the Symbian engineers who implemented SQLite on Symbian, with more than 40 years combined Symbian C++ experience, this book is for anyone interested in finding out more about using a database on Symbian.
Foreword by Chris Dudding.
1.1 Where Should You Start?
1.2 Symbian Terminology and Version Numbering.
1.3 The Relational Model and the Structured Query Language (SQL) 2.
1.4 What Is Symbian SQL?
1.5 A Well-Oiled Machine.
1.6 Tools and Troubleshooting.
1.7 Further Reading and Resources.
2 Getting Started.
2.1 Where to Get Symbian SQL.
2.2 Overview of Symbian SQL APIs.
2.3 First Database Example.
3 The Relational Model.
3.2 The Structural Component.
3.3 The Integrity Component.
3.5 The Manipulative Component.
3.6 The Meaning of Relational.
4 Everything You Ever Wanted to Know about SQL but Were Afraid to Ask.
4.1 The Relational Model.
4.2 The Example Database.
4.4 Creating a Database.
4.5 Querying a Database.
4.6 Modifying Data.
4.7 Data Integrity.
4.9 Database Administration.
5 Database Concepts.
5.1 Database Types.
5.2 Executing SQL.
5.3 Multi-Client Access.
6 Using Symbian SQL.
6.1 The Database Connection Class.
6.2 The Prepared Statement Class.
6.3 Working with Variable-Length Data Objects.
6.4 The Scalar Query Class.
6.5 Security Policies.
7 SQLite Internals on Symbian.
7.1 Why SQLite Is Right for Symbian.
7.2 The SQLite Modules.
7.3 SQLite Configuration Options.
7.4 SQLite Optimizations on Symbian OS.
8 Performance Tuning.
8.1 Design and Development Considerations.
8.2 An Introduction to Optimization.
8.3 Optimizing Applications.
8.4 Symbian SQL Optimization Tips.
9 Using Symbian SQL: Three Case Studies.
9.1 Contacts Model.
9.2 Columbo Search Service.
9.3 Wikipedia Demo Application.
Appendix A Troubleshooting.
Appendix B SDB Database Creation Tool.
Appendix C Symbian SQL Error Codes.