Categories
Just Shelley

Breaka de web

I finally uploaded chapter 7 for the reviewers, and was it a difficult chapter to do. The topic has to do with breaking the web with Ajax, putting it back together again, and what are known as ‘single-page’ applications.

After thinking on it for days, and looking at some extraordinarily torturous ways of patching together kludgey fixes, I finally realized that either you create pages that do well when scripting is disabled, and then add the bits; or you just accept that the application breaks the web and accept the consequences. Personally, I believe that 99.999% of Ajax applications have no justification for completely breaking the web. But, I’m a stick in the mud.

Tired stick in the mud. All I have left is the remaining portions of the last few chapters and then I’ll be done with the draft. I have a wonderful group of reviewers who will then help me see the many errors of my ways, and I’m looking forward to their efforts. When we’re finished, I’ll list out the folks who are helping, who will also get effusive thanks in the book.

Once the editing is done, my god I’ll be able to turn off my computers. Get out of my chair. I want to hit the trails for three months solid.

Categories
Connecting

Rumblin’ in the Neighborhood

Melinda at Sour Duck has pointers to two interesting and oddly related stories. The first is The Dark Side of Community:

The core problem is how to handle conflict in a medium that enables rapid escalation of conflict. I’m not clear on what constitutes a full-blown “blog war”, but I think the phrase isn’t necessarily helpful when characterizing disagreements between bloggers. It’s inflammatory, for one thing; for another thing, it gets me into a mind-set where any disagreement is viewed as negative, wrong, and problematic.

The problem isn’t disagreeing. The problem is when disagreement isn’t tolerated.

The other story is the big one in weblogging right now, and rightfully so. The Edwards campaign hired two strongly opinionated feminists for campaign jobs. The conservative elements fell on the two like dogs over juicy bones; joining in a festival of righteous indignation, which I don’t think they realize will eventually come down on their own heads. Rumor has it that Edwards is going to fire them (or not).

As Glenn Greenwald wrote:

As James Joyner points out: “Bloggers have a ‘paper’ trail. The longer someone has been blogging, the more of their sometimes-developed thoughts are out there for public consumption. Not only have they likely written things uncomplimentary to their now-boss, but they have almost certainly written things that could embarrass him.”

One does not need to agree with the Marcotte or McEwan’s comments in order to realize the absurdity here, but if this is going to be the standard that is applied, I don’t think there are many bloggers, if there are any, who will be able to be affiliated with political campaigns in the future. Whatever is the case, the standards should be applied equally, not driven by the hysterical lynch-mob behavior that is the fuel of the right-wing blogosphere.

One of the leaders of this little movement is Michelle Malkin, doing what she does so well: climbing the stairs to success by stepping on the backs of those around her. You might remember her from when she wrote a book justifying the wholesale internment of Japanese during World War II. She’s also been one of the leaders of the effort to fence the borders between us and Mexico: got to keep them sneaky Mexicans out. Oh, darn, that was a mistake: got to keep them sneaky Muslims out, because they’ll come across the border with those sneaky Mexicans.

None of us can survive scrutiny in this environment–not unless we play it safe, and what’s the fun of that?

Categories
JavaScript

I don’t write JavaScript like it’s Ruby

I just uploaded the largest chapter, 9, and had hoped to get 10 loaded tonight, but my mind isn’t working well. Aha, I though, write in the weblog instead.

This has been such a difficult book in more ways than one. The examples were huge and now, during editing, I have to find some way to cut them down to size; or at least trim that which shows in the book.

There are so many factors complicating the examples and the writing: cross-browser differences, quirks, IE, memory leaks, XHTML doctypes, IE, markup, CSS, JavaScript, etc etc IE etc. Then there are the issues of graceful degradation so that an application works with scripting turned off, making the code unobtrusive, and most importantly, making it accessible. Testing with JAWs, with Windows Eyes, not even sure how to use the applications.

The examples must also be exciting, fresh, innovative, and fun. Sparkly, hip, fashionable. Attractive, clean, impressive. Efficient and secure. Optimized and compartmentalized. Leave Web 2.0 in the dust of my passing.

I had a wonderful time with Chapter 8 and advanced CSS and SVG and Canvas–what a kick. I really like my database examples, and I think I’ve made some good, solid points throughout the book. I’ve touched on all the major components, demonstrated the major libraries, but provided most of the code. There’s booze in it, but no sex.

My biggest concern? I don’t write JavaScript like it’s Ruby.