Categories
JavaScript Writing

Future. Perfect.

I finished copy edits on my JavaScript Cookbook, which now enters the production process.

The first half of the book focuses on the basic components of JavaScript, while the latter half gets into the more complex material. I touch on the basic JavaScript objects, such as String and Number, but also spend a considerable amount of time covering new ECMAScript 5 and HTML5 scripting features: HTML5 drag and drop, postMessage, the Files API, worker threads, the wonderful new object methods, and so on.

I devoted one chapter to covering ARIA, Accessible Rich Internet Applications, as well as some other accessibility features. The more I work with ARIA, the more I view it as more of a rendering semantics than something purely for screen readers. For a data person like myself, ARIA is a very comfortable technology to use. I’ll have more on ARIA in later writings at MyTech.

Speaking of which, I’ve added ARIA landmarks to my web sites. Use View->Source to look for the role attribute, which is how ARIA landmarks are added. It was easy to update the Drupal templates to incorporate the new material. Unfortunately, the pages don’t validate, but I no longer care about validation. Frankly, the days of trying to code your pages to meet some validation criteria are over. Nowadays, pragmatism is the word in web development.

I am at work on my next book, but it’s not going to be for O’Reilly. Instead, I’m going to try my hand at self-publication, which is why I’m spending so much time working with ePub and other eBook formats. I’m also trying to strengthen my self-editing skills. After 18 books, I’ve become dependent on copy editors—my writing has become sloppy, and full of typos. Speaking of which, I strongly recommend, Paula LaRocque’s “The Book on Writing: The Ultimate Guide to Writing Well.” LaRocque’s book has proven invaluable as I root out my bad writing habits.

Categories
SVG Technology Writing

Snowing

I’ve not been the best at keeping up with my writing at my various sites. I have been writing, though.

I have a two-part article up at A List Apart: Using SVG for Flexible, Scalable, and Fun Backgrounds, Part 1 and Part 2. Though Microsoft still hasn’t implemented SVG in IE, with the company’s new membership in the SVG Working Group, there’s new hope for the future. And I cover how to use a JavaScript library, SVGWeb, to work around the lack.

I’m also finishing a new book for O’Reilly: the JavaScript Cookbook. It promises to be a big book, which isn’t surprising, considering how much JavaScript has advanced. I’m also incorporating the relevant bits from the HTML5 specification, though I have to be careful, as we don’t know which bits will remain, and which removed before Last Call.

Speaking of which, I’ve been spending an inordinate amount of time with the HTML WG. I have about a dozen Change Proposals coming up in March, which I’ll write about here, when finished. Among them is one to remove one of the more recent additions, the iframe srcdoc attribute. This example for this new attribute is the following, for weblog comments (the use case for the new attribute):

<article>
 <h1>I got my own magazine!</h1>
 <p>After much effort, I've finally found a publisher, and so now I
 have my own magazine! Isn't that awesome?! The first issue will come
 out in September, and we have articles about getting food, and about
 getting in boxes, it's going to be great!</p>
 <footer>
  <p>Written by <a href="/users/cap">cap</a>.
  <time pubdate>2009-08-21T23:32Z</time></p>
 </footer>
 <article>
  <footer> At <time pubdate>2009-08-21T23:35Z</time>, <a href="/users/ch">ch</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>did you get a cover picture yet?"></iframe>
 </article>
 <article>
  <footer> At <time pubdate>2009-08-21T23:44Z</time>, <a href="/users/cap">cap</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>Yeah, you can see it <a href=&quot;/gallery/cover/1&quot;>in my gallery</a>."></iframe>
 </article>
 <article>
  <footer> At <time pubdate>2009-08-21T23:58Z</time>, <a href="/users/ch">ch</a> writes: </footer>
  <iframe seamless sandbox="allow-same-origin" srcdoc="<p>hey that's earl's table.
<p>you should get earl&amp;amp;me on the next cover."></iframe>
 </article>

Just in case you’re curious, no, I’m not particularly fond of weblog comments as escaped HTML within an attribute on an iFrame.

I’ve also been playing with the new Drupal 7 alpha in my copious spare time. I won’t be moving my sites over to Drupal 7 until a stable release, but I do have a “play” site. I like the new release, though I wasn’t terribly fond of the admin overlay. However, the new admin overlay can be turned off. In addition, I re-posted all of the pages, and comments, from my older WordPress weblog. It takes up little room, and ensures I can find, and link, some of my older work. Plus, folks can find their comments. I was impressed with the fact that WordPress was able to upgrade my old site, without a hitch.

So much to write, so little time. Today, though, it’s snowing, and I haven’t had a walk outside since the weekend. Enjoy the articles at A List Apart, and more writing here, soon.

Categories
RDF W3C Writing

It’s a beautiful fall and I’m stuck inside

he fall has been nice, but I haven’t been able to take advantage of the decent weather and pretty scenery. I have a book deadline next week for my new book for O’Reilly, The JavaScript Cookbook.

I can’t do much anyway, because my car is doing very odd things, and I no longer trust it for longer out of town trips. I know there’s a short somewhere, but every time I take it in, it costs me $500.00. But I’m getting a relay click in the dash, the battery light comes up, briefly, every time I start the car (and it’s a new battery), and the speedometer went crazy on one trip. All of this combined is wiring, and wiring seems to be beyond car repair people.

I save the longer trips for the weekend when I can drag my roommate, and my roommate’s car, about. His car isn’t possessed.

I rejoined the HTML WG. Again. The group has come up with a change procedure/process that I can support. There was confusion before about whether HTML WG members could issue formal objections, since supposedly we’re part of the group making the original decisions. The new procedure, though, reserves us the right to submit a Formal Objection if all other avenues are blocked. I’m more comfortable being part of the group, now. I even have a first change proposal assignment, due after the book deadline.

Good news from the group: the HTML+RDFa document is now a published draft. However, the work on distributed extensibility is slow going. It’s difficult to split off the technical concerns from the knee jerk reactions.

You may, or may not, have noticed that I don’t post links to my main feed, or this site, for my Just Shelley site. That site is very personal, and a lot of people who read my stuff are more interested in my more impersonal writings, such as tech. Of course, I haven’t been writing at any of my sites lately. Too busy with the book.

I did get a Wave invite–thanks to whoever sent me it. And yes, I’ve given out all of the Wave invitations I have.

What do I think of Google Wave? I think it’s too much for me, though I did have a fun exchange with Marius Coomans, as he was sailing the ideal waters around Australia. We exchange emails and twitter messages, but there’s something different about seeing a message being typed out by someone who is on a boat, and watching them make corrections, as they’re watching you correct your own mistakes. And you’re on opposite sides of the planet, and different hemispheres. It’s not earth shattering, but it is a bit uncanny.

So what else is there to say about Wave. The user interface sucks, but that’s not unusual for a Google application. The performance is sluggish, but it’s alpha. And it performs better than Twitter. Other than that, though, I’m just not sure about the usability of the service. I know that others like the tool, such as Laura Scott who had a nice write-up.

Frankly, though, I’m really getting burned out on the whole social media thing so I may not be a good judge.

There was another instance where I wrote one thing, and it was interpreted as the opposite. I supported what Kurt Cagle wrote on HTML5, but based on a intense Twitter exchange I had with another person, Kurt interpreted my reaction to be opposite of what it is.

Twitter is useless as a tool for doing more than pointing out a link or talking about what you had for breakfast.

Categories
Books HTML5 Writing

Summer roads

I did continue with my effort on the HTML WG, but I no longer feel either comfortable or welcome in the email list, so not sure what I’ll be doing with HTML 5 from this point.

Chances are, I’ll just focus on preparing a couple of Formal Objections, which don’t require any email communication, other than posting a link. I hate pulling out, as I am concerned about the lack of diversity among those making the decisions about HTML5. I’m still concerned, because there is little diversity, and even less empathy, but I’m a chorus of one: it’s not fun to fight battles when no one is covering your back.

On to other things…

I have a new book contract with O’Reilly. I’ll have more on the subject and title at a later time. Both I and my editor, Simon St. Laurent, think it will be a kick ass book. It really has a great table of contents.

I’m still working on my own self-publishing book, but more slowly, to free up time for the O’Reilly book. I also have an article to write for a popular web design site, which I hope to get finished in a few weeks. All this on top of the work I’m still doing at this site, and my books site. Freeing up time is a silver lining for decreasing HTML5 involvement–though Formal Objections can take a considerable amount of time to create. Less time, though, then reading emails about how mean I am to the HTML 5 guys.

I am a bad, bad girl.

To US folks, Happy 4th of July. To everyone else, Happy 4th of July. Maybe some new photos over at MissouriGreen for you all later.

Categories
Writing

Whiteness

I don’t know if I’m the only one seeing a white page on the site, but since the upgrade to 6.11 in Drupal, I’ve had problems accessing all my sites. The problem could also be my hosting, and I’m currently exploring the possibility of moving. However, the problem has become much, much worse with the 6.11 upgrade. If you’ve had problems accessing the site, let me know.

I now have seven Drupal installations, though two are “stealth”. One I’m using to write my new book. I stripped away all styling and then designed a Drupal theme that supports ePub. I’ll be adding a second theme that supports Mobi/Amazon, and possibly a third that supports a PDF book. One of the advantages of being comfortable with XHTML is that you can take your mad XHTML markup skillz to the eBook world with only a little effort. Once I’ve published the book, and know the themes are working 100% I’ll upload them to the Drupal theme site, for people who want to use Drupal to write eBooks.

I will say that self-publishing is a different world now. There are so many resources. One wall I hit, though, was getting an ISBN. I could swear these were free at one time, but now, ISBNs in the US have been “contracted out” from the government to a privately owned monopoly.

You don’t need an ISBN for an eBook, though some sellers prefer ones. But if you’re going hard copy as well as eBook, which I am, you’ll have to have one. You can also “borrow” an ISBN from some distribution companies, but they don’t recommend this approach, because you’re then stuck with them as publisher. You can also buy a single ISBN, but it’s a lot cheaper just to buy a block of ten, and then if you need a new ISBN for another edition, or a new book, you have it.

It’s just that having to buy an ISBN wasn’t a cost I was expecting. Again, these are free throughout the world. Only in America do we contract what should be universally accessible to monopolies. How else to explain our cable systems?

Regardless of the unexpected expenses, there’s something very rich, and satisfying, about having some control in all aspects of my book. O’Reilly is a good publisher, and the company has been generous with me, but I’ve always felt out of the loop with my books. For instance, I didn’t know my books were going to be published to the Kindle until after the fact. I didn’t know they were all being released as DRM free ebooks on the Kindle until after the fact. I’m happy about the books being offered DRM free, but I sure would have appreciated a quick note before hand.

(Not to mention having some say in the cover, formatting, and subtitles…)

No, the success or failure of a self-published book is really dependent on the author. This is both scary, and wonderful.