- Shopping Bag ( 0 items )
Other sellers (Paperback)
-
All (10) from $1.99
-
New (1) from $56.56
-
Used (9) from $1.99
More About This Textbook
Overview
· Demystifies the relationship between XML and SQL, and shows how to integrate them to solve problems neither can solve alone.
· Architecting robust systems that leverage both XML and SQL.
· Using SQL to overcome XML's key limitations.
As XML has rapidly gained in popularity, many database developers have become confused about its relationship with SQL and traditional RDBMS technologies. In this book, Dan Appelquist demystifies the relationship between XML and SQL, and shows exactly how to integrate these technologies for maximum advantage. XML and SQL covers every leading approach to integrating XML and SQL, helping you clearly understand each technology's strengths and weaknesses, and choose the right solution for each task or application. Drawing upon his extensive real-world experience, Appelquist offers expert guidance on: architecting robust systems that incorporate both XML and SQL technologies; using SQL to overcome XML's limitations; bringing XML's formatting capabilities to bear on SQL data, and much more. For all database developers, system architects, Web developers, content managers, and others interested in the use of XML to build robust, data-centric software systems.
Daniel K. Appelquist is an independent consultant based in London. He was formerly Director of Global R&D for Digital Channel Partners, and before that Director of Content Management for The Street.com, where he managed the process of converting all information to an XML-based system. Appelquist is also a member of the advisory council for the ICE XML-based content protocol specification.Editorial Reviews
From Barnes & Noble
The Barnes & Noble ReviewRelational databases, Daniel K. Appelquist points out, are terrific at some things (data integrity and storage of highly structured data come to mind). XML is great at other things (formatting data, representing unstructured data). They complement each other superbly. Used together, they can help you solve an extraordinary range of web and content management problems.
Appelquist walks you through every stage of building XML/SQL applications, starting with project definition, requirements gathering, abstract data modeling, and application design (with both DTDs and schemas). Of course, much of this is applicable not just to XML/SQL but to a wide range of application development problems, but Appelquist explains it in terms today's web developer or content manager will relate to especially well.
The beauty of XML (and to a lesser degree, SQL) is its platform independence. When it's time to code, Appelquist walks through two entirely different approaches -- one based on Microsoft SQL Server 2000, the other on Java and J2EE application servers. An additional chapter of examples introduces web services, along with key techniques such as content locking and versioning.
Splendidly written and down-to-earth, XML and SQL demystifies the integration of two technologies that were born for each other. (Bill Camarda)
Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. He served for nearly ten years as vice president of a New Jerseybased marketing company, where he supervised a wide range of graphics and web design projects. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.
Product Details
Related Subjects
Table of Contents
Preface
This book is not intended to be a comprehensive guide. It's an overview of the field, packed with good ideas and witty commentary, which should get you started in the right direction. The areas I've focused the most attention on are ones in which I have something useful to say. In other areas, I've provided an overview of concepts, and, instead of reinventing the wheel, I've included URLs that point you to useful and informative Web resources.
Who Should Read This Book?
This book is intended primarily for software developers who are managing small- to medium-scale projects. My experience is mostly from working on small development teams, where resource limitations often dictate that the person writing the requirements for a project is also the engineer in charge of design and coding. This book is written from that perspective. If you work in a larger, more structured team or environment, you may find it strange that I'm talking about requirements gathering in one sentence and data modeling in the next, but this book can also be useful to you, if applied correctly. I've organized the chapters intothe different stages of application design so that you can read through the entire book or flip to a particular piece of interest. In either case, you'll come away with something useful.Familiarity with the concepts of databases and markup languages (specifically, knowledge of HyperText Markup Language--HTML) will make this book easier to understand. If you're new to markup languages and SQL, you'll still find this book helpful in explaining how they can be used together to develop applications. In addition, I recommend you read XML: A Manager's Guide by Kevin Dick (1999) for an overview of the XML language and its features. I also recommend SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL by Michael J. Hernandez (2000).
Why Would You Read This Book?
Good question! I started writing this book after I worked on a content management application at TheStreet.com, which is an online financial news service--essentially an electronic newspaper--complete with journalists, editors, reporters, contributors, and columnists. TheStreet.com's publishing model was "multichannel"; they published their articles to their Web site (one "channel" of publication). They also published to other channels, such as syndicating articles to other sites (Microsoft Network, Yahoo!, and so forth) and to devices (PDAs, cell phones, pagers, what-have-you). This book is a result of my experiences in building a content management strategy for TheStreet.com and an application of everything I learned during that time, combined with in-depth material that I've picked up along the way. This book is best read when you're starting work on a project that has a content management component and you're thinking of using XML and a SQL database.
The Structure of This Book
This book is broken into ten chapters, corresponding roughly to the stages of application design and development.
1. Why XML? Notice I'm not asking the more mundane question, "What is XML?" This chapter instead delves into some specific examples of why XML is useful and why you want to start building systems with it.
2. Introducing XML and SQL: A History Lesson of Sorts. Chapter 2 provides a brief description of XML, its history and structure, and what it brings to the table. A similar discussion of SQL and the rise of the relational database follows.
3. Project Definition and Management. This chapter is a primer on getting the requirements for your system down on paper. It's included because I think this step is important, and I've often seen it done badly. Chapter 3 also discusses thinking about requirements from a perspective of building a "data-oriented" application. This chapter introduces two examples: a simple e-mail application and the CyberCinema Web site.
4. Data Modeling. After you have gathered your requirements, you have to start thinking abstractly about your data. It's a tough world out there, and without a bullet-proof data model to protect you, you're going to wake up one day and realize your life has been a dismal failure.
5. XML Design. You know why you should use XML because you read Chapter 1, but do you know where you should use it? What parts of your data make sense for XML, and what parts should remain purely relational? XML documents, focusing on the document type definition (DTD) as a vehicle for this discussion.
6. Getting Relational: Database Schema Design. Now that you have your data model and your XML design, how do you best write a data schema to get the job done? This chapter is brimming with helpful examples.
7. Related Standards: XSLT, XML Schema, XML Query, and Other Flora and Fauna. What do you do with all this XML once you have it? This is where the Extensible Stylesheet Language (XSL) comes into play. XSL can be used to translate XML for display or internal purposes. It can also be leveraged to aid in partial decomposition. XML Schema provides an alternative to DTDs in defining XML document structure. Query languages on the near horizon promise to query XML documents and SQL databases.
8. XML and SQL Server 2000. So how do you take all this XML and relational data and turn it into a real, living, breathing application--one that's actually useful and works? Here's one answer: Use the comprehensive XML support found in Microsoft's SQL Server 2000. This chapter presents a discussion of those features and delves into how you might use them to implement some of the strategies previously discussed.
9. Java Programming with XML and SQL. Another implementation strategy for your XML applications is to build them using the J2EE (Java 2 Enterprise Edition) framework. Chapter 9 introduces this framework and discusses some of its XML-specific features.
10. More Examples: Beyond Silly Web Sites. Chapter 10 provides other concrete examples of how to harmoniously.