We’ve joined forces with Smartlogic to reveal smarter decisions—together.

JSON, Angular JS and MarkLogic

For years MarkLogic was known as an XML repository — so its not surprising that folks don’t think of the Enterprise NoSQL database as natively handling JSON. But handle JSON it does — and very well.

In fact my colleague Dave Cassel just put together a list of JavaScript tools that will help you jumpstart development. If you are primarily using JavaScript than JSON is a very natural fit. “If you are working with a REST API, which I do with most of my apps, having XML come back is harder to work with,” he explained. “So I wanted to see if I would be giving anything up by storing strictly in JSON.”

One of the reasons why people like working with JavaScript, JSON and jQuery so much is their ease and comparative lack of structure (versus XML).  That lack of structure has drawbacks though. “JQuery is hard to test and doesn’t give any structure to my code,” he told me. Dave is in charge of MarkLogic’s Vanguard Team — which develops best practices, demos and applications that can be used by the rest of the company. He put together a list of tools he has found that jives with MarkLogic’s ability to store and work with JSON. His go-to is AngularJS.

The team has been using Angular for a couple months and so far, thumbs up. “Right off the top of my head I can tell you it’s easier to build reusable components and easier to write unit tests,” he said. He did admit that some find Angular has a bit of a learning curve — as it does have a structure to it. “But that doesn’t take very long to do and it is really powerful,” he added.

Btw, the app that he is building to test his toolset is a decision-support system for sales engineers to choose and find the most relevant sales demos. The source code for that effort is listed on GitHub.

Chief Content Strategist

Responsible for overall content strategy and developing integrated content delivery systems for MarkLogic. She is a former online executive with Gannett with astute business sense, a metaphorical communication style and no fear of technology. Diane has delivered speeches to global audiences on using technologies to transform business. She believes that regardless of industry or audience, "unless the content is highly relevant -- and perceived to be valuable by the individual or organization -- it is worthless." 

Start a discussion

Connect with the community

STACK OVERFLOW

EVENTS

GITHUB COMMUNITY

Most Recent

View All

Facts and What They Mean

In the digital era, data is cheap, interpretations are expensive. An agile semantic data platform combines facts and what they mean to create reusable organizational knowledge.
Read Article

Truth in ESG Labels

Managing a portfolio of investments for your client has never been simple - and doing so through an ESG lens raises the complexity to an almost mind-boggling level. Learn the signs your team has hit the wall with current tools - and how a semantic knowledge graph can help.
Read Article

4 Signs You’ve Got a Transaction Reconciliation Challenge

Many firms manage transaction reconciliation using smart people armed with spreadsheets - but that doesn't scale well. Learn what to look for, to know if you're creating new forms of risk for your firm.
Read Article
This website uses cookies.

By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.