Code Monkey home page Code Monkey logo

Comments (6)

jsa-aerial avatar jsa-aerial commented on May 18, 2024 1

Yeah, Saite will payoff a great deal more with not much more upfront investment. The examples/examples.clj can be useful to jump start stuff.

from hanami.

jsa-aerial avatar jsa-aerial commented on May 18, 2024

They are totally different. Hanami is a library/framework for creating visualization applications in Clojure(Script) using Vega-Lite and Vega. Both the frontend (Cljs) and backend (Clj) are intended as bases for creating applications. The parameterized template system works in both client and server and is unique - all other 'bindings' (Altair for Python being the most complete) are typical procedural and/or OO classes/attributes - including Oz, which actually has almost nothing.

Oz is a simple app which can send VGL and VG specs to a browser client for display. It has basically no support for creating specs and nothing for page layouts. It uses an old deprecated version of react (reagent). And it uses a very clumsy and heavy weight msg system (Sente with loads of baggage).

Saite, is, in spirit, somewhat similar to Oz. But it is vastly more capable. It is a mini client/server app built with Hanami using several of Hanami's framework aspects - the tabbing system, the custom tab capability, the page header custom function, the multi named session capability (for sharing), and the powerful recursively transformed template system for generating VGL/VG specs. So, it also serves as an example application of Hanami.

Oh, and Oz uses quite out of date vega-lite and vega versions with much less capability. I'm also in process of updating Hanami (and thus Saite as well) to VGL 3.0 and VG 4.2

from hanami.

jorinvo avatar jorinvo commented on May 18, 2024

Sounds awesome! Was thinking about looking int Oz for a small project soon. Then I will put that energy towards Saite instead :) Thanks for explaining!

from hanami.

jorinvo avatar jorinvo commented on May 18, 2024

Sounds great! Thanks!

from hanami.

didibus avatar didibus commented on May 18, 2024

As a counterpoint, I seem to always go back to Oz because of its simplicity in comparison, Hanami seems to be for power users, but I just want to plot some data easily and see the graph, for that I've found Oz easier.

from hanami.

jsa-aerial avatar jsa-aerial commented on May 18, 2024

For ease of use in stuff like EDA or just plotting some data easily, Saite (as delivered by aerosaite self installing uberjar) really is much easier and simpler. Especially if you are more emacs oriented as that is the default bindings. You don't need to set up a project or have figured out dependencies before you can just fire it up and hack with plots. Installation is just a couple minutes (including MKL) and there are OS scripts for running. Point browser at port and you can literally be plotting data in seconds.

As noted above Hanami is a library for develping visualization apps, it is not an app itself.

You may want to take a look at these:

Saite

Intro
Saite : A Clojure studio for data exploration and dashboards

Advanced
Advanced Topics in Saite for Dashboards and Data Exploration

Hanami

Kira McClean's Visualizing Data with Hanami

from hanami.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.