O'Reilly logo

Beginning Mobile Application Development in the Cloud by Richard Rodger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5

Building Apps in the Cloud

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Understanding event-based servers
  • Installing the Node JavaScript server
  • Learning the Node APIs
  • Using the Node package manager
  • Understanding document databases
  • Installing the MongoDB database
  • Developing efficient storage algorithms
  • Designing a multi-process architecture
  • Connecting nginx, Node, and MongoDB end-to-end
  • Displaying real-time usage charts

In this chapter, you will connect your app to the cloud. You’ll learn how to develop cloud-based applications using JavaScript and the JSON data format. You’ll learn how to use the MongoDB database, which is perfect for cloud applications. And you’ll learn how to reduce your data storage and keep your costs down.

MongoDB is one of the new generation of non-relational databases. These databases, sometimes referred to as noSQL databases, do not use the traditional SQL database language, do not provide transactions, and do not have standard table-based data models. Instead, a database like MongoDB is designed for building cloud services. MongoDB accepts very large numbers of read and write operations and supports JSON as its standard data format for input and output. This makes MongoDB one of the best choices when you are building mobile web apps in the cloud using JavaScript.

After you launch a mobile web app, you want to measure how people are using it. Web analytics solutions such as Google Analytics are much less helpful for mobile web apps than for traditional ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required