Skip to content

Navigation Menu

Sign in
Sign up

AppMode: formalize design for FieldFactory<T> #1087

nbauernfeind started this conversation in Ideas
Discussion options

I was discussing with Devin that applications should be able to resolve tickets that are functions. They could resolve standard types such as a Table, or to custom types like a model that is a composition of several standard types. My mind keeps wandering to the idea of a "LayoutWidget", or the like, which is a templated layout that an application can generate to describe an "application window".

In the first version of app mode, an application can export a custom field that is this factory method. Today, this is then accessible via a REPL, but not accessible via ticket resolution.

An improvement on this idea is not just to resolve these parameterized tickets, but also to describe them somehow to the UI. Potentially the ui could pop-up the template params (even possibly populating them with results of a selectDistinct! or some form of application-implemented auto-suggest trie), and fire off a request that looks more like a FlightDescriptor path (aka REST-like) than an opaque ticket.

Current app mode exports Field<T> objects; maybe these could be formalized as FieldFactory<T>

You must be logged in to vote

Replies: 3 comments 1 reply

Comment options

Can you further motivate this work?

You must be logged in to vote
0 replies
Comment options

Very Easily. I will prepare a demo when the rest of my mvp responsibilities are completed.

You must be logged in to vote
0 replies
Comment options

To summarize for @pete-petey , @cpwright , and other folks, this looks like a recipe for plumbing:

  1. Server-side custom actions
  2. Parametrized queries
You must be logged in to vote
1 reply
Comment options

@dsmmcken For you too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
Converted from issue

This discussion was converted from issue #1083 on August 19, 2021 16:52.

AltStyle によって変換されたページ (->オリジナル) /