GithubHelp home page GithubHelp logo

pombredanne / tessell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephenh/tessell

0.0 0.0 0.0 3.63 MB

GWT model, presenter, view framework

Home Page: http://www.tessell.org

License: Other

tessell's Introduction

See tessell.org.

Todo

  • Add @Place annotation
    • Take name of presenter
    • Any constructor parameters--how to denote application-level vs. request-level?
  • Figure out cross-presenter transitions
    • Event bus doesn't make sense--these aren't global things
    • Have Slot listen to presenter events?
  • Support 2nd generation Presenter interfaces via event hook hints in ui.xml file
  • form disable on ServerCall
  • indicator on ServerCall
  • Pre-fill the handler (optional);
  • doLogin.call(user, pass);
  • HasDispatchAsync to ServerCall cstr
  • Out-of-the-box local storage integration (probably via changes to dtonator, use AutoBeans)
  • PropertyGroup copies are not deep

Notes

  • ResourcesGenerator assumes a global namespace of image/CSS files, even if you use subdirectories. It also assumes all image/CSS files are below the packageName you pass to it.

Binder DSL Ideas

  • SetActions

    binder.when(...).is(true).set(//
      textOf(...).toOrElse("", ""), // toOrElse returns SetAction
      styleOf(...).to(bz.active())); // to returns SetAction
    
    binder.on(keyPressOf(...)).then(execute(command));
    binder.on(clickOf(...)).then(toggle(button));
    binder.on(clickOf(...)).set(SetAction...);
    binder.on(blurOf(...)).set(SetAction...);
    
    // or, for more unique static imports
    binder.on(blurOf(...), thenSet(textOf(...).to(asdf)));
    
    // string actions
    binder.when(condition, action1, action2);
    // e.g.
    binder.when(value, is(true), show(this), hide(that));
    
  • Non-trivial omponents, e.g.

    <foo:Form>
      <fields>
        <foo:TextLine />
      </fields>
      <blah>
        <foo:Bar />
      </blah>
    </foo:Form>
    

    Goes to:

    form.addField(textLine1);
    form.setBlah(...);
    

    Any HTML implicitly becomes an HTMLPanel, e.g.:

    <foo:Form>
      <blah>
        <p>
          <foo:Bar />
        </p>
      </blah>
    </foo:Form>
    

    Goes to:

    form.setBlah(htmlPanel, List<Bar> bars);
    

tessell's People

Contributors

jcarver989 avatar

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.