Database Reference
In-Depth Information
Chapter 2
Introduction to the Cloud
In this chapter, I talk about dynamic data services, specifically iCloud's ability to automatically sync
documents across devices, giving users a simple, streamlined, and seamless experience. Because
iCloud is simply a server performing a web service, it is certainly possible to have devices continually
sync with the cloud using a web service and a SQL database. However, this is much more
complicated than in iCloud, as iCloud has all these features built directly in to it, right out of the box.
When developing apps natively for iOS, it requires much undue time and effort to work outside the
system that has been set up for you. That being said, if an app is not being developed natively, and
is instead a hybrid app that contains native and web content, iCloud may no longer be an option.
A database such as Azure SQL Database or MySQL may be necessary. Assuming you will be coding
natively, this chapter focuses on iCloud and has you syncing documents promptly.
Note The documents I talk about in this chapter should be thought of as captured, compiled data and
include things such as set images and graphics. This is unlike Core Data, which can be thought of as raw,
uncompiled data. I will cover Core Data in a later chapter.
The Movement to the Cloud
The cloud is a way for us to move data off our local storage system. What was once a novel practice
is now becoming common. Having your data stored outside your building or company walls allows
for more connection services, as well as some specialized services. For example, iCloud and certain
other cloud services enable developers to ensure that once all the data is saved and sustained, it is
the same across all devices. One of the best features of iCloud is the simplicity of adding devices
and syncing across them.
11
 
 
Search WWH ::




Custom Search