Datasheet

<?xml version=”1.0” encoding=”utf-8” ?>
<methodCall>
<methodName>flickr.photos.search</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>api_key</name>
<value>
<string>1f2811827f3284b3aa12f7bbb7792b8d</string>
</value>
</member>
<member>
<name>user_id</name>
<value>
<string>50317659@N00</string>
</value>
</member>
<member>
<name>per_page</name>
<value>
<int>6</int>
</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
XML-RPC isn’t in quite such widespread use as SOAP, and less toolkit support is available for it within
the developer community.
Databases
Most systems of any complexity make use of a database somewhere behind the scenes. For very small
amounts of data, and small numbers of users, you can get by with storing any data you need to keep
track of in files on disk, or perhaps in cookies, but before long you’ll find yourself needing a proper
database management system. A database management system provides an efficient means of storing,
searching, and maintaining large quantities of information.
One of the most popular database systems in use in web systems today is MySQL. MySQL is a freely
available open-source database from MySQL AB and is available from
http://www.mysql.com.
MySQL is a relational database, and as might be expected from the name, uses
Structured Query Language
(SQL) to manage and query the data.
SQL and MySQL database administration are a large and complex topic and one impossible to cover
in any depth in a book like this. Chapter 14 contains instructions for setting up a MySQL database,
together with a brief introduction to basic SQL commands, and many more resources on the Internet
explore these subjects in much more detail. The main MySQL web site has full documentation and
includes a brief tutorial on using MySQL.
21
Chapter 1: Rewriting the Web
05_097748 ch01.qxp 12/14/06 5:53 PM Page 21