MLJS V1.0 Released!…

I’m pleased to announce MLJS 1.0 – the MarkLogic JavaScript Node.js and Browser widgets library. Read on for more details…

The release is available here:-

Bug fixes in this release:-
  • Fix for search result being ‘undefined’ in the mldbwebtest’s search page
  • Fix for Roxy bootstrap of mldbwebtest in order to create all required indexes automatically (thus also fixing the loading of all test content)
  • Fix to remove debug logging for every single document result in charts widget (thus quicker)
New features of note:-
  • New tutorials available – Many more descriptions of MLJS and introduction tutorials available –
  • New semantic explorer widget  – as seen in Team KoJAk’s SYTYCD entry. Visually browse across semantic subjects in the MarkLogic triple store. Also supports my sample ‘MarkLogic Document’ ontology, allowing you to describe documents in MarkLogic within the triple store. This then allows you to view both ‘facts’ and facets of a Document subject (whos #uri property is a document within MarkLogic) – thus blurring the lines between document and semantic search. Uses the HighCharts library for rendering – no external dependencies required
  • TripleConfig ontology builder – New functions rdftype() and include() allowing you to more easily plug in your own ontologies behind the sparqlbar, sparqlresults, entityfacts, and explorer widgets
  • New RDB2RDF widget – as seen in Team KoJAk’s SYTYCD entry. Allows you to import (via MLSAM) a relational database’s tables and rows and create subjects in the triple store using the W3C’s RDB2RDF Direct Mapping approach.
  • New Document viewing widgets – Allows you to preview XHTML document content and metadata, and view and edit general document metadata properties
  • Updated Google Kratu widget – Now supports viewing facts from an entity as well as document content for display as a table
  • Various semantic context improvements – To allow building of widgets at various level of detail (list of subjects, subject details, fact information)
  • I’ve also performed some JavaScript performance tests to ensure MLJS runs very fast.
  • Reworked layout of code within mldbwebtest to allow easier pulling of code in to Roxy via upcoming mljs support in Roxy itself.

There are various other additions to the API in MLJS core and the widgets, so please review your most used elements to see what has changed.

All download archives and the npm for Node.js are now updated.

If you find any issues, please report here:

During the next few weeks I will be updating documentation for new methods added to the API and creating new tutorials. Request ones you would like to see using the issues page, above.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.