In this edition…
- About This Newsletter
- On the Web => Improving Application Performance
- On the Web => Opera Dragonfly
- On the Blog => UTC and Time Zone Support in MySQL
- On the Blog => How I Cut My Bandwidth in Half
- What is Larry Thinking => Doing What I Do: Training
- Larry Ullman’s Book News => “PHP and MySQL for Dynamic Web Sites” (4th Edition) and More!
About This Newsletter
No overarching theme to this newsletter, just some things that have popped up over the past three weeks, plus a preview of my next few months with respect to the books I’ll be writing. This newsletter also continues my spontaneous series on pursuing careers in IT, specifically focusing on training and teaching.
As always, questions, comments, and all feedback are much appreciated. And thanks for your interest in what I have to say and do!
As a writer, I have an entirely different sense of these things, so I would greatly appreciate any feedback you may have on this particular issue. I know which way I’m leaning here, but want to make sure I’m not overlooking something important. Thanks!
On the Web => Improving Application Performance
From the titles, the articles are self-explanatory, but the emphasis is on performance. The interesting thing about the first article is that it discusses the theory of performance, which people don’t think about enough (e.g., what does it mean to perform well?). The article uses a specific example for which one could easily come up with three different senses of “performance” (the article uses Flex for the code).
The second article has lots of specific, excellent tips, many of which being applicable to any application you develop (although the example also uses Flex for the code, it’s mostly ActionScript that you’ll see).
Even if you’re not using Adobe AIR, I would think these articles would be worth reading, as the subject of application performance is one we could all always continue to learn more about.
On the Web => Opera Dragonfly
Admittedly, Opera is about the fourth browser on my list (after, in order, Safari, Chrome, and Firefox), but the release of Opera Dragonfly may just change that for me, at least when it comes to Web development. Historically I’ve always relied upon Firefox’s Firebug extension when I need a good development debugging tool, but the Firefox browser has become such a memory hog for me that I’ve stopped using it on a regular basis. Of course, it’s probably a memory hog exactly because I’ve installed so many extensions (Firebug and the Web Developer Extension and …)!
On a cursory glance, Dragonfly may have everything I need:
- DOM viewer
- HTML and CSS editor
- Resource inspector: what resources are loaded by the page
- Network traffic tool: a must for debugging Ajax, including the ability to craft your own requests to see the response
- And more
Unlike Firebug and other extensions, Dragonfly is built into Opera. Also unlike any comparable tool, Dragonfly can be used for remote debugging, including content destined for mobile devices or televisions!
I don’t know that Dragonfly alone will make me switch to Opera as my primary browser, but I have a strong feeling it will be my primary development browser for some time.
On the Blog => UTC and Time Zone Support in MySQL
In the third edition of my “PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide” book, and now in the fourth, too, I discuss using Coordinated Universal Time (strangely enough, abbreviated UTC) for storing dates and times in a MySQL database. I ran into a hiccup installing support for time zones in MySQL on my Mac, so I recently wrote a short blog post introducing the subject and detailing the installation particulars on both Windows and Mac OS X.
On the Blog => How I Cut My Bandwidth in Half
Every so often I take a look at the Web stats for my site, as I expect we all do from time to time. It can be addicting stuff. Looking over the numbers in May, I realized that I managed to cut my bandwidth in half (since January), without ever intending to. In this blog post, I write about the steps I took that achieved this result, even though that wasn’t a goal.
Daniel, who asks many good questions for use in these newsletters (thanks!), posed this:
If the data will be needed for a longer period, if the same data might be presented to multiple users, or if you must do complex manipulation of the data, I would recommend using PHP. You’ll most likely want to use the cURL library in PHP to do this, meaning your PHP version must support cURL and you’ll need to learn how to use it (although cURL isn’t that complicated and the PHP manual has good examples).
As with any time using an API (Application Programming Interface), I would strongly recommend you take the time to read the API’s usage terms to ensure compliance. For example, it may not be legal for your site to store data retrieved through an API, which would be another factor to consider.
What is Larry Thinking? => Doing What I Do: Training
In this newsletter I’m continuing what became a series on IT careers. I first wrote about becoming a better programmer, in two parts(1 and 2). Then I wrote about building a career and how I got here. In the previous newsletter, I wrote about some of the specifics of what I do, focussing on the writing side. In this post, I’ll discuss another facet of my daily job: training. Unlike in the last newsletter, I’ll be more general about money here, as there’s just too much variation.
In the previous article, I said that about 60-70% of my income comes from writing, with the other 30-40% from training/teaching and Web/application development. In terms of training and teaching, early on I taught an online course on PHP through the University of California at Berkeley. Much like writing, it’s the type of work that sounds more impressive than it pays! I eventually stopped doing it, as it was a lot of work for not that much money, with quite a bit of responsibility and hassle. If you’ve done any teaching at all, you know of what I speak. But should you want to pursue this route, the best way to get such jobs is to already be associated with a school in some capacity (i.e., have an “in”). There is an argument to be made with this avenue that you’ll have somewhat regular income, albeit small, and it’s the kind of thing that you can perhaps use as a selling point for getting other work.
Off and on for the past several years, I’ve done more training jobs, by which I mean corporate on-site training over one or more days. Training jobs can pay very well, but are hard to get. If you’re interested in going that route, you should probably hook up with an organization that manages training. For example, MySQL arranges training courses, so you could work with them (I don’t know how the arrangement has changed with Oracle’s purchase of MySQL, though). There are also companies that do all sorts of training, helping to market the courses, provide the facilities, and so forth. To work with one of these organizations (I’ve had discussions with them myself), it’s just a matter of proposing a class that appeals to them and extends their catalog. Much like trying to get a book or article published, it’s a matter of bringing a good idea to the right people. If you can get involved with training, and don’t mind traveling, you can make a very good living doing this. I personally consider it to be stressful, but I am deathly afraid of public speaking and put a lot of pressure on myself to have all the right answers going into such sessions. I still do training occasionally, though, as it gets me out of the house and pays some bills.
(As an aside, speaking at conferences is another kind of thing that sounds great but pays very poorly. In fact, at the entry level, speaking at conferences just earns you free admission to the conference. At the higher levels, perhaps your travel will be covered. But conferences are great networking opportunities and being a public speaker can, again, be a way to find other work, establish qualification to do certain work, and perhaps even allow you to charge more for other work.)
Whether you’re doing training or teaching (or speaking at conferences), do be mindful of who owns the copyright for the material you put together and whether the sessions can be recorded (and, if so, who owns those recordings). In these situations, a lot of your time and effort goes into the creation of the material, which isn’t how you will really make money. The true pay comes from actually teaching the course or providing the training. Make sure you’ll get your due for the work you put in.
I haven’t yet pursued this direction at all, but clearly the big push these days (or these past couple of years) is towards online video training. There are many companies, such as Lynda, that provide this service. To get these jobs, I expect, it’s a matter of convincing the right company that you’re the right person to create a training series on the right subject (like getting any other training job). I believe the economic model for these is a set sum to produce the video materials and then you’ll receive payments based upon usage (i.e., upon people watching them). Like with writing, you can help your cause in this area by producing your own low budget video training sessions to demonstrate your abilities. Post the videos you do on your own Web site and on YouTube, pay attention to the feedback you get, and build a career!
Larry Ullman’s Book News => “PHP and MySQL for Dynamic Web Sites” (4th Edition) and More!
May was a rough month for me, work-wise, which is to say I didn’t get nearly as much done as I would have liked. Now, I knew going into the month that that was going to be the case, but still… Anyway, I’m hoping June will be better. I am a couple of chapters away from completing the first draft of the fourth edition of my “PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide”, which puts it to be released at the end of the summer. I think the book is turning out well, with nice updates and added content.
In the Fall, I’m still hoping to self-publish a book on the Yii framework, although I may just do an e-publication of that. In 2012, I’m planning on (and the publisher has agreed to) doing the third edition of my “PHP 5 Advanced: Visual QuickPro Guide“.