[TIMOB-25575] iOS: Consider peplacing PLDatabase library with more modern approach
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | None |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Unknown |
| Created | 2017-11-30T16:27:16.000+0000 |
| Updated | 2018-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.
No comments