Fork me on GitHub

Okay, here's the tutorial prototype. *Not recommended for low-bandwidth.* EDIT:


Starting with core.cljs, you'll see the example tutorial data set up in components and sections. These are separate so that content is orthogonal to layout. You could imagine a slideshow layout with the same content, for example. Also we might want to generate interactive docs by transforming other content like the user guide. In any case, the goal is to send tutorial content and layout to the om machinery with api/render-tutorial. Note that the naming of core.cljs is a vestige of figwheel's boilerplate: The core ns will be removed. A better name for this file would be prototype.cljs.


The om app renders ui components based on each map in components. UI is decorated based on :component/type. At the first url, you can see text, editor, graph and simulator components in action.


Will be back tomorrow to discuss further


good job @michaeldrogalis @colinhicks Next future step could be building UI Editor that could simplify creating job and could generate whole clj file from UI and run in browser hosted onyx or on the server then. I think about UI like Apache Nifi for instance. Our brain is best on graphical shapes and patterns recognition. What do you think?


@mariusz_jachimowicz I'd like to have that too but not for editing. Maybe for monitoring. I've never seen a flow-control UI that is more convenient than code for non-trivial cases. There's this:


yes I agree. This kind of editing could be usefull for new comers, when you want to quickly go from novice to master, I think. Onyx dashboard is good starting point of course. I am thinking about rebuilding it further in the future. I have WIP PR there 😄.


I wonder what UI the new hosted product has.


Yeah, I am also very curious about new product 😄


Started reading the onyx-kafka source 😰


which version? Hopefully not the onyx-kafka-0.8 plugin… onyx-kafka is better, but still needs work. The current onyx 0.9 plugin interface is pretty complex to get right. We’ll be improving things a lot in the next version and it’ll get a rewrite at that point


@lucasbradstreet Do you have anywhere documenting what are the difficulties and what is still a work in progress? I'm thinking of writing a plugin for EventStore and that might help.


We have another plugin interface that was kind of a trial balloon for the next version of Onyx. It’s here


You can see an implementation of onyx-twitter here


This plugin interface will be much closer to what ends up being used in the next version of onyx


Thanks for the heads-up


If I write a plugin do I get an Onyx t-shirt? ;)


I probably need to get one written for Cassandra


Been in devops mode for the last 2 months. Need to get back to onyx


@colinhicks Beautiful work my friend.


Second that, just checked it out


In response to the above, in my opinion, having an extensive, interactive in-browser tutorial such as what @colinhicks has started will be the fastest way to get up to speed with Onyx. I've spent a good chunk of time teaching Onyx in person, and the reason that learn-onyx is effective is because it approaches the platform from the programming model, and for most people, that's where the value proposition is.


The lower we can make the cost for someone to try and explore the programming model, the better.


Thanks, all 🙂. Excited about where this is going. Here are some thoughts about the tutorial-creation process.


Note the repository name change, to onyx-blueprint. The GH pages link needs to use this, too.