Skip to content


“Modern JavaScript: Develop and Design” Exists!

I am very, very happy to say that I received my printed copies of Modern JavaScript: Develop and Design on Monday evening (February 20, 2012). It’s safe to say that the book actually exists, after many, many delays, and should be available to you soon. My sincerest thanks to everyone for their interest in the book and for their patience.

The official Web site for the book is http://www.larryullman.com/books/modern-javascript-develop-and-design/. You can view the book’s Table of Contents there, too. And I’ve created a support forum for the book, naturally.

Over the next couple of weeks, some articles and videos I did in support of the book will be made available, and I’ll link those hear as that happens.

Posted in JavaScript, Web Development.

Tagged with , .


What is Larry Thinking? #51 => Books!

In this edition…

Continued…

Posted in JavaScript, PHP, Web Development.

Tagged with , , , .


Blank HTML5 Reset Templates

As I have little to no design skill, I don’t often attempt to create my own HTML design. It’s really for the best. (When I do sites for clients, I’m normally using HTML and CSS created by an actual designer.) But when I go to write a book, I have to come up with a design to use for many of the examples. In such cases, I try to find something as simple and clean as possible, while still being a bit stylish. HTML5 goes a long way towards this end, as do the many CSS reset tools that have been around for years. Well, HTML5, CSS resets, and more have been beautifully combined in a couple of different blank HTML5 reset templates.

One is the HTML5 Boilerplate, which just came out in version 3. This is a fully-loaded template that includes key JavaScript libraries (Modernizr, jQuery, and Google Analytics), caching recommendations, server configuration, and more. You can download the template in a well-documented format, a bare-bones file, or a custom creation based upon your desired needs.

Very similar is the HTML5 Reset. It also includes Modernizr, jQuery, and Google Analytics, along with a CSS reset, but doesn’t get into the server-side configuration, caching, and such. It’s also available in a corresponding blank WordPress theme, which I’m likely to use as the basis of my next site redesign.

Even if you don’t need to use an HTML5 reset template yourself, you can learn a lot about creating a well-constructed HTML template from  these. A lot of very smart people put quite a bit of thought into the ideas and functionality expressed in the templates. In sum, both represent the current best of the best practices, considering CSS3, jQuery, HTML5, meta tags, SEO, etc., etc.

Posted in Web Development.

Tagged with , .


Technical Blogging, and a New, Formal Blog Posting Schedule

I’ve been reading the book Technical Blogging, by Antonio Cangiano, over the past couple of months and am glad that I am. I’m reading it in the hopes of improving the quality of (and, potentially, income from) this blog, and I think it will pan out. Continued…

Posted in Uncategorized.

Tagged with , .


JavaScript Best Practices

I recently came across two good resources that discuss some best practices when it comes to JavaScript. The first is an article at Developer Drive, titled Top 10 “Must Follow” JavaScript Best Practices, written by Salman Siddiqui (it’s a good enough article that I’ll ignore the dubious use of quotation marks). It’s a pretty good list, with a range of beginner to advanced topics. I would disagree with one, however: “Better to avoid DOM.” While DOM manipulation is expensive, it’s often required, so I think it’s better to acknowledge that this is a necessary evil we’re stuck with and hope that browsers continue to make improvements in this area. I liken it to the common economic theory that getting a loan to buy a car makes poor monetary sense (because it’s a loan on something that depreciates). The fact is most people need a car to work and make money, so a car loan is often necessary. But I digresss…

The second resource is a presentation titled JavaScript “Best Practices” (again, the quotation marks), by Christian Heilmann. Heilmann presents about 20 specific suggestions and then explains them all in detail. The presentation itself lacks pretty much any style whatsoever, but content is more important, no? There’s lots of code in the presentation precisely demonstrating both good and bad behaviors, along with explanations as to why something is problematic.

I’m in the process of writing my own article, titled “The 10 Best JavaScript Development and Design Habits”, to be published at Peachpit.com. I’ll post a link to that when it goes online.

Posted in JavaScript.

Tagged with .