A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on IRC (such as one of these permanent autoconfirmed members) or send an e-mail to admin@wiki.whatwg.org with your desired username and an explanation of the first edit you'd like to make. (Do not use this e-mail address for any other inquiries, as they will be ignored or politely declined.)

Component Model Declarative Syntax

From WHATWG Wiki
Jump to: navigation, search

Declarative Syntax provides the way to define new components using HTML markup.

Requirements, Desirable properties

  • It should be embeddable into HTML.
  • It should be separately definable and loadable.
  • It should have equivalent representation in imperative (JavaScript) form and vice versa.
  • It should allow compilation to single file. (asset pipelining)
  • It should fallback gracefully.
  • Script text can be unobtrusive. We should have a way to write script separately from markup.
  • Each component definition can be self-contained.