Database Reference
In-Depth Information
Chapter 9. Developing Mobile Apps Using
DynamoDB
Today, one of the coolest things every developer wants to do is to create their own mobile
application, launch it for public access, have it go viral, and then have some big technology
firm buy it for billions of dollars, isn't it? Of course! Why not? Today we see that mobile
devices are more popular than regular desktops. It would not be an exaggeration if I say, in
a decade or so, most of the nonmobile devices would vanish away.
Keeping this in mind, mobile applications are very important in all perspectives. In this
chapter, we will see:
• Why you should choose DynamoDB as a backend to your mobile application
• What options to implement authentication and authorization it gives
• How you should perform various operations using the AWS SDK for Android and
iOS
Many of you might have already developed an Android or iOS application, for which you
would have been using some web server where your application and database would be ac-
cessed from. Having a scalable, easily accessible database is one of the biggest needs.
There are many problems and challenges in going ahead with traditional web hosting ser-
vices, which are mentioned as follows:
• Purchasing a host/device from the service providers
• Selecting and installing a database from a variety of databases
• Maintaining the database
• If the database is not scalable, then migration of the application to some other data-
base
• Initial investment is required to purchase the host
• As the pay-per model is not in use, you need to pay for the complete service dura-
tion (minimum 1 year for most of the web hosting service providers) even if the
application does not do well in the market
So what could be done in this case? Is there any better way to store mobile application
data? The answer is yes. Amazon provides SDKs for iOS and Android operating systems
where you can simply use the given APIs to manipulate the data. Here are some advantages
of using DynamoDB as your database for your mobile application:
• It is easy to use and configure.
Search WWH ::




Custom Search