Greenius ClojureScript integration and roadmap

There are three basic ingredients to take care of our brains: exercise (walking is enough), social contact (we are humans by the relationship with others) and intellectual exercise, to do something challenging, different. Certainly the adoption of the Clojure stack forces us to stay sharp – simplicity demands to think.

ClojureScript integration in plot editing tool

As you already know, our back-end code is entirely built with Clojure and Datomic and now, thanks to Jonas Enlund, we have our first ClojureScript + OM component. Since last week Greenius users have an improved Plot edition tool, with new features like undo/redo, zoom and -coming very soon- multi-plot option.

Jonas has used the Flux pattern to build the architecture and these libraries:

:client {:dependencies [[org.clojure/clojurescript "0.0-2498"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[org.clojure/tools.reader "0.8.13"]
[org.om/om "0.8.0"]
[prismatic/om-tools "0.3.10"]
[cljs-ajax "0.3.3"]]

GreeniusPlotGrid

 

The new plot has been smoothly embbeded in our Enyo based UI via iframe in an Enyo component.

 

The result is a powerful grid edition tool for our users, and for us, the foundation for the next Clojurescript based component in our Roadmap: an integration with plant sensor Koubachi where we will display real-time visualization of data in charts/graphs.

 

newplot

Greenius Roadmap

We are currently working on designing and developing some very exciting new features for Greenius:

Plot edition

Just released in the beginning of February, it’s a huge improvement on the plot editing functionality. This new development opens the door for the multi-plot feature in the future.

Shop

We will add a curated shop to the platform, with selected products from independent retailers. We hope to publish it by the end of February 2015.

Koubachi

Our first sensor integration! We will make it possible to connect your Koubachi plant sensor to our platform offering real-time and historic data visualization as well as customized plant-care suggestions.

Follow topics and interests

This feature will enable users to follow gardening and green lifestyle topics of their interests, complementing the capability of following other gardeners and specific plants.

 

——————————————————————-

 

Lots of exciting work ahead to build a useful and meaningful platform that will contribute to create a greener future and in the way, help us keep a healthy and sharpened brain with the Clojure stack!