Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25575] iOS: Consider peplacing PLDatabase library with more modern approach

GitHub Issuen/a
TypeStory
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeUnknown
Created2017-11-30T16:27:16.000+0000
Updated2018-02-28T19:55:55.000+0000

Description

We are using the PLDatabase library for all iOS-related Ti.Database tasks for a long time, but it become pretty old-fashioned the last years. These days, [FMDB](https://github.com/ccgus/fmdb) is the recommended layer between the C-based libsqlite-library and Objective-C / Swift. It is recommended in several books like Learning SQLite for iOS and iPhone Advanced Projects and has some obvious advantages: * Automatic retry handling * Own SQL-functions * Asynchronous transactions for improved performance in batch-operations * Migration mechanisms, using [FMDBMigrationManager](https://github.com/layerhq/FMDBMigrationManager) Alternatively, there is [GRDB.swift](https://github.com/groue/GRDB.swift) which could (technically) still be used in our Obj-C project, but doesn't seem to be too popular so far.

Comments

No comments

JSON Source