What do you want to see in Pro JS, 2nd Edition?
Everytime I see something cool with JavaScript, it goes on my personal “things to investigate for Pro JS second edition” list. I tried to make the first edition cover everything I could think of, but clearly I couldn’t think of everything. My question to everyone out there is this: what do you want to see in the second edition of Professional JavaScript?
To facilitate this discussion, I’ve set up a topic in the Professional JavaScript forum. Please stop by and let me know what you’d like to see in the next edition of the book. Oh, and don’t put “more Ajax stuff”…that’s what Professional Ajax is for.
Disclaimer: Any viewpoints and opinions expressed in this article are those of Nicholas C. Zakas and do not, in any way, reflect those of my employer, my colleagues, Wrox Publishing, O'Reilly Publishing, or anyone else. I speak only for myself, not for them.
Both comments and pings are currently closed.




3 Comments
Perhaps you could dedicate a section that advises how to collect and organize code libraries in a clean manner. For example, I like it when you can have one JavaScript reference tag in the head of the markup document, and all other "includes" are included via that "referenced script".
Also, I like to eliminate the occurrence of inline JavaScript as much as possible. I don’t even like having onEvents in my markup. Where does one find modular code that doesn’t have global variables so that there are no conflicts. I like to create my javascript code in a way where it won’t conflict something else I create later. I haven’t read much on this topic, and I desire authoritative insight.
I’d appreciate any additional insight your "experience and research" could offer regarding the topic of managing JavaScript. Without the (spoiling) intellisense, how does one keep up with all the objects and functions they have at their immediate disposal? How can you manage this mess Nic? Perhaps this is a topic worth writing about in a book! Any topic that makes me more resourceful and organized is of interest to me. Any tools that will empower me (like firebug) are of high interest to me.
Lonnie Lee Best
Lonnie Best on March 15th, 2006 at 4:43 pm
Some good ideas are related more with the core of JavaScript.
A good example to be explained is why you loose scope in events. Ty to explain how does it occur and how can i be solved.
Another one is how to simulate namespaces (used, for example, in Prototype).
I just started highlighting ideas… if I think in other ones I’ll post here.
Guilherme Blanco on March 21st, 2006 at 8:10 pm
I was using your regular expression for validating e-mail addresses and I noticed that it doesn’t allow for slashes (which can be part of a valid e-mail address…). For example, your-address@server-here.com won’t validate.
Luckily, I have a dash in the e-mail address I use to test my javascript or I never would have found the problem… Just a heads up.
Kevin on March 28th, 2006 at 1:55 pm
Comments are automatically closed after 14 days.