O'Reilly logo

Professional Heroku Programming by Brad Gyger, Chris Kemp

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 9

Using Database.com as a Data Store for Your Heroku Applications

WHAT’S IN THIS CHAPTER?

  • Getting started with Database.com
  • Creating a database
  • Importing and exporting data
  • Managing your database
  • Creating a sample application
  • Managing users
  • Using Database.com’s advanced features

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/remtitle.cgi?isbn=1118508998 on the Download Code tab. The code is in the Chapter 9 download and individually named according to the names throughout the chapter.

Most people mistakenly think that Database.com and Heroku are on the same infrastructure, but they are not. Heroku is on the Amazon Elastic Compute Cloud (Amazon EC2) infrastructure and Database.com is in Salesforce’s data center. If you currently use Salesforce for CRM, Service Cloud for customer service, or Force.com for creating custom apps, you are already using Database.com to store that data. Database.com is also offered as a standalone product that is an enterprise cloud-based data as a service (DaaS), ideal for mobile and social apps. This chapter will outline how to use Database.com’s APIs, how to create and manage Database.com databases, and how to get data into Database.com.

GETTING STARTED WITH DATABASE.COM

To communicate between Heroku and Database.com, your app uses Database.com’s open APIs. Database.com has a vast selection of APIs available:

  • Web Services: The standard, general-use API that uses the SOAP protocol. ...

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