What | Build an application that takes UPC symbols and looks them up on Amazon.com. |
Protocols Used | XML-RPC, REST |
Data Formats | XML-RPC, XML |
Tools Featured | PHP’s XML-RPC Functions and SAX Functions |
APIs Used | Internet UPC Database, Amazon Web Services |
We are going to start off with a relatively simple project. Our project will accept a Universal Product Code number from a user, look up the product information associated with the UPC number from the Internet UPC Database, and allow the user to buy the product from our site using Amazon.com. In other words, we are going to create an online store based on UPC numbers. By using Amazon.com’s inventory, users can buy from Amazon.com, but they’ll be able to do everything from our site alone. While such a site may not make us the next ecommerce king, it will introduce us to the two most basic web services—XML-RPC and REST. Each protocol will require us to structure our request in a certain way.
XML-RPC will return an...