Start using XML to build intelligent ‘Future-Proof’ PHP applications today
3.9
average rating (42 votes)
Created by
Thomas Myer
Published by
SitePoint
Last Updated
1 April 2006
Details
This book is designed to help you to get your feet (and perhaps your ankles, shins, and knees) wet with the topic of XML. You can instantly test out and apply the code examples provided in the book to get a hands-on feel for the technology, and you'll gain the confidence to go out and build more.
What you will learn
* Create a full-blown Content Management System (CMS) based on XML.
* Use XML-based data formats to manage the storage and management of all of your content. You'll see where the versatility of XML can make storage, retrieval and formatting of data much easier.
* Create a dynamic site map using XSLT.
* XSLT allows you to transform your existing XML-based data into new formats and modify its structre. You'll learn how to generate a dynamically-updating site map from your existing XML data.
* Generate XML feeds (including RSS) for your Website.
* Generate and serve error-free RSS feeds the easy way using PHP's XML generation capabilities.
* Set up XML-RPC Web services on your site.
* Facilitate transfer of important information between disparate systems. XML-RPC (XML Remote Procedure Call) allows you to securely execute queries and functions on remote servers.
* The book teaches you exactly why XML is so powerful and versatile, and you'll see just what PHP 5.0 is capable of achieving with XML. The book quite simply teaches you what you need to know about XML in order to use it effectively. You'll learn how to:
* Write portable XML documents that can be re-used across applications.
* Use XML namespaces to combine data formats in many ways.
* Use DTDs to strictly define the structure of your XML documents.
* Use XSLT to transform your existing data into other formats.
* Write XPath queries to retrieve data from an XML document.
* Use XML in conjunction with databases.
* Use the Document Object Model (DOM) to manipulate documents.
* Rapidly process XML using PHP 5.0's built-in SimpleXML functionality.
* Use fast SAX parsers to read an XML document incrementally.
Description
If ever there were a candidate for “Most Hyped Technology’ it would be Extensible Markup Language (XML). ‘No Nonsense XML Web Development With PHP’ cuts through the hype and shows you how to get the most of this powerful, multifaceted technology.
This book will:
1. Introduce you to the world of XML,
2. Walk you, step by step, through the creation of an XML-powered Website and;
3. Show you the power and flexibility of XML to manipulate the data within that Website.
Unlike other dry, boring, theoretical writing on XML, this book doesn’t cover the entire spectrum of XML technologies; it covers practical uses of XML that are useful to Web developers right now. For example, the book covers XPath in depth, showing you how to easily target and manipulate elements in real world documents.
This book is designed to help you to get your feet (and perhaps your ankles, shins, and knees) wet with the topic of XML. You can instantly test out and apply the code examples provided in the book (and available for free download) to get a hands-on feel for the technology, and you'll gain the confidence to go out and build more.
The XML-powered content management system (CMS) that you’ll build will be a complete, ready-to-use application. It draws on the author's experience of building XML-powered dynamic Websites for a living. Best of all, the system that you build can be customized and re-used over and over again thanks to the versatility of XML, potentially saving you hundreds of hours of tedious coding.
Who is this for?
This book is ideal for Web developers who want to discover what can be done using XML, whether they be experienced with PHP or relative newcomers. All that's needed to get started is a good understanding of HTML and some experience with PHP.
The book is written in the usual SitePoint style: it's clear and fun to read, with plenty of blocks of example code that you can apply immediately to your own Websites. There's no need to re-type any of the code from the book. As always, all customers will receive instant download access to all the code and files used in the book so you can apply them immediately to your own projects.
Creator
Thomas Myer
Thomas is the founding principal of Triple Dog Dare Media, a Texas-based consultancy that specializes in building database- and XML-driven dynamic sites. He has worked with XML extensively to build document repositories, search engine indexes, content portal taxonomies, online product catalogs, and business logic frameworks.
Reviews
Sepp Daschner
a very good, comprehensible introduction to XML and the possibility of implementation in the web.
Aisha Henderson
Thank you for explaining XML in such an elegant manner.
arbuthnut knutsson
Very good introduction. Provides exactly the right amount of info without being overwhelmingly technical.
M.A.Stough
What to love it if only I could find the link to download the code and follow along!
Frequently Asked Questions
No Nonsense XML Web Development With PHP
3.9
Unlimited access to this title and 600+ others in our library