?? c5281.htm
字號:
<HTML
><HEAD
><TITLE
>Jabber Namespaces</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="Programming Jabber"
HREF="book1.htm"><LINK
REL="UP"
TITLE="Putting Jabber's Concepts to Work"
HREF="p3608.htm"><LINK
REL="PREVIOUS"
TITLE="The Jabber Building Blocks"
HREF="x4089.htm"><LINK
REL="NEXT"
TITLE="Namespace usage"
HREF="x5295.htm"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Programming Jabber</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x4089.htm"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x5295.htm"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="JABTDG-CH-5A"
>Chapter 5a. Jabber Namespaces</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="c5281.htm#JABTDG-CH-5A-SECT-INTRO"
></A
></DT
><DT
><A
HREF="x5295.htm"
>Namespace usage</A
></DT
><DT
><A
HREF="x5334.htm"
>The IQ Namespaces</A
></DT
><DT
><A
HREF="x6079.htm"
>The X Namespaces</A
></DT
><DT
><A
HREF="x6299.htm"
>The X::IQ relationship</A
></DT
></DL
></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="JABTDG-CH-5A-SECT-INTRO"
></A
></H1
><P
>While the building blocks of the Jabber protocol, described in
<A
HREF="c3612.htm"
>Chapter 5</A
>, provide the groundwork for our solutions,
for our chess rules, there's still something missing. </P
><P
>There's a purity and elegance that's to be had with usage of the
three core elements <TT
CLASS="LITERAL"
><message/></TT
>,
<TT
CLASS="LITERAL"
><presence/></TT
>, and
<TT
CLASS="LITERAL"
><iq/></TT
>, but there's a depth of
meaning that's missing. While the core elements define the moves
we can make, it's the Jabber <I
CLASS="EMPHASIS"
>namespaces</I
> that
provide us with the contextual set-moves that allow us to relate
Jabber to the real world.</P
><P
>Namespaces provide a level of meaning, an environmental
layer, above the basic "packet shunting" world that would
otherwise exist if our elements were to be passed back and
forth bereft of context and application.</P
><P
>Basic activities like user registration, authentication, roster
management, and time stamping are all made possible using meaning
brought about by the application of standard Jabber namespaces to
our elements.</P
><P
>This Chapter describes those namespaces.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x4089.htm"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.htm"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x5295.htm"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>The Jabber Building Blocks</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="p3608.htm"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Namespace usage</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -