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

  1. Another informative blog… Thank you for sharing it… Best of luck for further endeavor too. For more information visit buy 420 marijuana seeds

    ReplyDelete

Post a Comment

Popular posts from this blog

Managing configurations with object graphs

***
This post is basically a pitch I send to folks whom I think will be interested in a modern approach to configuration management. I am posting it here so I can refer people to it without sending them a long email.
***

One of the features of the Solvent (formerly HiveMind) platform is a smart object technology that solves the problem of dealing with hierarchical configuration information often represented in formats Like YAML,JSON, Java Properties,XML...etc

The smart object technology allows developers/users to directly construct object graphs of any complexity. Once you have the actual object graph you can reverse the process back to representation in any one of the formats mentioned above.


I have setup a demo instance for trying it out @ http://demo.crudzilla.com:7000

Login with login info I sent you.

Be nice, you have full system access :)

To see an example representing the AWS IP list (https://ip-ranges.amazonaws.com/ip-ranges.json):

Navigate to: /com/crudzilla/betaApp/we…

What happened to sharing work with other developers?

There was a time when you could create something interesting and post it to a forum with programmers and actually get people interested in what you have. These days it seems short of being blessed (exactly by whom, only god knows) on HackerNews there is little chance you can get anyone's attention.

It is difficult to say precisely what the issue is because it seems multifaceted. It appears a combination of the rise of GateKeepers, perhaps cynicism inspired by the rise of GateKeepers and just a general overload of information has coalesced into a very difficult situation for those of us still daring to create without a VC backed turbo to charge forward with.

Over the past 5-8 yrs I have become quite dishearten by this loss of a genuinely curios developer community, or maybe I am just an old (36) fart who's been left behind.

Even tenure in certain communities doesn't count for anything anymore. I have been a member of HackerNews for 8.5 yrs and have only had 3 or 4 of my po…

Say hello to Solvent

We've changed the name of the platform from HiveMind to Solvent. The idea behind the HiveMind name was that the platform is meant to rely on components built by developers across the web to enable the quick composition of web applications. 
HiveMind is not a bad name and in fact has proven to be quite catchy, however we think a more evocative name would work better. We've spent time toying around with different names, we were not interested in a meaningless word so the name needed to be a real word that has meaning that could be tied to what the platform is, it also needed to have a nice ring to it.
To that end, we settled on Solvent. The Wikipedia definition: 
A solvent (from the Latinsolvō, "loosen, untie, solve") is a substance that dissolves a solute (a chemically distinct liquid, solid or gas), resulting in a solution.
We think this fits nicely with the platform as one for helping businesses quickly develop software solutions to help with their business operation…