{ "id": "170507", "key": "TIMOB-25575", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-11-30T16:27:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:55.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "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. \r\n\r\nThese 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:\r\n* Automatic retry handling\r\n* Own SQL-functions\r\n* Asynchronous transactions for improved performance in batch-operations\r\n* Migration mechanisms, using [FMDBMigrationManager|https://github.com/layerhq/FMDBMigrationManager]\r\n\r\nAlternatively, 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.", "attachment": [], "flagged": false, "summary": "iOS: Consider peplacing PLDatabase library with more modern approach", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }