E-books in Russian and English



<<< >>>

Welcome

 


Enter · Register · Search

 
 
   
 
 
 
« 2010 »
 1234
567891011
12131415161718
19202122232425
2627282930 
 
One Week Top10:
 2  3   4

Beginning XML

date: 8 2010 / author: izograv / : Xml / views: 2190 / comments: 0

Beginning XML by David Hunter, Jeff Rafter, Joe Fawcett, and Eric van der Vlist



When the first edition of this book was written, XML was a relatively new language but already gaining ground fast and becoming more and more widely used in a vast range of applications. By the time of the second edition, XML had already proven itself to be more than a passing fad, and was in fact being used throughout the industry for an incredibly wide range of uses. With the third edition, it was clear that XML was a mature technology, but more important, it became evident that the XML landscape was dividing into several areas of expertise. Now in this edition, we needed to categorize the increasing number of specifications surrounding XML, which either use XML or provide functionality in addition to the XML core specification.

So what is XML? Its a markup language, used to describe the structure of data in meaningful ways. Anywhere that data is input/output, stored, or transmitted from one place to another, is a potential fit for XMLs capabilities. Perhaps the most wellknown applications are webrelated (especially with the latest developments in handheld web accessfor which some of the technology is XMLbased). However, there are many other nonwebbased applications for which XML is usefulfor example, as a replacement for (or to complement) traditional databases, or for the transfer of financial information between businesses. News organizations, along with individuals, have also been using XML to distribute syndicated news stories and blog entries.

This book aims to teach you all you need to know about XMLwhat it is, how it works, what technologies surround it, and how it can best be used in a variety of situations, from simple data transfer to using XML in your web pages. It answers the fundamental questions:

∗ What is XML?

∗ How do you use XML?

∗ How does it work?

∗ What can you use it for, anyway?

This book is for people who know that it would be a pretty good idea to learn XML but arent 100 percent sure why. Youve heard the hype but havent seen enough substance to figure out what XML is and what it can do. You may be using development tools that try to hide the XML behind user interfaces and scripts, but you want to know what is really happening behind the scenes. You may already be somehow involved in web development and probably even know the basics of HTML, although neither of these qualifications is absolutely necessary for this book.

What you dont need is knowledge of markup languages in general. This book assumes that youre new to the concept of markup languages, and we have structured it in a way that should make sense to the beginner and yet quickly bring you to XML expert status.

The word Beginning in the title refers to the style of the book, rather than the readers experience level. There are two types of beginner for whom this book is ideal:

∗ Programmers who are already familiar with some web programming or data exchange techniques. Programmers in this category will already understand some of the concepts discussed here, but you will learn how you can incorporate XML technologies to enhance those solutions you currently develop.

∗ Those working in a programming environment but with no substantial knowledge or experience of web development or data exchange applications. In addition to learning how XML technologies can be applied to such applications, you will be introduced to some new concepts to help you understand how such systems work.

The subjects covered in this book are arranged to take you from novice to expert in as logical a manner as we could. This Fourth Edition is structured in sections based on various areas of XML expertise. Unless you are already using XML, you should start by reading the introduction to XML in Part I. From there, you can quickly jump into specific areas of expertise, or, if you prefer, you can read through the book in order. Keep in mind that there is quite a lot of overlap in XML, and that some of the sections make use of techniques described elsewhere in the book.

∗ The book begins by explaining what exactly XML is and why the industry felt that a language like this was needed.

∗ After covering the why, the next logical step is the how, so it shows you how to create wellformed XML.

∗ Once you understand the whys and hows of XML, youll go on to some more advanced things you can do when creating your XML documents, to make them not only well formed, but valid. (And youll learn what valid really means.)

∗ After youre comfortable with XML and have seen it in action, the book unleashes the programmer within and looks at an XMLbased programming language that you can use to transform XML documents from one format to another.

∗ Eventually, you will need to store and retrieve XML information from databases. At this point, you will learn not only the state of the art for XML and databases, but also how to query XML information using an SQLlike syntax called XQuery.

∗ XML wouldnt really be useful unless you could write programs to read the data in XML documents and create new XML documents, so well get back to programming and look at a couple of ways that you can do that.

∗ Understanding how to program and use XML within your own business is one thing, but sending that information to a business partner or publishing it to the Internet is another. Youll learn about technologies that use XML that enable you to send messages across the Internet, publish information, and discover services that provide information.

∗ Since you have all of this data in XML format, it would be great if you could easily display it to people, and it turns out you can. Youll see an XML version of HTML called XHTML. Youll also look at a technology you may already be using in conjunction with HTML documents called CSS. CSS enables you to add visual styles to your XML documents. In addition, youll learn how to design stunning graphics and make interactive forms using XML.

∗ Finally, the book ends with a case study, which should help to give you ideas about how XML can be used in reallife situations, and which could be used in your own applications.

This book builds on the strengths of the earlier editions, and provides new material to reflect the changes in the XML landscapenotably XQuery, RSS and Atom, and AJAX. Updates have been made to reflect the most recent versions of specifications and best practices throughout the book. In addition to the many changes, each chapter has a set of exercise questions to test your understanding of the material. Possible solutions to these questions appear in Appendix




 

Comments: 0

 
 
Year Top:
2011
2010
2009
2008
2007
2006
 
  

 

Design/Web/Support/Anti-Leech by izograv @ yandex.ru
Optimized for Firefox | Anti-Leech tested on IE, Firefox, Reget