Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Introduction to SQL and SQLite -- About SQL -- Where does SQLite stand in today's industry? -- iOS with SQLite -- Embedded databases -- The architecture of the S
Learning sqlite for iOS: extend SQLite with mobile development skills to build great apps for iOS devices
β Scribed by (Hons), Gene Da Rocha Msc Bsc
- Publisher
- Packt Publishing Limited
- Year
- 2016
- Tongue
- English
- Leaves
- 154
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Introduction to SQL and SQLite -- About SQL -- Where does SQLite stand in today's industry? -- iOS with SQLite -- Embedded databases -- The architecture of the SQLite database -- Features -- The advantages of using SQLite -- Working with SQLite -- The examples of using SQLite with iOS -- Summary -- Chapter 2: Database Design Concepts -- Database essentials -- Reasons for using SQLite -- Database connections -- Preparing queries -- Parameterized SQL -- Error handling -- Queries within the db.exec statement -- SQL injection attacks -- Creating user-defined functions -- Transactions and locks -- Transactions -- reading/writing -- Designing for SQLite -- Summary -- Chapter 3: Administering the Database -- Creating a database -- Creating a table -- Inserting data -- Selecting data -- Creating an index -- Exporting data -- Viewing database schema data -- Index data -- Schema data -- Backing up the database -- Database tools -- Database file information -- Summary -- Chapter 4: Essentials of SQL -- Transactions -- Query plan -- SQL basics -- Insert with a subselect clause -- Update with a subselect clause -- Select with a subselect clause -- Data integrity -- Default values -- Constraint checking -- Foreign keys -- Updating Views -- Index use -- Triggers -- Synchronous writes -- Database locking and deadlocks -- FMDB SQLite wrapper -- Database creation and opening -- SQL in iOS -- Summary -- Chapter 5: Exposing the C API -- SQLite C components' functionality -- sqlite3_open() -- sqlite3_prepare() -- sqlite3_step() -- sqlite3_column() -- sqlite3_finalize() -- sqlite3_close() -- Using the C-API with the open database statement -- Using Swift with the open database statement -- load_extension() -- sqlite3_exec() Sqlite3_config() -- The prepare statement -- Summary -- Chapter 6: Using Swift with iOS and SQLite -- Basic requirements -- Starting an Xcode Project with Swift -- Using the SQLite 3 Library -- Using FMDB -- Summary -- Chapter 7: iOS Development with PhoneGap and HTML5 -- HTML5 and PhoneGap development -- An HTML5 framework -- Hybrid applications -- An Xcode project with PhoneGap, HTML5, and Swift -- Summary -- Chapter 8: More Features and Advances in SQLite -- PhoneGap plugins -- Extensions to the C API -- Write Ahead Logging with SQLite -- The B-tree usage with SQLite -- Creating a simple Swift -- Summary -- Index.;"The ability to use SQLite with iOS provides a great opportunity to build amazing apps. Apple's iOS SDK provides native support for SQLite databases. This combination offers the potential to create powerful, data-persistent applications. This book starts with the architecture of SQLite database and introduces you to concepts in SQL . You will find yourself equipped to design your own database system, administer it, and maintain it. Further, you will learn how to operate your SQLite databases smoothly using SQL commands. You will be able to extend the functionality of SQLite by using its vast arsenal of C API calls to build some interesting, exciting, new, and intelligent data-driven applications. Understand how Xcode, HTML5, and Phonegap can be used to build a cross-platform modern app which can benefit from all these technologies - all through creating a complete, customizable application skeleton that you can build on for your own apps. This book is intended for those who want to learn about SQLite and how to develop apps in Swift or HTML5 using SQLite. Whether you are an expert Objective-C programmer or new to this platform, you'll learn quickly, grasping the code in real-world apps to use Swift." -- Back cover.
β¦ Table of Contents
Cover --
Copyright --
Credits --
About the Author --
About the Reviewers --
www.PacktPub.com --
Table of Contents --
Preface --
Chapter 1: Introduction to SQL and SQLite --
About SQL --
Where does SQLite stand in today's industry? --
iOS with SQLite --
Embedded databases --
The architecture of the SQLite database --
Features --
The advantages of using SQLite --
Working with SQLite --
The examples of using SQLite with iOS --
Summary --
Chapter 2: Database Design Concepts --
Database essentials --
Reasons for using SQLite --
Database connections --
Preparing queries --
Parameterized SQL --
Error handling --
Queries within the db.exec statement --
SQL injection attacks --
Creating user-defined functions --
Transactions and locks --
Transactions --
reading/writing --
Designing for SQLite --
Summary --
Chapter 3: Administering the Database --
Creating a database --
Creating a table --
Inserting data --
Selecting data --
Creating an index --
Exporting data --
Viewing database schema data --
Index data --
Schema data --
Backing up the database --
Database tools --
Database file information --
Summary --
Chapter 4: Essentials of SQL --
Transactions --
Query plan --
SQL basics --
Insert with a subselect clause --
Update with a subselect clause --
Select with a subselect clause --
Data integrity --
Default values --
Constraint checking --
Foreign keys --
Updating Views --
Index use --
Triggers --
Synchronous writes --
Database locking and deadlocks --
FMDB SQLite wrapper --
Database creation and opening --
SQL in iOS --
Summary --
Chapter 5: Exposing the C API --
SQLite C components' functionality --
sqlite3_open() --
sqlite3_prepare() --
sqlite3_step() --
sqlite3_column() --
sqlite3_finalize() --
sqlite3_close() --
Using the C-API with the open database statement --
Using Swift with the open database statement --
load_extension() --
sqlite3_exec() Sqlite3_config() --
The prepare statement --
Summary --
Chapter 6: Using Swift with iOS and SQLite --
Basic requirements --
Starting an Xcode Project with Swift --
Using the SQLite 3 Library --
Using FMDB --
Summary --
Chapter 7: iOS Development with PhoneGap and HTML5 --
HTML5 and PhoneGap development --
An HTML5 framework --
Hybrid applications --
An Xcode project with PhoneGap, HTML5, and Swift --
Summary --
Chapter 8: More Features and Advances in SQLite --
PhoneGap plugins --
Extensions to the C API --
Write Ahead Logging with SQLite --
The B-tree usage with SQLite --
Creating a simple Swift --
Summary --
Index.
β¦ Subjects
Database management;SQL (Computer program language)
π SIMILAR VOLUMES
The ability to use SQLite with iOS provides a great opportunity to build amazing apps. Apples iOS SDK provides native support for SQLite databases. This combination offers the potential to create powerful, data-persistent applications. This book starts with the architecture of SQLite database and i
This book leads you through the essential concepts and new iOS 10 SDK and Swift 3 programming language APIs to build iPhone and iPad database driven applications using the defacto standard for data storage for mobile apps, SQLite. Readers will learn about SQL operations like selecting, inserting, u
This book leads you through the essential concepts and new iOS 10 SDK and Swift 3 programming language APIs to build iPhone and iPad database driven applications using the defacto standard for data storage for mobile apps, SQLite. Readers will learn about SQL operations like selecting, inserting, u
The Only Tutorial Covering BOTH iOS and Androidβfor students and professionals alike!<br>Now, one book can help you master mobile app development with both market-leading platforms: Appleβs iOS and Googleβs Android. Perfect for both students and professionals, Learning Mobile App Development is the