Giter Site home page Giter Site logo

CEF Support. about reflex-dom HOT 5 CLOSED

reflex-frp avatar reflex-frp commented on July 26, 2024
CEF Support.

from reflex-dom.

Comments (5)

ryantrinkle avatar ryantrinkle commented on July 26, 2024

I think this would be a pretty straightforward project. It looks like CEF provides very similar capabilities to webkitgtk, so it would basically be a matter of making sure all the names and types line up. ghcjs-dom is already spanning both ghcjs and webkitgtk, so adding another similar backend would probably not be too hard.

from reflex-dom.

ali-abrar avatar ali-abrar commented on July 26, 2024

@BethAr is this something you're working towards? Do you need any help with this?

from reflex-dom.

BethAr avatar BethAr commented on July 26, 2024

@ali-abrar I didn't had the time to look into it at all.

My problem with webkitGTK at the time was that I had to do a prototype for Windows, and there are no binaries for it available, so I used a bespoke Qt browser and served the GHCJS output directly.

The bindings above also don't work for Windows according to the author, but I didn't check. In theory, CEF should be a better platform overall - at least the binaries are readily available: https://cefbuilds.com/

from reflex-dom.

ryantrinkle avatar ryantrinkle commented on July 26, 2024

Hi @BethAr,

The refactor branch of reflex-dom has now split the functionality of MonadWidget into several more self-contained classes. Supporting another DOM-style library should now simply be a matter of creating a new instance of Reflex.Dom.Builder.DomBuilder, and supporting non-DOM frameworks should also be considerably easier than before.

from reflex-dom.

ryantrinkle avatar ryantrinkle commented on July 26, 2024

I'm going to close this issue, but please feel free to reach out to me if you'd like to discuss this more.

from reflex-dom.

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.