Monthly Archives: October 2014

Two options for iOS data storage: CoreData vs. SQLite

Did research finding ways to setup a database for iOS. Looks like there are two main ways of executing this.

SQLite:

  • SQLite is, as advertised, lightweight.
  • SQLite uses less memory and storage space.
  • SQLite can be tedious and error-prone to code.
  • SQLite is supported on Android and Microsoft Windows Phone.

Core Data

  • Longer learning curve: it takes some study to understand.
  • Objects are easier to work with.
  • Underlying storage details are handled atomically (support for iCloud).
  • Undo and Redo features

Though SQLite database is the default persistent store for Core Data on iPhone, Core Data is not a relational database. It is actually a framework that lets developers store (or retrieve) data in database in an object-oriented way. With Core Data, you can easily map the objects in your apps to the table records in the database without even knowing any SQL.

 

Gone through some tutorials:

1. https://www.udemy.com/sqlite-programming-on-iphone-for-beginners/

2. http://www.appcoda.com/sqlite-database-ios-app-tutorial/

3. http://www.raywenderlich.com/913/sqlite-tutorial-for-ios-making-our-app

 

 

Work Breakdown for Dec 2nd 2014

Server/Email Communication

  • Find a suitable OS and build in VM (Roger & Randy)
  • Setup a database (Roger & Randy)
  • Setup network access to database (Roger & Randy)
  • Have iPhone query server (Kevin)

SMS Communication (Stephen)

  • Send SMS messages from iPhone (Stephen)
  • Receive SMS messages from iPhone (Stephen)

User Interface (Kevin)

  • Interface must have a field to supports SMS communication (Kevin)
  • Interface must have a field to supports server communication (Kevin)
  • Evolutionary prototype of DocTalk GUI (Kevin)

Proposal Concepts

proposal 1(App with SMS)
Description:
This concept is to develop a pure mobile app that uses the SMS protocol and a 3G network connection to send secure text messages and encrypted files

proposal 2 (Email wrapper)
Description:
This version will be based on sending everything as a secure (encrypted) email to a server in the hospital. users can access and view messages for them and respond.

proposal 3 (App with P2P communication)
Description
This concept would have an app directly connect mobile devices to each other over the internet and transferring files securely between devices.