On Wed, Sep 6, 2017 at 3:20 PM, john lunzer <[email protected]> wrote:

> On Friday, August 25, 2017 at 10:19:53 AM UTC-4, Edward K. Ream wrote:
>
>> I would like to learn more about web technologies.  I'll start by
>> replicating the appearance of Joe Orr's Leo Viewer page
>> <https://bl.ocks.org/kaleguy/cef095e16e147bc04dd6c5812d732fb2>.
>>
>
​To clarify, I simply meant that I would investigate getting a local copy
of the page to look like Joe Orr's page. It doesn't happen automatically.
Not sure why.
​

> Been thinking about this and a future web UI for Leo. With the dynamic and
> constantly changing nature of the web and web technologies it seems like
> the best investment would be to implement a web GUI front-end which is
> actually an abstraction layer to a messaging protocol which defines a
> generic (but based on Leo's needs) GUI API.
>

​Possible, I suppose, following the pattern used by Leo's core to implement
the body pane.  I'm not sure whether there is a read payoff, though.  I
would be inclined to do what JupyterLab does.
​

> I sort of got the idea from this article about the cost of
> X-to-Javascript transpilers <https://mmikowski.github.io/the_kraken/>.
> The long term view is that if your goal is putting your application into a
> browser you're better off learning and working in Javascript on the
> client/browser side.
>

​This is a (mostly) separate issue. However, I think Jupyter/JupyterLab
code in javascript, so again, if we follow their lead we would too.​


> But that doesn't mean we all need to switch to Javascript, just that the
> best tool for the job if you're interacting with an application inside a
> browser is Javascript. I think you can (and should) write your application
> logic on whatever platform you see fit and implement server/client
> communication.
>

​Right.  Leo must continue to have full support for python. And that
requires some web-based support for python, which is another can of worms.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to