Cargando…

Effective XML 50 Specific Ways to Improve Your XML.

Annotation

Detalles Bibliográficos
Autor principal: Harold, Elliotte Rusty (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Boston : Addison Wesley Professional Sept. 2003.
Colección:Effective Software Development Ser.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000nam a2200000M 4500
001 OR_on1153029876
003 OCoLC
005 20231017213018.0
006 m d
007 cr n |||
008 030508e20030922maua o ||| 2 eng d
010 |a  2003056257 
040 |a VT2  |b eng  |c VT2 
020 |a 9780321150400 
020 |a 0321150406  |q (Trade Paper) 
024 1 |a 785342150407 
024 3 |a 9780321150400 
035 |a (OCoLC)1153029876 
037 |b 01157628 
082 0 0 |a 005.7/2  |2 21 
049 |a UAMI 
100 1 |a Harold, Elliotte Rusty  |e Author. 
245 1 0 |a Effective XML  |h [electronic resource]:  |b 50 Specific Ways to Improve Your XML. 
260 |a Boston :  |b Addison Wesley Professional  |c Sept. 2003. 
300 |a 1 online resource (336 p. :)  |b ill. 
490 1 |a Effective Software Development Ser. 
520 8 |a Annotation  |b <p>Learning the fundamentals of XML might take a programmer a week. Learning how to use XML effectively might take a lifetime. While many books have been written that teach developers how to use the basic syntax of XML, this is the first one that really focuses on how to use XML well. This book is not a tutorial. It is not going to teach you what a tag is or how to write a DTD. I assume you know these things. Instead it's going to tell you when, why, where, and how to use such tools effectively (and perhaps equally importantly when not to use them). This book derives directly from my own experiences teaching and writing about XML. Over the last five years. I've written several books and taught numerous introductory courses about XML syntax, APIs, and tools. Increasingly I'm finding that audiences are already familiar with the basics of XML. They know what a tag is, how to validate a document against a DTD, and how to transform a document with an XSLT style sheet. The question of what XML is and why to use it has been sufficiently well evangelized. The essential syntax and rules are reasonably well understood. However, although most developers know what a CDATA section is, they are not sure what to use one for. Although programmers know how to add attribute and child nodes to elements, they are not certain which one to use when.</p><p>Since XML has become a fundamental underpinning of new software systems, it becomes important to begin asking new questions, not just what XML is, but how does one use it effectively? Which techniques work and which don't? Perhaps most importantly, which techniques appear to work at first but fail to scale as systems are further developed? When I teach programming at my university, one of the first things I tell my students is that it is not enough to write programs that compile and produce the expected results. It is as important (perhaps more important) to write code that is extensible, legible, and maintainable. XML can be used to produce robust, extensible, maintainable, comprehensible systems or it can be used to create masses of unmaintainable, illegible, fragile, closed code. In the immortal words of Eric Clapton, "It's in the way that you use it." XML is not a programming language. It is a markup language; but it is being successfully used by many programmers. There have been markup languages before, but in the developer community XML is far and away the most successful. However, the newness and unfamiliarity of markup languages have meant that many developers are using it less effectively than they could. Many programmers are hacking together systems that work, but are not as robust, extensible, or portable as XML promises. This is to be expected. Programmers working with XML are pioneers exploring new territory, opening up new vistas in software, and accomplishing things that could not easily be accomplished just a few years ago. However one definition of a pioneer is someone with an arrow in their back, and more than a few XML pioneers have returned from the frontier with arrows in their backs.</p><p>Five years after the initial release of XML into the world, certain patterns and antipatterns for the proper design of XML applications are becoming apparent. All of us in the XML community have made mistakes while exploring this new territory, the author of this book prominently among them. However, we've learned from those mistakes, and we're beginning to develop some principles that may help those who follow in our footsteps to avoid making the same mistakes we did. It is time to put up some caution signs in the road. We may not exactly say "Here there be dragons", but we can at least say, "That road is a lot rockier than it looks at first glance, and you might really want to take this slightly less obvious but much smoother path off to the left."</p><p>This book is divided into four parts beginning with the lowest layer of XML and gradually working up to the highest:</p><ul><li>Part I covers XML syntax, those aspects of XML that don't really affect the information content of an XML document, but may have large impacts on how easy or hard those documents are to edit and process.</li><li>Part II looks at XML structures, the general organization and annotation of information in an XML document.</li><li>Part III discusses the various techniques and APIs that are available for processing XML with languages such as C++, C#, Java, Python, and Perl and thus local semantics to the labeled structures of XML.</li><li>Part IV explores effective techniques for systems built around XML documents, rather than looking at individual documents in isolation.</li></ul><p>Although, this is how I've organized the book, you should be able to begin reading at essentially any chapter. This book makes an excellent bathroom reader. :-) You may wish to read the introduction first, which defines a number of key terms that are used throughout the book, and which are frequently misused or confused. However, after that feel free to pick and choose from the topics as your interest and needs dictate. I've made liberal use of cross-references to throughout to direct you along other paths through the book that may be of interest.</p><p>I hope that this book is a beginning, not an end. It's still early in the life of XML, and much remains to be discovered and invented. You may well develop best practices of your own that are not mentioned here. If you do I'd love to hear about them. You may also take issue with some of the principles stated here. I'd like to hear about that too. Discussion of many of the guidelines identified here has taken place on the xml-dev mailing list, and seems likely to continue in the future. If you're interested in further discussion of the issues raised in this book, I recommend you subscribe and participate there. Complete details can be found at<a href="http://lists.xml.org/" title="http://lists.xml.org/" target="_new">http://lists.xml.org/</a>. On the other hand, if you find out and out mistakes in this book (The ID attribute value on p. 87 is missing a closing quote. The word "Cat" is misspelled on p. 46.) you can write me directly at<a href="mailto:elharo@metalab.unc.edu">elharo@metalab.unc.edu</a>. I maintain a web page listing known errata for this book, as well as any updates at<a href="http://www.cafeconleche.org/books/effectivexml/" target="_new">http://www.cafeconleche.org/books/effectivexml/</a>. I hope this book makes your use of XML both more effective and more enjoyable.</p><p>--Elliotte Rusty Harold<br /><a href="mailto:elharo@metalab.unc.edu">elharo@metalab.unc.edu</a><br />Brooklyn NY<br />April 22, 2003<br /></p><br /><br />0321150406P06062003. 
521 |a Scholarly & Professional  |b Addison Wesley Professional. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 4 |a Xml (Document Markup Language) 
650 4 |a Computers  |x Programming Languages  |x Xml. 
830 0 |a Effective Software Development Ser. 
856 4 0 |u https://learning.oreilly.com/library/view/~/0321150406/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
887 |a QA76.76.H94H334 2003 
994 |a 92  |b IZTAP