Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fluid, like jQuery, does not encumber its users with yet another attempt at creating an object-oriented "class" system for inheritance in JavaScript. In this language, these These are all doomed to failure—if they were indeed ever a good idea in the first place. JavaScript is a language in which functions are King, and Fluid does not attempt to dethrone them. Instead, Infusion uses an excellent idea from Douglas Crockford, probably the foremost current authority on JavaScript. In his splendid book, JavaScript, The Good Parts, he puts forward an object assembly technique which we dub "that-ism", after its use of the name that by analogy with the hopelessly broken JavaScript language feature, this. that-ism is explained in some detail on our framework page How to Define a Unit, and also on the blog posting About this and that.

...