Professional PHP: Day 3 - XML & XSLT
Professional PHP: Day 3 - XML & XSLT
1
Session Information
• This course has been designed to introduce
XML, XSLT, and related techniques available in
PHP 5
• Exercises will be presented to provide the
opportunity to try out new techniques and
experiment.
2
For exercises in this section:
You'll need:
– A fully functional PHP5+ instance (5.2+ is preferred)
– Your favorite PHP editor
– A willingness to break things, make mistakes, and
ask questions
3
What is XML?
4
Key Aspects of XML
5
Benefits of XML
6
Drawbacks of XML
7
SimpleXML to the Rescue!
9
What is XSLT?
10
Exercise 2
11
Web Services
12
So how does this relate to XML?
• Everyone:
– Amazon (AWS), Ebay, FedEx, USPS, Google,
PayPal, Delicious, Flickr, United States National
Weather Service, Library of Congress, Twitter,
Basecamp, SugarCRM, Blogger, Intellipedia,
Getty Images, and lots of others...
15
So what's the point?
17
SOAP
18
REST
20
Homework
21