I’m liking Cockpit, great job! I noticed its pretty much pure jquery so far. TL;DR; have
you considered using AngularJS?
As a bit more background; I work at Red Hat in the Java / Middleware / Integration side of
the house (the JBoss Fuse & xPaaS team) mostly on a HTML5 web console for all things
integration (like Apache Camel, Apache ActiveMQ etc). We used to use jquery + backbone a
few years go; then after realising how much JS we were writing & how hard it is to
maintain & refactor as UX requirements change; we saw angularjs and have never looked
since then we refactored all our code to use angularjs and gained massive amounts of
productivity. We write relatively little JS now and spend most of our time writing/hacking
HTML templates and directives (that are kinda like reusable HTML fragments - like the new
Web Components spec).
The open source project for the java / middleware / integration console is called hawtio:
we started it about 18 months ago with one person full time and a couple more folks part
time and we’re kinda blown away by what we’ve managed to achieve in that time - all thanks
We’ve so far created all these plugins - which in itself doesn’t really give justice to
the sheer scope and functionality (e.g. a full camel EIP route designer, debugger &
wiki are examples of 2 plugins):
One day I’d love to integrate Cockpit and Hawtio together more closely; so they can be
combined or cross link to each other etc.
But the main reason for this brain dump was just to ask if you guys had looked or pondered
AngularJS at all? I realise the JS framework world is full of many shiny things - I just
wanted to say we moved from jquery+backbone to angularjs and its paid huge dividends;
we’re now big fans. A few other UIs have done the same (e.g. dockerui and kibana for
Increasingly there’s going to be more PatternFly directives for angularjs; we’ve also
created a library of directives in hawtio if you ever go angular please feel free to
(the site obviously uses hawtio directives itself too ;)
So please consider AngualrJS & I’ll gladly help if you need any angularjs advice or
anything. Whatever you choose to use though; keep up the great work!
Twitter: jstrachan, fusenews
Open Source Integration