Archive for June, 2008
Static typing for warp-widgets
08Jun08
I have been thinking about this for awhile, currently warp-widgets templates are duck typed. I want to make them statically typed (as crazybob encouraged me to). There are two parts to this.
Part #1
I had intended the widget annotations to be java annotations, which can be used to configure user-widgets dynamically…in the template:
@My(name=”Jeff”)
<div>… </div>
…and in the class:
@EmbedAs(My.class)
public [...]
Filed under: 1 | 2 Comments
Tags: guice, java, type system, type theory