Giter Club home page Giter Club logo

brawl-haus's People

Contributors

andrewzhurov avatar char16t avatar rende11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

brawl-haus's Issues

Own environment for sandbox components

We've got editor fields: hiccup, garden
And result fields: compiled hiccup, compiled garden, render

๐Ÿ‘ฟ Problem is: components inherit styles,
e.g. editors use class .collection, which also comes with materialize.css
e.g. render would inherit and we would not get pure Garden compile result to be our styles

๐Ÿ˜ˆ Desired behaviour: components get their own clean boxes

First education steps

For writing view people would need to know:
Simple and enough:

  • basic clojure (at least data structures: vector, keyword, map)
  • hiccup syntax
  • garden syntax
    Complex, for thick client logic:
  • reagent
  • re-frame

So for a start we'd go with pure Clojure material
Material would be in format: theory, tests, practice
๐Ÿค” integrate theory in practice - one editor field with eager evaluation, theory as comments
๐Ÿ˜ฎ we can integrate tests in a fashion:

;; Lisp is a family of languages, having one characteristic in common:
;; :homoiconicity - language constructs we write and underlying AST presentation being the same...
;; :logical - ...
;; :easily-scaled - ...
(answer-a :easily-scaled) => {:result false :description "It's not necessarily, many languages have this trait, though you would know on the spot they are no LISP :), e.g. Erlang. It's about something else..."

Demonstrate accretion of data approach

Place oriented approach, where we re-write the same cell of memory with new value
vs.
fact oriented approach, where all that happens are facts (data + point in time) and when something had changed - it's a new fact, it doesn't revoke the previous one.
E.g.
Fact1: Message added at time T1, with text X1
Fact2: Message edited at time T2, text now X2
Those two do not collide, they coexist.

So we could demonstrate this approach with 'message edit' feature:

  1. give ability for author to change content of message
  2. keep/log all those revisions of a message
  3. in UI show latest revision
  4. in UI give ability to inspect all revisions

E.g.
drawing 2

Local environment setup

Make local Clojure environment setup easy

Current approaches I see it can be done:

I think local setup prevails because of:

  • simple (less tools/abstractions)
  • comfort (speed, GUI environment)
  • already done, but need polish
    Cons:
  • no Windows support

Polish contributions and other UX suggestions are in need!
We could capture a vid on this topic also

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.