karad / lein_template_descjop

A Leiningen template(Clojure/ClojureScript Project) for Web based desktop application with Electron (atom-shell).

Home Page:http://descjop.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doc and details?

laurentsenta opened this issue · comments

Hi there, thanks for sharing this template,
I was able to create a re-frame helloworld / pomodoro app in a couple of hours without knowing much about electron, so thanks!

Could you provide details about the project structure?
As far as I understand there's a piece of node code src/project/core.cljs
and a piece of html + js code app/.../index.html + src_front/....

When the electron framework starts, the node server will run the nodejs code. The nodejs code will create the windows that display & run the html pages.
What about creating new windows? How do you communicate between the client and the server?