Академический Документы
Профессиональный Документы
Культура Документы
• Web Services
– You may have heard of them
– Yes, they are actually useful
– No, you don’t have to use SOAP
– Lots of services are out there for you to use (finally)
• Gadgets
– Or Widgets
– Or Plugins
– Or Panels
– Definition: “mini-applications that let you perform common tasks and
provide you with fast access to information”
– Translation: They do cool stuff
• Search
• Listing Items
• Transaction/Order Management
• My eBay
• eBay Stores
• Feedback Management
• Watch List
• Bidding (with signed agreement)
• In short, almost everything you can do
on the site
• SOAP
• XML (HTTP POST)
– Both support the same feature set (all calls)
– Calls go over HTTPS
XML API:
REST API
http://rest.api.ebay.com/restapi?CallName=GetSearchResults&RequestToken=ABC
123=&RequestUserId=alanlewis0&Query=iPod%20Nano&Schema=1
Demo
• Except not
– Still coding for the browser– multiple windows/tabs, cross-browser issues
– Asynchronous interaction, more bandwidth
var r = Web.Network.createRequest(
Web.Network.Type.XML,
searchQuery,
{proxy:"generic"},
eBaySearchCallback);
• ANNOUNCING:
• The gadget is open sourced
• Commercial software-friendly open source license: CDDL
• Yeah!
• http://searchgadget.codebase.ebay.com
• One issue to keep in mind is many Web services out there force non-
commercial use
• Shameless plug: that’s not the case with eBay Web services
• One way to make money with your Gadget is to use an affiliate program like
eBay’s:
http://developer.ebay.com/affiliates
• Vista Sidebar
– Bundled with Vista, but limited capabilities (thusfar)
• Yahoo! Widget Engine (Konfabulator)
– Multi-platform support, integration with Desktop still clumsy
• Apple Dashboard
– Best desktop integration, but only for OSX
• Google Desktop – (Sidebar)
– Information-rich widgets, but harder to build, bundled with a product IT
departments hate
• Google Personalized Home Page
– Sorta like live.com – less functionality but better visibility