Book Image

Ruby on Rails Web Mashup Projects

Book Image

Ruby on Rails Web Mashup Projects

Overview of this book

Table of Contents (14 chapters)
Ruby on Rails Web Mashup Projects
Credits
About the Author
Acknowledgements
About the Reviewer
Preface

What we will be doing


The following section describes the steps we will be taking to create the mashup. The basic steps are:

  1. 1. Create the Rails application

  2. 2. Create the flow for the ticketing application

  3. 3. Create the PayPal NVP integration Ruby API

  4. 4. Integrate with PayPal for payment

  5. 5. Integrate with Google Calendar for event calendar

  6. 6. Integrate with Clickatell for sending SMS tickets

Creating a Rails application

We begin this mashup as before by creating the usual Rails application.

$rails Chapter 7

This will create a new Ruby on Rails application.

Creating the flow for the ticketing application

Before we can start the integration we need to build the flow for the ticketing application. The hard-coded flow for the ticketing is as follows:

  1. 1. Customer selects movie and date of screening

  2. 2. Customer selects movie theater and screening time

  3. 3. Customer selects the number of tickets and types of tickets to buy

  4. 4. Customer enters payment details and Google Calendar credentials

  5. 5. Customer confirms...