node-hampelmann

node-Hampelmann ---------------

This is an experimental program and a playground for KNURT Systeme. Feel free to play with us, but do not use it in production environments yet!

Many features described below are a combination of already implemented code, brainstorming results and future issues.

The node-Hampelmann (German for jumping jack is a program and a framework that we bashfully also refer to as "Code Without Borders".

In our opinion a huge data collection has the ability to do even more then selling Ads or connecting people! It is able to do everything.

To be honest: We only have a computer as well. But what is it then?

The difference (or better the idea) is a code with no specific purposes on the one hand - just like a framework. On the other hand it is an application that is ready to use.

So most likely this is a restful database just like Apache CouchDB or mongodb-rest but featureless. The strong points of the software is the possibility to compare different stored documents and visualize it in a table. And that can be done by everyone just using some HTML.

Let's have a look.

If people describe symptoms of their diseases, what they ate and where they got it, it might become possible to locate the source of the pathogen then.

All you need is a HTML-Form for data capturing:

[...]
<form action="/insert/disease.json" method="post">
   <fieldset>
     <legend>Your symptoms</legend>
     <p>
       <label>Symptom 1<br>
         <input type="text" name="symptoms[]">
       </label>
     </p>
     <p>
       <label>Symptom 2<br>
         <input type="text" name="symptoms[]">
       </label>
     </p>
     <p>
       <label>Symptom 3<br>
         <input type="text" name="symptoms[]">
       </label>
     </p>
   </fieldset>
   <fieldset>
     <legend>Location</legend>
     <p>
       <label>Where did you stay when your symptoms first time appear?<br>
         <input type="text" name="location">
       </label>
     </p>
   </fieldset>
   <p>
     <button type="submit">I agree with a free access of my inputs.<br
/>Submit</button>
   </p>
</form>
[...]

TODO ↘ not implemented yet

It is also possible to send a JSON-Object directly with content type text/json; charset=UTF-8.

And another HTML page with some JavaScript to get a table showing which symptoms appear at what location.

[...]
<head>
[...]
<script type="text/javascript" src="cwb/analyse.js" />
<script type="text/javascript">
   Analyse.show(document.getElementById('result'),
'/disease/symptoms/location');
</script> 
</head>
<body>
   <div id="result"></div>
</body>
[...]

The example put the data into a table.