kovasb / session

repl into the clojurescript community
Eclipse Public License 1.0
459 stars 36 forks source link

Switch from datomic to datascript. #45

Closed ghost closed 9 years ago

ghost commented 9 years ago

I think we could gain a lot by moving as much as possible into the browser. Making the server part as lightweight as possible.

A server part would only be required for evaluating code and saving files. Note that this would also allow for evaluating code in different clojure implementations or running instances from within the same session.

Additionally people wouldn't be required to use datomic and the datomic gotcha could be avoided.

Thoughts?

fooledbyprimes commented 9 years ago

Could one use browser local storage to store snapshots of computation state?

ghost commented 9 years ago

Yeah I don't see why not.

cheers Jan

On 16 Dec 2014, at 19:08, fooledby primes notifications@github.com wrote:

Could one use browser local storage to store snapshots of computation state?

— Reply to this email directly or view it on GitHub.

kovasb commented 9 years ago

I am in favor of the idea. The datomic dependency is pretty heavy and thwarts some use cases. I would also like to see a port of datascript to the JVM.

In general Session should be simplified and decoupled as much as possible. I have some ideas on how to do this. Making persistence pluggable, and dropping the datomic dependency is one. I also have an idea to drastically simplify yantra by getting rid of tagged literals and just using multimethods to tie into Om lifecycle methods. Chestnut also provides an interesting workflow that might be emulated.

kovasb commented 9 years ago

No longer relevant for the new version.

GetContented commented 9 years ago

What is the new version? is it imminent? Is it a rewrite using om-next?