Components ... a web interface modeling framework

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • adambones

    Components ... a web interface modeling framework

    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

    Adam
  • David Mark

    #2
    Re: Components ... a web interface modeling framework

    On 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.

    Comment

    • adambones

      #3
      Re: Components ... a web interface modeling framework

      On Aug 7, 12:19 am, David Mark <dmark.cins...@ gmail.comwrote:
      On 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.
      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

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Components ... a web interface modeling framework

        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, <f806at$ail$1$8 300dec7@news.de mon.co.uk>

        Comment

        Working...