Skip to main content

JSON Information Management and Publishing for Technical and Business users

Like it or not JSON is the data format of the web at the moment. It has found uses in application configuration, taxonomy management and pretty much any domain that used to be handled by XML is now increasingly being taken over by JSON.

While our Hivemind product is first and foremost a web application delivery platform, it doubles as a full-blown Structured Information Manager and Publisher for JSON information. Both technical and non-technical users can use it to create and publish complex structured information without writing code.


Hivemind has a sophisticated Smart Object technology that can be used to create complex objects that are then serialized as JSON.

About Smart Objects

  • Smart Objects are an executable construct on the Hivemind platform, in executable form the file format is itself JSON. You can see an example of a Smart Object executable here: http://crudzilla.s3.amazonaws.com/ip-range.json
  • Smart Objects can invoke other Smart Objects in the way that any executable construct (eg. a php file) should be able to invoke another executable.
  • Smart objects can be invoked in code (eg. Groovy,Javascript,Closure,Ruby) and the resulting complex object is a composite made up of java Objects and ArrayLists.You can use them in your code just like any other object.
  • Smart Objects can be secured in a number of ways
    •   Fields can be marked as final to prevent browser supplied overrides
    •   They can be restricted to only be invoked by another smart object, in other words not invokable directly from the browser.
    •   You can apply role based security as in any Java application, you actually define roles using a smart object :)
  • Smart Objects are composed using the file system structure, in other words you can organize a filesystem folder structure that mirrors your structured information. This is very intuitive and makes it easy to think about your JSON information.

Smart Objects in action

Below is an example of a Smart Object setup for the AWS ip list (https://ip-ranges.amazonaws.com/ip-ranges.json). You can imagine that IP list could be maintained by anyone, they don't need to even know what JSON is.


1)A simple Smart Object representing an AWS IP


 2) Smart Object prefixes property invokes another Smart Object, thus leading to composition.


3)Secure a Smart Object

4) Test result from executing the Smart Object, it results in JSON.










Benefits

Developers can offload management of JSON information to business users: Often times developers rely on information that is managed by business users, or at least that should be managed by business or non-technical users. For instance a developer building an e-commerce site would need to get information from a product catalog. A developer may need some taxonomy managed by someone else who's non-technical. In order for developers to work together with non-technical users requires the non-technical user mocking about with complex JSON or XML files, increasing the risk of breaking applications when they make simple syntax mistakes.

Whether it is in the domain of retail, healthcare, manufacturing or technology, structure information is everywhere. Hivemind's Smart object technology can help you tame your JSON information.



Comments

Popular posts from this blog

Declarative Programming With AI/LLMs

  What Is Declarative Programming Broadly speaking, there are two ways to program/instruct a computer to perform a task, they are imperative vs declarative programming. Imperative programming is what we do the most, we write all the code necessary for the computer to perform a task such that the only thing left for the computer to do is fetch and execute CPU instructions. If you are using Java,C#, Javascript...etc you are doing imperative programming. Declarative programming is a higher-order form of programming, we instruct the computer to perform a task but otherwise let it "figure out" how to do it. Declarative programming requires some sort of software based execution engine. Whereas with imperative programming our code gets compiled into some machine/byte code and then run by the CPU, declarative programming requires a layer of software that does the "magic" that allows you to use it without having to write the precise logic for completing tasks.  I would guess...

Integrating AI CodeGen With Low Code Application Development

This is a demo showing Solvent-Lowcodr working with AI Code generation (ChatGPT) to build web apps in a low code fashion. This demo uses Vuetify Component Library. This is the first in a series showing various ways that AI CodeGen and low code can be combined in Solvent-Lowcodr to accelerate web application development. In subsequent posts we'll show how to use AI CodeGen to build low code building blocks in Solvent-Lowcodr. We'll also show demos for React.

Integrating AI CodeGen With Low Code Application Development - Part 2

In this post we follow up from the previous AI CodeGen integration into a Lowcode environment, which was a manual process.  In this post we showcase the new direct AI integration support, then follow that up with using that integration to automate the process of issuing a prompt and generating a Lowcode app. Part 1 - Basic AI Integration Demo (OpenAI, Anthropic, Gemini) Part 2 -CodeGen and Lowcode Integration via automation using all three models.