The human web is filled with a lot of data: book information, reviews, prices, arrival times, messages, photos, etc.
(And of course all kinds of spam). At the same time, it is also full of a large number of services: search engines, online merchants
Shops, blogs, wikis, calculators, games, etc. There is no need to install all these data and programs on your local computer
on your computer; instead, you only need to install a program—a web browser—that you can use to access data on the Internet
with the program.
Programmable web is similar. The main difference between it and human web is: the
returned by programmable web
Not a pleasing HTML page, but a cold and stereotyped XML document. programmable web is not specialized
The gate is intended for use by human users, and its data is intended to be used as "input to software programs."
Example 1-2 is a Ruby script that uses programmable web to complete a traditional human web task:
Search all books matching a keyword. It uses the Ruby/Amazon library (http://www.caliban.org/
ruby/ruby-amazon.shtml) hides the details of accessing the Web behind a programming language interface.
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn