Components ... a web interface modeling framework
Collapse
This topic is closed.
X
X
-
adambonesTags: None -
David Mark
Re: Components ... a web interface modeling framework
On Aug 6, 6:35 pm, adambones <adambo...@gmai l.comwrote:Strange. I don't recall a "bind" method on the document object.Hi there
>
Components is a new hight-level JavaScript framework -
>
>
It's about object-modeling your interface around markup structure.
Check it out, I hope you find it useful
Perhaps your library added an expando? It would have been a good idea
to read the newsgroup and its FAQ before creating a JavaScript-based
framework.
-
adambones
Re: Components ... a web interface modeling framework
On Aug 7, 12:19 am, David Mark <dmark.cins...@ gmail.comwrote:Hi there DavidOn Aug 6, 6:35 pm, adambones <adambo...@gmai l.comwrote:
>>Hi there>>Components is a new hight-level JavaScript framework ->It's about object-modeling your interface around markup structure.
Check it out, I hope you find it useful
Strange. I don't recall a "bind" method on the document object.
Perhaps your library added an expando? It would have been a good idea
to read the newsgroup and its FAQ before creating a JavaScript-based
framework.
I should read the FAQ before writing a framework? Mmmmm...
Yeah there is an extension to the document that binds a JS class
wrapper to an HTML class/id. I personally don't understand the problem
with this - how is it different to defining a 'top-level' function
which will be assigned to the window?
Adam
Comment
-
Thomas 'PointedEars' Lahn
Re: Components ... a web interface modeling framework
adambones wrote:There is no such thing as the programming languages in question do notYeah there is an extension to the document that binds a JS class wrapper
support classes.
There is no such thing as a `HTML class' either. While `class' is a HTML 4+to an HTML class/id.
attribute, its value refers to CSS classes.
A top-level function is a method of the Global Object, and it would not beI personally don't understand the problem with this - how is it different
to defining a 'top-level' function which will be assigned to the window?
assigned to it but the Global Object would be automagically augmented with
it upon variable instantiation of the global execution context. The Global
Object MAY have a `window' property that refers to the Global Object itself,
there is no requirement for it at all.
`document' refers to a host object which does not need to allow for
augmentation, as specified. `window' may refer to such an object as well.
We have discussed this ad nauseam here before, hence the good recommendation
to read the FAQ.
HTH
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8 300dec7@news.de mon.co.uk>
Comment
Comment