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


This mashup will mostly use the Amazon E-Commerce Services (ECS) API, though we will use some part of Joe Gregorio's Sparklines web service to chart out the progress of the sales ranking from week to week. This is how we will implement the mashup:

Provide information

We will use the ItemLookup web service from Amazon ECS to get these particular details of your book:

  • Title

  • Author

  • Publication date

  • Price and currency of a new item

  • A picture of the book cover

We will also use the SimilarityLookup web service from Amazon ECS API to find books that are related to your book.

Track sales ranking with a chart

We will create a rake script that is executed every 24 hours to get the latest sales ranking using the ItemLookup web service from Amazon ECS API. The sales ranking is then stored in the server. Whenever the info page of the book mashup is called, we will recall the historic sales ranking information and use the Sparklines web service to create a sparkline to show its progress.

Show customer reviews...