GithubHelp home page GithubHelp logo

Flexx lacks of a lot of features about flexx HOT 4 OPEN

NolanG241 avatar NolanG241 commented on August 11, 2024
Flexx lacks of a lot of features

from flexx.

Comments (4)

NolanG241 avatar NolanG241 commented on August 11, 2024 1

hi,

i setup a repo of my own for testing different python gui web frameworks.

https://github.com/NolanG241/python_gui

my_flexx.app contains a dragable window test.

in common.flexx there are some form-model binding tests.

greetings nolan

from flexx.

almarklein avatar almarklein commented on August 11, 2024

Thanks for the suggestions 👍

from flexx.

jrversteegh avatar jrversteegh commented on August 11, 2024

@NolanG241 Good suggestions.
With respect to "data binding": I've worked a lot with Delphi, which has very extensive data binding options and I found these options tempt you into bad practice. In particular, they'll lure you into mixing UI functionality with business logic thus preventing you from for example implementing a more robust pattern like MVC.
The same is true for validations: should preferably be done server side imho, because validations typically are part of your model's requirements which should not be implemented by the UI. Historically this was done a lot, because communication between web client and server was either expensive/slow or hard to implement, but this is often no longer true these days. flexx' event handling system is extremely good at doing server side validation i.e. validation outside the context of the widget itself.

from flexx.

NolanG241 avatar NolanG241 commented on August 11, 2024

okay,

i see the point. but then we need a validation procedure/handling on the python side to trigger events on which the form listens to display some errors.

while fiddling a litte bit more, i stumbled on the multi inheritance problem / missing feature.
it would be nice to somehow make mixins work, so it would be easier to add new functionality to existing flexx classes,
eg the possibility to hide or show widgets.

greetings
nolan

from flexx.

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.