MarkLogic Learning (7)--marklogic Application Development Guidelines

Source: Internet
Author: User
Tags xquery

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
    1. Enter MarkLogic's official website https://docs.marklogic.com/
    2. This page has many items, default is document (documentation)
    3. Select Version MarkLogic 8, after which all the explanations are based on MARKLOGIC8, consistent with the previously installed version
    4. Select the project as Guides, which has a detailed description of the introduction and use of MarkLogic, and several other highlights API
    5. The search box can be retrieved based on the keywords you need to query
    6. 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
    1. 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
    2. 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
    3. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.