|
读过这本书吗?
最近在读
读过
想读
还不熟悉
|
图书城书列:
加入到博客或社交网站:
|
|
我来评论这本书:
内容提要:
As the only book that details how to integrate different APIs and web feeds in PHP so websites can leverage content from eBay, Google, PayPal, Amazon, and FedEx, this hands-on guide takes you step by step through each stage of the API process. Experienced PHP programmer Paul Michael Reinheimer walks you through the production and consumption angles of web feeds and discusses XML-feeds so that you can access one of the fastest growing trends on the web. With real-world examples covering everything from basic test implementations to integration with existing sites, you'll learn how to produce and document your own APIs, which will allow you to expand your sites and may even prompt you to re-examine how you structure your code.
作者简介: Paul Michael Reinheimer (Waterloo, Ontario, Canada) is a Zend Certified Engineer currently developing Share The Beat (www.sharethebeat.com) an online music portal developed extensively in PHP. Paul has extensive PHP programming experience. 目录:
Acknowledgments
Introduction Part One: Web Feeds Chapter 1: Introducing Web Services Defining Web Services Why They Are Used How They Are Used Who Uses Them Why You Should Use Web Services Convincing the Boss Summary Chapter 2: Introducing Web Feeds What Are Feeds? RSS Atom Important Considerations When Using Feeds Security Legal Concerns Update Frequency A Crash Course in XML Terminology Well-Formed XML Valid XML Additional Considerations Looking at a Basic Feed Standard Feed Formats RSS Atom 0.3 Summary Chapter 3: Consuming Web Feeds Consuming Your First Feed In-Depth Feed Consumption Know Thy Elements Browse the Site Providing the Feed Keep a Copy of the Feed Structure Retrieving and Storing the Feed A Basic Storage Script Extending the Script to Include Atom Support Retrieving Enclosures Dealing with XML Namespaces Further Securing Your Feeds Link Utility Functions Image Tags Link Tags IFrames Formatting Tags Dealing with Broken HTML Installing Tidy Cleaning Broken HTML Putting It All Together Using Your Recorded Feeds Email Mailing List On Page Widget Customizable Portal Page Some Web Feed Providers Summary Chapter 4: Producing Web Feeds Why Do You Need to Produce Feeds? Additional Considerations When Producing a Feed Publicizing Your Feed Standard Feed Formats Caching Your Feed Blogs Trackbacks Retail Store Example Summary Part Two: APIs Chapter 5: Introduction to Web APIs Chapter 6: Interacting with the Google API Chapter 7: Interacting with the Amazon API Chapter 8: Interacting with the FedEx API Chapter 9: Interacting with the eBay API Chapter 10: Interacting with the PayPal API Chapter 11: Other Major APIs Chapter 12: Producing Web APIs Appendix A: Supporting Functions Appendix B: Complete Feed Specifications Appendix C: Development System Index |