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>.
>

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. It would then be the 
responsibility of the "Leo Web Client" to implement the display logic and 
UI event logic and communicate to Leo using the defined API. Leo would 
require no knowledge of the client implementation.

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. 
There is a good analogy about learning German if you live and work in 
Germany and about how much it would cost to hire a translator full time for 
an extend period. 

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. 

I will make sure to say I have very little experience with web technologies 
or implement a system as described and I know almost no Javascript. Maybe 
it's a naive notion or maybe I'm making it overly complicated. I think 
these thoughts put into perspective what a huge undertaking it would be to 
write a web front-end. I would be interested to get some feedback. 

-- 
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