Marklogic Documents Add Documents Using Javascript: From Files declareUpdate(); // Mandatory to edit resources in MArklogic xdmp.documentLoad(“path/file.json”); // Keep Uri as path/file.json xdmp.documentLoad(“path/file.json”, {“uri”: “NewUriPath”}); // Change Uri to NewUriPath /*Load Bulk documents*/ const pathToDocs = “/home/Docs”; const docResults = xdmp.filesystemDirectory(pathYoDocs); docResults.forEach(fucntion(doc){ xdmp.documentLoad(doc.pathname, {“uri”:”/patents/”+doc.filename})}); Using Javascript: Document created in memory ( form, response to api, …
Data
๐ Understanding ABAC vs. RBAC with Code Examples
ABAC : Attribute-Based Access Control RBAC : Role-Based Access Control Access control is a crucial aspect of security in software applications. Two popular models for implementing access control are Attribute-Based Access Control (ABAC) and Role-Based Access Control (RBAC). In this tutorial, we’ll delve into the concepts of ABAC and RBAC, and provide code examples to …
๐ฆ Marklogic
Marklogic For a recap on what-is-marklogic-server, see this article. Documents Add Documents Using Javascript: From Files ‘use strict’; declareUpdate(); // Mandatory to edit resources in MArklogic xdmp.documentLoad(“path/file.json”); // Keep Uri as path/file.json xdmp.documentLoad(“path/file.json”, {‘uri’: ‘NewUriPath’}); // Change Uri to NewUriPath /*Load Bulk documents*/ const pathToDocs = ‘/home/Docs’; const docResults = xdmp.filesystemDirectory(pathYoDocs); docResults.forEach(fucntion(doc){ xdmp.documentLoad(doc.pathname, {‘uri’:’/patents/’+doc.filename})}); Using …
๐ด๐ฟ Demystifying Log Files: Your Ultimate Guide
What are Log Files? Log files are automatically created data files that hold a record of events linked to a specific software. They play a crucial role in network observability and IT operations. Log files capture user patterns, activities, and the operations taking place within an operating system, application, server, or other devices. While most …
๐ฅ๏ธย Insight about a well defined adversary of Json: GraphQL
Graphql Created by Facebook in 2012 and open-sourced in 2015. Graph query language is used for communicating with a server to retrieve data. Offers strong data typing, enabling better management of missing data and data overload. Coexistence with Existing Methods GraphQL is an additional querying method alongside existing ones like REST. It doesn’t aim to …
๐ Most Useful Apps and Websites on Internet
The Most Important Apps and Websites on Internet Today, I want to list the most useful apps, websites and platforms that will save you a lot of time. This list will be updated often, so save this page and come back regularly to discover good links. From capturing web page snapshots to learning coding online, …
๐ฆ What is MarkLogic Server ?
MarkLogic is a database that served to retrieve different types and heterogenous data. The data representations that MarkLogic uses are text, binary, JSON and XML. MarkLogic Speed Terabytes of data can be stored in a MarkLogic Database. According to the documentation found here, MarkLogic is able to deliver data are sub-second response time. Studies show …
๐ Concrete Real World Application with: Apache Nifi, Kafka, and Spark ML
With have seen a full tutorial about Apache Nifi and SparQL. Today we are going to create a full real-world data-driven application using Apache Nifi, Kafka, and Spark ML. 1. Context & Introduction In today’s world, data is everywhere, and extracting value from it has become a critical aspect of business success. Apache Nifi, Kafka, …
๐ SPARQL – Full Tutorial in 2023
Last week, I came across a SPARQL because I have seen my colleagues working with it. I tested it and I would like to share what I have learned from my SparQL journey. If you prefer to know how to use Apache Nifi or get insight about a how to create a full application in …
๐ Apache Nifi – Full Tutorial 2023
Welcome to the Apache NiFi course for beginners! In this comprehensive guide, we will take you through all the basics of Apache NiFi – a powerful, open-source data integration tool. This course is designed for people with little or no experience with Apache NiFi, and by the end of it, you will have a solid …