|
25 | 25 | <para>XQuery is unique in the development stack: It replaces both SQL and the traditional |
26 | 26 | software layers that convert SQL into presentation formats such as HTML, PDF and ePub. |
27 | 27 | XQuery can both retrieve information from your database and format it for presentation. </para> |
28 | | - <para>Learning how to select basic data from an XML document can be learned in just a few |
| 28 | + <para>Learning how to select basic data from an XML document can be accomplished in just a few |
29 | 29 | hours, especially if you are already familiar with SQL and other functional programming |
30 | | - languages. Learning how to create custom XQuery functions, how to design XQuery modules |
| 30 | + languages. Learning how to create custom XQuery functions, how to design XQuery modules, |
31 | 31 | and how to execute unit tests on XQuery takes considerably longer.</para> |
32 | 32 |
|
33 | 33 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
34 | | - |
| 34 | + |
35 | 35 | <sect2 xml:id="learning-example"> |
36 | 36 | <title>Learning by Example</title> |
37 | 37 |
|
38 | 38 | <para>Many people find that they learn a new language best by reading and trying small |
39 | | - examples of code. One of the ideal locations for this is the <link condition="_blank" xlink:href="http://en.wikibooks.org/wiki/XQuery#Beginning_Examples">XQuery Wikibook |
| 39 | + examples of code. One of the ideal locations for this is the <link condition="_blank" xlink:href="https://en.wikibooks.org/wiki/XQuery#Beginning_Examples">XQuery Wikibook |
40 | 40 | Beginning Examples</link>. These examples are all designed and tested to work with |
41 | 41 | eXist. Please let us know if there are specific examples you would like to |
42 | 42 | see.</para> |
|
56 | 56 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
57 | 57 |
|
58 | 58 | <sect2 xml:id="learning-flowr"> |
59 | | - <title>Learning FLOWR statements</title> |
| 59 | + <title>Learning FLWOR statements</title> |
60 | 60 |
|
61 | | - <para>Iteration in XQuery uses parallel programming statements called FLOWR (For, Let, |
62 | | - Order by, Where, Return). Each loop of a FLOWR statement is performed in a separate |
| 61 | + <para>Iteration in XQuery uses parallel programming statements called FLWOR (For, Let, |
| 62 | + Where, Order by, Return). Each loop of a FLWOR statement is performed in a separate |
63 | 63 | thread of execution. As a result you cannot use the output of any computation in a |
64 | | - FLOWR loop as input for the next iteration. This concept can be difficult to learn |
| 64 | + FLWOR loop as input for the next iteration. This concept can be difficult to learn |
65 | 65 | if you have never used parallel programming systems.</para> |
66 | 66 | </sect2> |
67 | 67 |
|
|
133 | 133 | in a drop-down list. As you continue to type or select a function the parameters and |
134 | 134 | types are also shown. This becomes an important time-saver!</para> |
135 | 135 | </sect2> |
| 136 | + |
| 137 | + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 138 | + |
| 139 | + <sect2 xml:id="other-resources"> |
| 140 | + <title>Other Resources</title> |
| 141 | + |
| 142 | + <para>See Priscilla Walmsley's book, <link |
| 143 | + xlink:href="http://shop.oreilly.com/product/0636920035589.do" condition="_blank" |
| 144 | + >XQuery</link> on the XQuery language, Adam Retter and Erik Siegel's book, <link |
| 145 | + xlink:href="http://shop.oreilly.com/product/0636920026525.do" |
| 146 | + condition="_blank">eXist: a NoSQL Document Database and Application |
| 147 | + Platform</link>, on XQuery application development, and the <link |
| 148 | + xlink:href="https://github.com/joewiz/learn-xquery" condition="_blank">Learning |
| 149 | + XQuery</link> list.</para> |
| 150 | + </sect2> |
136 | 151 |
|
137 | 152 | </sect1> |
138 | 153 |
|
|
0 commit comments