Giter Site home page Giter Site logo

bui-backend's People

Contributors

astraw avatar dependabot-preview[bot] avatar dependabot[bot] avatar erichdongubler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bui-backend's Issues

Some questions before I decide if I port my frontend to bui

This project looks very interesting, but before I switch my existing frontend over to bui I have some questions:

  1. Why does it use server-sent events instead of websockets? When will it be possible to use websockets instead?
  2. How flexible is it, does it impose any restrictions on what the frontend can do? Or can it be a full featured web app that uses webgl, canvas, svg, localstorage etc.?
  3. When to use bui instead of just writing a frontend in yew and backend with (rocket|rouille|hyper) + ws-rs (and then injecting the ws port into the page before serving, if the port is dynamic) or actix (to serve websockets on the same port)?
  4. Will it ever support something like browser-sync, to reload all clients when the source changes (maybe using the notify crate like cargo-watch)?

My current project uses a frontend written in polymer, I'm using browser-sync to auto-reload the app when the files change on disk, but I want to rewrite the frontend in Rust with yew (for wasm) so that I can re-use code and types from my backend and get static type safety.
My server side uses ws-rs and I want to keep using websockets because somewhere I've read that they have lower latency than server-sent events, is that true?
Btw, this project is a DJing/VJing application and needs the lowest possible latency.

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.