Preface: before developing marklogic application in XQuery language, we should have a general understanding of marklogic, there is not much Chinese material at present, we can only obtain relevant information from the official website https://docs.marklogic.com. MarkLogic provides a considerable number of functions for developers to use, and the instructions for these APIs can be found here.
Description Document Guides
- Enter MarkLogic's official website https://docs.marklogic.com/
- This page has many items, default is document (documentation)
- Select Version MarkLogic 8, after which all the explanations are based on MARKLOGIC8, consistent with the previously installed version
- Select the project as Guides, which has a detailed description of the introduction and use of MarkLogic, and several other highlights API
- The search box can be retrieved based on the keywords you need to query
- The navigation bar is sorted by content, and you can learn about marklogic in a gradual manner
These documents describe how to use marklogic Server, introducing the MarkLogic server,javascript,xquery, mainly for beginners of marklogic.
MarkLogic built-in function API
MarkLogic from the Server-side JavaScript, Server-side XQuery, REST, Java, node. js five dimensions, respectively, introduces the APIs for developing marklogic apps in their own style.
In the case of XQuery, if you want to know about the Insert Document function Xdmp:document-insert (), you only need to search xdmp:document-i to see that the navigation bar has been positioned to this API, there are two results, is because marklogic in the organization of the API, respectively, with the table of contents/name sorting, retrieval time, the matching results are returned, two results of the actual content is the same, click on one:
The right column gives the API body: name, location and type of parameter
API Introduction: The role of the method, parameters detailed introduction
API considerations: Permissions issues, exceptions that may occur, supplemental instructions for the API
Example: A simple example that illustrates the use of the API
Tutorial Tutorials
There is also a place where developers should go frequently, click on the tutorials above or direct access to the address Https://developer.marklogic.com/learn
This is marklogic specifically for developers to learn the site, a lot of tutorials more detailed explanation of marklogic, the video link of the web is YouTube, need a certain technical means to access.
Documents are organized by directory, easy to access, the introduction of the knowledge point is relatively thin, suitable for targeted learning, a lot of content is particularly suitable for beginners.
Other ways Blog/demo/q&a
- MarkLogic's Blog column will release some marklogic features, more difficult to explain the concept, the content is not much, mostly classic, need a certain MarkLogic foundation, like to delve into the words can see the above article. Details: Https://developer.marklogic.com/blog
- There are many completed applications under MarkLogic's Tools column, and their source code can be found on GitHub and can be downloaded locally and learned from the project. Details: Https://developer.marklogic.com/code
- The question and answer column allows you to speak your own questions or puzzles to the stack overflow, where a large number of developers will focus on these issues and give advice. can also be added to their mail group, so that you can receive messages about these issues, I joined the group, there are about 4 emails a day, pay attention to, perhaps next time in the work will also encounter. Details: Https://developer.marklogic.com/qa
MarkLogic Learning (7)--marklogic Application Development Guidelines