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

Design


In this mashup we will integrate with an existing online ticketing application and show how the three functions are replaced by mashup APIs from remote sites. The payment integration will be with PayPal for credit card payment only, while the calendar integration will be with Google Calendar. We will also revisit Clickatell and show how an electronic ticket can be sent via SMS.

The ticketing application we will use in this chapter is a movie ticketing application. Many of the functions are faked and hard-coded because we will not be writing a full-fledged movie ticketing application. The 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 the details

  6. 6. Application sends payment details to PayPal to request approval

  7. 7. Application creates event in...