Dustin Getz
see r/clojure discussion here
This is a collection of twitter-length video demos filmed in Q2, demonstrating Photon. By abstracting over the client/server boundary with a language and building network into the language runtime, Photon lets you build full-stack web UIs where the view can query the backend directly, in the straightforward/easy style of PHP.
This function App
is a “full stack” function that crosses network to do both frontend things and backend things in the same function:
20220623 button counter with transfer.mp4
p/defn
defines a function that follows all the same laws as regular Clojure functions, but it’s actually a macro that compiles the function body into a DAG (Directed Acyclic Graph).~@
marks streaming client/server transfer points in the DAG. It’s currently a relative toggle. (This syntax was an error – we are replacing it with something much better soon!)