By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,829 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

Components ... a web interface modeling framework

P: n/a
Hi there

Components is a new hight-level JavaScript framework -

http://code.google.com/p/components-js/

It's about object-modeling your interface around markup structure.
Check it out, I hope you find it useful

Adam
Aug 6 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Aug 6, 6:35*pm, adambones <adambo...@gmail.comwrote:
Hi there

Components is a new hight-level JavaScript framework -

http://code.google.com/p/components-js/

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.
Aug 6 '08 #2

P: n/a
On Aug 7, 12:19*am, David Mark <dmark.cins...@gmail.comwrote:
On Aug 6, 6:35*pm, adambones <adambo...@gmail.comwrote:
Hi there
Components is a new hight-level JavaScript framework -
http://code.google.com/p/components-js/
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.
Hi there David

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
Aug 7 '08 #3

P: n/a
adambones wrote:
Yeah there is an extension to the document that binds a JS class wrapper
There is no such thing as the programming languages in question do not
support classes.
to an HTML class/id.
There is no such thing as a `HTML class' either. While `class' is a HTML 4+
attribute, its value refers to CSS classes.
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?
A top-level function is a method of the Global Object, and it would not be
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, <f8*******************@news.demon.co.uk>
Aug 7 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.