
Explore hands-on labs building MarkLogic apps with XQuery, from world leaders to top songs and a geospatial logbook, focusing on data modeling, search, security, and web services.
Download the course materials as a zip, containing labs and presentations, from the self-paced training portal or given link, then unzip and save to your local machine or home directory.
Install and run MarkLogic, initialize the host, and create an admin user. Explore MLS developer materials and lab guides, and set up a text editor with adjustable paths across OS.
Explore the XQuery programming language and its relationships with XPath and XSLT in the MarkLogic platform, and learn to query XML data with hands-on unit two exercises.
Set up your world leaders project using the MarkLogic admin API to create a forest, database, and application server, then load sample world leaders data via XQuery functions.
Learn to set up and use XQuery editors for the MarkLogic NoSQL database, focusing on autocomplete, color coding, tag placement, and correct XQuery file extensions.
Describe basic XQuery syntax rules, prologue semicolons, variable declarations with $, and mixing presentation with XQuery using curly braces while building a world leaders application with sequences and average function.
Unit 2 review questions prepare you for the learning assessment and certificate, covering semicolon usage in prologue and query body, and server-side languages like XQuery, XSLT, XPath, and JavaScript.
Learn to write basic XPath expressions to navigate XML documents and extract data using a hands-on query console demo with world leaders data.
Explore how namespaces are implemented in the ex-MIL data model and how they shape XPath expressions; declare a namespace prefix in the prologue and reference elements with QName.
Explore XPath axes, including the double-slash descendant axis and the following-sibling axis, to create flexible queries for the world leaders data.
Explore how text and string differ in XPath, how text behaves as a node test, and how string concatenates all descendant data using axes shortcuts in practical demos.
Complete unit 3 review questions to prepare for the learning assessment and earn your certificate, clarifying how the dot in an XPath expression represents the current node and namespace effects.
Explore flower components for, let, where, order by, return and their valid usage to process sequences from our world leaders documents, enabling constrained, iterated data output in X Cuore applications.
Explore the for construct within a flower expression through hands-on XQuery examples. Bind sequences, iterate items, and apply XPath-like filtering on bookstore prices to output values.
Explore using order by in flower expressions to sort by price, including descending order, and understand local variable scope versus module scope in xquery modules.
Review unit four by solving flower expression problems that demonstrate nested flower behavior, including multiplication of outer and inner sequences, a where constraint with descending order, and invalid flower expression.
This unit explores XQuery functions and operators in MarkLogic to build a leaders-by-name data app, using count, date-range, country filters, field queries, and word search.
Explore node and string functions in XQuery, distinguishing text from string and applying substring, replace, tokenize, string join, and CTX contains for world leaders biographies.
Explore number and date functions and sequences in MarkLogic to count leaders and determine who is currently in office, using current-date, days-from-duration, and rounding for tenure.
Explore unit 6 review questions on XQuery concepts, including text vs. stream results, using slash string for concatenation, counting items with f and namespaces, and proper access date formatting.
Clarifies the scope of local functions in the MarkLogic XQuery unit, highlighting their definition in the prologue of the main module and the role of namespaces.
Refactor and design library modules in XQuery to create reusable functions for multiple MarkLogic applications, using imports and namespaces to share code between learning assessment and certification systems.
Use library modules across main modules by importing and referencing admin API functions, illustrated by examples like the world leaders application resources and the dash lib naming convention.
Explore the mark logic server architecture on a single host, including application servers, databases, forests, stands, and caches, and learn how documents and RDF triples are stored and accessed.
Explore unit review questions on MarkLogic server architecture, including forest stand database configurations, data compression, and cache types, with emphasis on group-level caching and database-tier deployment.
Execute bulk loads with xquery by listing directory contents and generating document references. Load them with xdmp:document-load while comparing low level loads to information API for metadata and transaction control.
Learn how to use MarkLogic Content Pump (MSCP) for bulk data loads, exports, and cross-database copies, including aggregates, compressed files, and RDF triples, via the command line.
Deploy a baseline top songs application on your MarkLogic database using the loaded XQuery data, and study the code to understand flwor queries, sorting, and paging.
This hands-on course is designed to teach you how to quickly build apps using the MarkLogic NoSQL database and the XQuery programming language.
You will learn to use core features of the MarkLogic platform including:
To be successful in the course, students should have familiarity with databases, at least one programming language, and some web development background. Students should also complete the free prerequisite course on Udemy titled Fundamentals of the MarkLogic NoSQL Database.
The course is designed to be very hands-on. Each video discussion is followed with a hands-on lab. All the necessary software is free to download and comes with a free developer license.
Course materials including sample data, code examples, and step-by-step instructions for completing the hands-on labs are provided via a free download.