[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Self-hosted web-apps

Also relevant to this discussion: someone wants to rewrite git in
Javascript: http://www.kickstarter.com/projects/creationix/js-git

This would make the synchronisation part git-like. Another (better?)
way to write that would be to pipe a completed version of
https://github.com/samoht/cagit through js_of_ocaml.

So the plan would be:
- compile backend code to JS
- generate UI code to HTML+CSS (possibly "just a repl" or "terminal emulator")
- link in synchronisation code (js-git or cagit|js_of_ocaml)

On Sat, Mar 16, 2013 at 9:25 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
> On 15 Mar 2013, at 05:04, Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxx> 
> wrote:
>>> TL;DR: you can have `web-apps' that live as a self-modifying
>>> HTML+CSS+Javascript file. You just need to synchronize this file to
>>> distribute your application across devices.
>>> http://drwho.virtadpt.net/archive/2013/03/14/a-new-way-to-write-web-applications
>>> Wouldn't that be the kind of things a Javascript backend for mirage
>>> should produce? I.e. one file that can be opened by your browser.
>> Very interesting read, thx! Ihttp://remotestorage.io/ seems indeed quite 
>> interesting for mirage.
> I like it; it would be a nice target for the Irminsule backend too.
> So if we take the OCaml compiler-libs and link those in too, then we
> can just have full self-modifying Javascript that replicates via the
> storage synchronisation, right? :-)
> -a

RaphaÃl Proust



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.