Difference between revisions of "lure"

(Lure DOM Reference)
(Lure DOM Reference)
Line 102: Line 102:
 
|
 
|
 
|-
 
|-
| [[lure.dom.events|DOM Event]]
+
| [[lure.dom.events|DOM HTMLEvent]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.anchor|DOM Anchor]]
+
| [[lure.dom.anchor|DOM HTMLAnchor]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.body|DOM Body]]
+
| [[lure.dom.body|DOM HTMLBody]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.button|DOM Button]]
+
| [[lure.dom.button|DOM HTMLButton]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.div|DOM Div]]
+
| [[lure.dom.div|DOM HTMLDiv]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.form|DOM Form]]
+
| [[lure.dom.form|DOM HTMLForm]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.image|DOM Image]]
+
| [[lure.dom.image|DOM HTMLImage]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputbutton|DOM Input Button]]
+
| [[lure.dom.inputbutton|DOM HTMLInput Button]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputcheckbox|DOM Input Checkbox]]
+
| [[lure.dom.inputcheckbox|DOM HTMLInput Checkbox]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputhidden|DOM Input Hidden]]
+
| [[lure.dom.inputhidden|DOM HTMLInput Hidden]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputpassword|DOM Input Password]]
+
| [[lure.dom.inputpassword|DOM HTMLInput Password]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputradio|DOM Input Radio]]
+
| [[lure.dom.inputradio|DOM HTMLInput Radio]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputreset|DOM Input Reset]]
+
| [[lure.dom.inputreset|DOM HTMLInput Reset]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputsumbit|DOM Input Submit]]
+
| [[lure.dom.inputsumbit|DOM HTMLInput Submit]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.inputtext|DOM Input Text]]
+
| [[lure.dom.inputtext|DOM HTMLInput Text]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.link|DOM Link]]
+
| [[lure.dom.link|DOM HTMLLink]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.option|DOM Option]]
+
| [[lure.dom.option|DOM HTMLOption]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.select|DOM Select]]
+
| [[lure.dom.select|DOM HTMLSelect]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.style|DOM style]]
+
| [[lure.dom.style|DOM HTMLStyle]]
 
|style="padding-left:10px;"|The Style object represents an individual style statement.
 
|style="padding-left:10px;"|The Style object represents an individual style statement.
 
|style="padding-left:10px;"|Yes
 
|style="padding-left:10px;"|Yes
 
|-
 
|-
| [[lure.dom.table|DOM Table]]
+
| [[lure.dom.table|DOM HTMLTable]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.tdth|DOM td/th]]
+
| [[lure.dom.tdth|DOM HTMLtd/th]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.tr|DOM tr]]
+
| [[lure.dom.tr|DOM HTMLtr]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No
 
|-
 
|-
| [[lure.dom.textarea|DOM TextArea]]
+
| [[lure.dom.textarea|DOM HTMLTextArea]]
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|
 
|style="padding-left:10px;"|No
 
|style="padding-left:10px;"|No

Revision as of 05:33, 3 December 2011

Summary

LURE is an attempt to implement a hybrid xml/html DOM parser and renderer for the Love2d game engine. The goal of LURE is to provide the following:

  • A non-validating xml/html parser which generates a (somewhat) W3C Standards complaint DOM Object for use with love.
  • A html renderer which will display html markup in the love window.

Although we have a working prototype of the xml/html parser and DOM Object, we do not yet have a working renderer. Given the sheer size of the W3C DOM specification, this area will serve to document and track the current status of DOM Interface implementations.

Lure's purpose will NOT be to implement a web browser in Love2d, that is just ridiculous :D Instead, Lure's purpose will be to provide the core xml/html DOM interfaces allowing Lovers the ability to to work with xml/html data structures and to render basic html to the love window for simple UI.

Tutorials

Documentation

Lure Functions

Function Description Implemented
lure.load() Load function to handle loading xml/html data from various sources (ex: flatfile) Yes
lure.save() Saves a lure dom Object to flat file No
lure.update() Update function to handle dom updates & changes No
lure.draw() Draw function to render html to the lure window (if any html exists in the lure dom) No

Lure Objects

Object Description Implemented
Lure Window The Window object represents the Love window No
Lure History The history object contains past loaded xml/html documents No

Lure DOM Reference

Objects present in this table are DOM objects currently planned for implementation. Not all W3C DOM objects will be implemented.

Object Description Implemented
DOM Node The Node object represents a single node in the document tree Yes
DOM NodeList The NodeList object represents an ordered list of nodes Yes
DOM NamedNodeMap The NamedNodeMap object represents an unordered list of nodes. Yes
DOM document The Document object represents the entire XML/HTML document. Yes
DOM Element The Element object represents an element in an XML/HTML document Yes
DOM Attribute The Attr object represents an attribute of an Element object. Yes
DOM Text The Text object represents the textual content of an element or attribute. Yes
DOM CDATA The CDATASection object represents a CDATA section in a document. Yes
DOM Comment The Comment object represents the content of comment nodes in a document. Yes
DOM HTMLEvent No
DOM HTMLAnchor No
DOM HTMLBody No
DOM HTMLButton No
DOM HTMLDiv No
DOM HTMLForm No
DOM HTMLImage No
DOM HTMLInput Button No
DOM HTMLInput Checkbox No
DOM HTMLInput Hidden No
DOM HTMLInput Password No
DOM HTMLInput Radio No
DOM HTMLInput Reset No
DOM HTMLInput Submit No
DOM HTMLInput Text No
DOM HTMLLink No
DOM HTMLOption No
DOM HTMLSelect No
DOM HTMLStyle The Style object represents an individual style statement. Yes
DOM HTMLTable No
DOM HTMLtd/th No
DOM HTMLtr No
DOM HTMLTextArea No

MORE TO COME!