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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.