Comments (6)
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.
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.
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.
Hey guys, I'm pretty close to achieve this:
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.
Omg... I did it!
from go-app.
This is up.
See hello example and nav example to see how this works.
from go-app.
Related Issues (20)
- user session, log in / log out HOT 6
- Share data hierarchy in Go like event bubble in js HOT 2
- Htmx HOT 1
- How to use marwan-at-work/wasm-fetch module? HOT 2
- SVG HOT 1
- Already Mounted.
- Event listeners disappear HOT 15
- Casting to a specific type or exposing an interface with HTML element functions HOT 12
- Latest onDragStart,onDragLeave example HOT 1
- support hash based routing HOT 2
- `go-app documentation` loading indicator shows percentage greater than 100 HOT 1
- Can't make scrollbar follow new content added to overflow bottom. HOT 7
- Ssr to make the google gods happy HOT 2
- FuncOf return value HOT 2
- debugging terminal errors HOT 6
- problem with page render HOT 3
- [Question] What's the best way to handle form submission data? HOT 29
- Some content double rendering in the browser HOT 12
- How to force ctx.Navigate() to open target in a new Tab HOT 1
- I think there is serious bug with `ctx.PreventUpdate()` now HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-app.