kizu / ideas

Repo for some not-so-secret ideas for different things, more like todo-someday-in-the-future I guess
1 stars 0 forks source link

Decompose ui from semantics #75

Open kizu opened 10 years ago

kizu commented 10 years ago

There should be at least two levels in almost everything: application semantics and ui elements.

How should the classes correspond? What is the best way to describe all those things?

A telephone field consists of two elements: it is a telephone field and it is an input.

How it should be described? Where should the ui description go? Should they mix on the class level, or preprocessed into arrays of simpleSelectors?