ExtJS befuddles me
I have only one more week left on my current contract. My final responsibility is to finish off this über cool web view of one of our documentation products, which will be integrated as an output stream from the newly-installed XDocs XML content management system. The best part about technical communication is that I get paid to write all day, and when I need a break, I can fix the CSS for an embedded help system or hack some JavaScript. My Technical Communication department manager gave me permission to showcase the web output with obfuscated text in my portfolio, so be on the lookout for samples in the near future.
For the last month I’ve been going nuts trying to hack the ExtJS javascript application framework, recommended by the Technical Adviser from the company’s Web Services department. I have no problem applying different plugins to my project. However, when I try to add custom behaviours to the objects, I get that little red Firebug that shows me the hand and says “not so fast, cowboy!”
I’ve read the scant Learning ExtJS wiki, and tried to translate the ExtJS API Documentation to build sample code, all to no avail. Piecing together fragments from the ExtJS User Support Forums has been equally frustrating. I’ve found the user forums extremely hostile to newbies. The common complaint is that they don’t believe that the ExtJS forum is meant to teach users JavaScript OOP. I think the user base grew from version 1. Now experts by version 2, they forget that others haven’t been along the journey with them.
Many of the users are so ExtJS entrenched that they assume the reader has committed every single post from both version 1 and version 2 to memory. One would have to, because the accepted response to many questions is only one line of code without context, and the reader is just supposed to “get it”. (Strangely enough, the original poster often does.)
Add the additional stress of my having to find a new job, and you have my current befuddled state.
An understanding of OOP is essential in understanding the way ExtJS extends common prototypes. Fortunately, in my last-ditch effort to plow through unexplored regions of the forum I stumbled upon a recommendation to purchase a really good JavaScript book, JavaScript: The Definitive Guide (5th Edition) by David Flanagan. Several users recommend this book to help users understand the object-oriented JavaScript programming concepts behind ExtJS, stuff I managed to miss by coding script as a writer rather than a software developer.
I only hope this recommendation didn’t come too late. It will take up to a week to receive this book if I order it by mail, but I know Chapters has it in stock. Wish me luck.
Article sponsored by Tony Chung Creative Communications. Consider subscribing to the tonychung.ca RSS feed, or supporting my espresso habit through PayPal.



