Что не так с XML интерфейсами? (разговор с Elliotte Rusty Часть I.)

Artima, “What's Wrong with XML APIs(A Conversation with Elliotte Rusty Harold, Part I)”, public translation into Russian from English More about this translation.

Translate into another language.

Participants

theqex1003 points
tpumapa3m600 points
Virgoss169 points
And others...
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next
1 2 3 4 5 6

What's Wrong with XML APIs(A Conversation with Elliotte Rusty Harold, Part I)

Что не так с XML интерфейсами? (разговор с Elliotte Rusty Часть I.)

History of edits (Latest: pivnyak 3 years, 9 months ago) §

— Неудачный перевод. Имхо, стоило оставить как было в оригинале - "XML API" или перевести как "API для работы с XML". Lloyd

— исправил pivnyak

More 3 comments

— просто "XML API", без s Lloyd

Summary

Обзор

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Elliotte Rusty Harold talks with Bill Venners about the five styles of XML APIs, and the problems with data-binding APIs.

Эллиот Расти Гарольд обсуждает с Биллом Веннером пять разновидностей XML-API и проблемы с API для связывания данных.

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Elliotte Rusty Harold is a prolific author of numerous books about Java and XML, and creator of the popular Java website Cafe au Lait and XML website Cafe con Leche. He contributed to the development of JDOM, a popular XML processing API for Java. His most recent book, Processing XML with Java, shows how to parse, manipulate, and generate XML from Java applications using several XML APIs, including SAX, DOM, and JDOM.

Эллиот Расти Гарольд - автор большого числа книг о Java и XML и создатель известного сайта о Java "Cafe au Lait" и сайта об XML "Cafe con Leche". Он участвовал в разработке JDOM, популярного API для обработки XML на языке Java. Его последняя книга, "Работа с XML на Java", описывает, как парсить, обрабатывать и создавать XML-документы в програмах на Java, используя SAX, DOM и JDOM.

History of edits (Latest: Virgoss 3 years, 9 months ago) §

In September, 2002, Harold unveiled at a meeting of the New York XML SIG an XML processing API of his own design: the XOM (XML Object Model) API. On Cafe au Lait and Cafe con Leche, Harold described XOM like this:

В сентябре 2002-го на встрече XML SIG а Нью-Йорке Гарольд представил новый XML API собственной разработки: XOM API (XML Object Model - Объектная Модель XML). Вот как он описывает XOM на своих сайтах "Cafe au Lait" и "Cafe con Leche":

History of edits (Latest: Lloyd 3 years, 9 months ago) §

Like DOM, JDOM, dom4j, and ElectricXML, XOM is a read/write API that represents XML documents as trees of nodes. Where XOM diverges from these models is that it strives for absolute correctness and maximum simplicity. XOM is based on more than two years' experience with JDOM development, as well as the last year's effort writing Processing XML with Java. While documenting the various APIs I found lots of things to like and not like about all the APIs, and XOM is my effort to synthesize the best features of the existing APIs while eliminating the worst.

Наряду с DOM, JDOM, dom4j, и ElectricXML, XOM - интерфейс для чтения/записи, представляющий XML-документ в виде дерева узлов. Однако, XOM существенно отличается от остальных API, поскольку главным образом ориентирован на точность и простоту. В основе XOM лежит более чем двухлетний опыт разработки JDOM, а также год работы над книгой "Работа с XML на Java". Документируя различные API, я определил для себя несколько моментов, которые мне нравятся или нет, и XOM - это моя попытка объединить лучшее из существующих API, убрав худшее.

History of edits (Latest: Maximusya 3 years, 8 months ago) §

In this interview, which is being published in weekly installments, Elliotte Rusty Harold discusses the strengths and weaknesses of the various XML processing APIs for Java, the design problems with existing APIs, and the design philosophy behind XOM. In this first installment, Harold discusses the five styles of XML APIs and the problems with data-binding XML APIs.

В этом интервью, публикуемом по частям каждую неделю, Еллиот Расти Гарольд рассматривает сильные и слабые стороны различных API для работы с XML в Java, проблемы проектирования существующих API, и философию проектирования XOM. В этой первой части, Гарольд рассуждает о пяти типах XML API и проблемах API привязки данных.

History of edits (Latest: Lloyd 3 years, 9 months ago) §

What's Wrong with XML APIs

Что не так с API для работы с XML

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Bill Venners: What is wrong with XML APIs?

Билл Веннерс: Что не так с XML-API?

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Elliotte Rusty Harold: XML APIs are too complicated, too simple, or both.

Эллиот Расти Гарольд: XML-API бывают либо слишком сложными, либо слишком простыми, либо и теми, и другими вместе.

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Bill Venners: How can they be both too complicated and too simple?

Билл Веннерс: Как они могут быть одновременно и слишком сложными, и слишком простыми?

History of edits (Latest: Virgoss 3 years, 9 months ago) §

Elliotte Rusty Harold: It depends on which XML API you're talking about. Some APIs, such as DOM, are simply wildly broken and complex in ways that they don't need to be. Other APIs are too simple in that they don't completely and correctly model XML. These APIs try to pretend that XML is simpler than it actually is.

Эллиот Расти Гарольд: Ответ зависит от того, о каком API мы говорим. Некоторые API, такие как DOM, излишне сложны и перегружены. Другие же значительно упрощены ценой несоответствия с XML. Такие API представляют XML более простым, чем он на самом деле есть.

History of edits (Latest: theqex 3 years, 9 months ago) §
Pages: ← previous Ctrl next
1 2 3 4 5 6

© 1996-2007 Artima.