CHAPTER 8

image

Using SQLite with Core Data (iOS and OS X)

Although SQLite is integrated tightly with PHP, Android, and iOS/OS X, the integration strategies differ somewhat. In a way, they form a logical progression. PHP supports SQLite as an extension to the language (no longer optional as of this writing). When you write your PHP code for SQLite, today’s best practice is to use the PHP data object (PDO) class. However, the rest of your code may very well be traditional procedural code: there is no assumption that you will be writing object-oriented code throughout.

Android represents a slightly different approach to the idea of creating a general-purpose ...

Get Introducing SQLite for Mobile Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.