Git Product home page Git Product logo

stui's People

Contributors

tedsinger avatar

Watchers

 avatar  avatar

stui's Issues

Testing on Commands

Every command generates some javascript as text. This should be easy to test by separating the JS generation from w.Dispatch(etc etc).
First, I'd like to have a test that parses the JS and confirms that it is valid. Then I can start fuzzing the inputs.

Subscriptions can get out of sync

In the case where an element used to match a selector, but doesn't anymore because something else moved, events on that element will still trigger any subscriptions on that selector. See listenAndApply in main.go

The intended behavior is for subscriptions to work like global CSS styles - automatically keeping up-to-date on every redraw

A typed and efficient serialization?

Dynamic languages can churn through deeply nested JSON in half of a line of code. But statically-typed languages have to endure a lot of boilerplate/reflection. I'd like to provide language-native header files for parsing and forming messages.

Protocol Buffers? Cap'n Proto? Flatbuffers? SOAP?

Message Scheme

Replace Elem message component spec with jsonml.org

Some inconsistencies to resolve:
Commands have long names, events have short names.
Commands are in TitleCase, while events are in lowercase.

Styles currently assume that all values are strings. Is this correct?

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.