I started following Chris Coyier over at CSS Tricks a few months ago. Shortly after I started following him, he posted a link to tips article about Sublime Text, a relative newcomer to the code editor market. Summary: Tried it. Loved it. For the longer story read on.
Time to spruce up the web site. Why now you ask? Well, nothing like unemployment to spur you to make yourself more presentable to the viewing public. I’ve had a full time job the last 22 months and, thanks to the vagaries of the current economic climate, I find myself suddenly in need of a different source of income.
It’s long overdue. As I’ve said elsewhere, things have been so crazy the last two years, I just haven’t had time to give a lot of attention to the site. Being unemployed has freed up a lot of time. So watch for a new look to go up in the next day or two. And if you know anyone looking for a web developer, feel free to send them my way. I’m looking for full-time work again, but I’ll consider all offers.
This article could more be more aptly named “@#$@#$@)* with Dojo.” This is a classic example, IMHO, of where Dojo documentation falls flat on its face. The doc page for drag and drop (aka dojo.dnd) is more of a method and property summary of all the objects that work together to make drag and drop work in Dojo. It doesn’t do a very good job of explaining just how all those objects work together, at least not in an easy to digest manner. There’s also a lot of information there that, frankly, just doesn’t matter to the developer just trying to get some simple drag and drop widgets on his or her web page.
Also missing are practical examples that exist elsewhere in the documentation. In fact, that is one thing that Dojo’s documentation does do well: lots of examples. For someone like me—who has an easier time learning by looking at code examples than wading through textual explanations—that’s a god send. There is one fairly detailed example of a shopping cart I found at sitepen.com. However, it has one major shortcoming: it completely ignores the backend that would drive any real world shopping cart. So, here’s several hours of googling and swearing boiled down to “The quick and dirty guide to using drag and drop with Dojo.”