Coder Social home page Coder Social logo

Comments (6)

joeblew99 avatar joeblew99 commented on May 12, 2024 1

i know that running murlok in a web browser is being worked on over here:
https://github.com/gu-io/gu/tree/feature/apps

It is a bridge, just like @maxence-charriere suggested.

The docs do not directly talk about murlok, but me and the GU developer have specifically discussed this as a use case. The reason this makes sense is because GU allows running a web app where all rendering happens in the backend, which matches what murlok does.
GU also allows compiling using gopherjs so it runs in a browser too.

I have to warn you though thats its early days on this.
i just wanted to let you know.

from go-app.

maxence-charriere avatar maxence-charriere commented on May 12, 2024

I have no idea for gopher.js. Looks not impossible but I can't tell. I would need to try it to see its limits.

Another idea would be to have a driver that implement a bridge using javascript and a web socket.
The flaw with this approach is that a lot of thing is done on the server side (the go part) and this website would be pretty dependent to a good connection to be responsive.

from go-app.

influx6 avatar influx6 commented on May 12, 2024

Ya, unfortunately the gopherjs driver am building is very specific to the architecture I built for Gu. But modifying it to fit murlock *App instances should be possible with some mental logic changes by @maxence-charriere.

Gu currently works with gopherjs on the master branch. But the changes in features/apps should change that and allow more other means of rendering the application built other than gopherjs.

@joeblew99 Is building a means to have murlock work with the go bindings for QT, so that might be something to look forward to as well.

from go-app.

maxence-charriere avatar maxence-charriere commented on May 12, 2024

Hey guys, I'm pretty close to achieve this:
screen shot 2018-03-01 at 1 40 18 am

I have a problem though,
I need to call a function generated by gopherjs from javascript.
Did not find any documentation about it :(

@influx6 @joeblew99 , I saw you deal with gopherjs in gu, have you any hint about it?

from go-app.

maxence-charriere avatar maxence-charriere commented on May 12, 2024

Omg... I did it!

screen shot 2018-03-01 at 2 53 20 am

screen shot 2018-03-01 at 2 58 33 am

from go-app.

maxence-charriere avatar maxence-charriere commented on May 12, 2024

This is up.
See hello example and nav example to see how this works.

from go-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.