Effective XML: 50 Specific Ways to Improve Your XML View Larger Image | Elliotte Rusty Harold Addison-Wesley, Paperback, Published September 2003, 336 pages, ISBN 0321150406 | List Price: $49.99 Our Price: $31.50 You Save: $18.49 (37% Off)
| | | Availability: Out-Of-Stock |
Be the First to Write a Review and tell the world about this title!People who purchase this book frequently purchase: - Effective C#: 50 Specific Ways to Improve Your C#; Bill Wagner, $34.50, 37% Off!
- Refactoring to Patterns; Joshua Kerievsky, $46.50, 22% Off!
- Essential XML Quick Reference: A Programmer's Reference to XML, XPath, XSLT, XML Schema, SOAP, and More; Aaron Skonnard, et al, $28.50, 37% Off!
Books on similar topics, in best-seller order:Books from the same publisher, in best-seller order:
Learning the basic syntax of XML is easy enough, but learning how to use XML
effectively could occupy a lifetime. Effective XML makes it possible
to become a more effective programmer much sooner. It crystallizes the hard-won
expertise of XML pioneers into 50 rules of thumb for the optimal design of XML
documents and applications. Other books can show you how to write programs that
just compile and produce the expected results. Readers of Effective XML
learn when, where, why, and how to use XML to create extensible, legible, and
maintainable XML code.
Best-selling author Elliotte Rusty Harold provides a straightforward,
plain-language guide to the patterns and anti-patterns described by the 50 rules.
Each rule is clearly and concisely explained, fully cross-referenced, and illustrated
by detailed examples. The book begins with the rules for using XML syntax and
then delves into structure and semantics before focusing on the best practices
for implementation. A Web site provides an electronic copy of the text, as well
as updates and links for further exploration.
Highlights include:
- Pointers on how to author XML documents for ease of editing and processing
as well as interoperability
- Tools and techniques for designing and documenting mappings with namespaces
and schemas
- Hints for making sure models are both representative and extensible
- Discussions of the tools and APIs used for processing XML with languages
such as C++, C#, Java, Python, and Perl
- Advice on accommodating services such as verification, data integrity, compression,
authentication, caching, and content management
Effective XML is an invaluable resource for anyone looking to
hone their XML programming skills in a matter of days rather than decades.
Table of Contents
I. INTRODUCTION.
II. SYNTAX.
1. Include an XML declaration.
2. Markup with ASCII if possible.
3. Stay with XML 1.0.
4. Use standard entity references.
5. Comment DTDs liberally.
6. Name elements with camel case.
7. Parameterize DTDs.
8. Modularize DTDs.
9. Distinguish text from markup.
10. White space matters.
II. STRUCTURE.
11. Make structure explicit through markup.
12. Store metadata in attributes.
13. Remember mixed content.
14. Allow All XML Syntax.
15. Build on top of structures, not syntax.
16. Prefer URLs to Unparsed Entities and
Notations.
17. Use processing instructions for process-specific
content.
18. Include all information in the instance
documents.
19. Encode binary data using quoted printable
and/or Base64.
20. Use namespaces for modularity and extensibility.
21. Rely on Namespace URIs, not prefixes.
22. Don't use namespace prefixes in element
content and attribute values.
23. Reuse XHTML for generic narrative content.
24. Choose the right schema language for
the job.
25. Pretend there's no such thing as the
PSVI.
26. Version documents, schemas, and stylesheets.
27. Markup according to meaning.
III. SEMANTICS.
28. Use only what you need.
29. Always Use A Parser.
30. Layer Functionality.
31. Program to Standard APIs.
32. Choose SAX for Computer Efficiency.
33. Choose DOM for Standards Support.
34. Read the complete DTD.
35. Navigate with Xpath.
36. Serialize XML with XML.
37. Validate inside your program with schemas.
IV. IMPLEMENTATION.
38. Write in Unicode.
39. Avoid vendor lock-in.
40. Parameterize XSLT Stylesheets.
41. Hang on to your relational database.
42. Document Namespaces with RDDL.
43. Preprocess XSLT on the server side.
44. Serve XML+CSS to the client.
45. Pick the correct MIME media type.
46. Tidy Up Your HTML.
47. Catalog Common Resources.
48. Verify Documents with XML digital signatures.
49. Hide confidential data with XML encryption.
50. Compress if space is a problem.
|