Aaron said:
Try John Resig's book and site.
That "John Resig's book" would be "Pro JavaScript Techniques"? The book
that contains:-
"Since valid HTML is simply a subset of XML, having an efficient way to
parse and browser DOM documents is an absolutely essential for making
JavaScript development easier."
"Even if you're not completely familiar with XML, you will get great
satisfaction knowing that all HTML documents (which are, in the eyes of
the browser, XML documents) have a DOM representation that is ready to
use."
"Since the use of JavaScript in nonbrowser settings (e.g., server-side
JavaScript) is still rather experimental, the feature set of JavaScript
is still very browser-centric. Thus, the features available in
JavaScript are very closely tied to how browsers evolve and which
features they (or their users) deem as the most important."
"Additionally, an object can contain a set of properties, all of which
are simply references to other objects (such as strings, numbers,
arrays, etc.)."
"When performing string concatenation the result is always a new string
object rather than a modified version of the original string."
"The this variable will always refer to the object that the code is
currently inside of."
"In JavaScript, null, 0, '', false, and undefined are all equal (==) to
each other, since they all evaluate to false. This means that if you use
the code test == false, it will evaluate true if test is also undefined
or equal to null, which may not be what you want."
"Listing 3-12. Examples of How != and == Differ from !== and ===
// Both of these are true
null == false
0 == undefined"
"Compression should be used as the final step, just before putting your
code into production, as your code will frequently become obfuscated
beyond recognition."
"This particular naming convention arose due to the fact that words such
as class, for, float, and text are all reserved words in JavaScript."
- and many other examples of technical fallacies, misconceptions and bad
practices.
Peter's point is, in effect, that if you don't know enough about
javascript and browser scripting to recognise a bad book when you see
one then maybe you should be a bit circumspect about rushing into
designing a library and dumping it on a community who have less
understanding of what they are doing than you do.
Basically I have been programming in Javascript on and off for
over three years now. And I want my own framework and UI
library that works hopefully on any Javascript 1.6 / ECMA3
compilant browser, hence the questions.
Well, it will make a change for IceBrowser, Konqueror and NetFront to
get a look-in.
Richard.