Very happy to announce the first publication of an article of mine on the Mozilla Hacks blog. This article is a bit of a departure for me. Less techy and more touchy-feely. Broadly, the article is a look at how HTML (well, web standards in general) are branching out of the browser. Probably some (or most) of this is known to my readers, but I felt like a look at this phenomenon was worthwhile. I hope you enjoy it as well.
HTML out of the Browser
It has been a while, but next week (Wednesday, April 23rd) at 12PM CST, Holly Schinsky and I will be hosting an open Q and A session for PhoneGap and Cordova. We've run these before and they are pretty successful. There will not be any presentation, but we will take your questions and answer them to the best of our ability. These sessions tend to bring up great discussions and are a good chance to see what other people are struggling with as well. We won't make a recording, but we will share the text of the questions and answers after the session is complete.
We will use Connect for this and the URL will be: https://my.adobeconnect.com/r5ld5x2k7na/.
A reader posed an interesting question on one of my ColdFusion posts recently. The post (Creating an Excel File) demonstrated how to take form data on the front end and create an Excel file via ColdFusion when the form is submitted. The user wanted to know if this could be done entirely client-side.
Earlier this week I got to look at some code using CasperJS. CasperJS is a testing utility for PhantomJS, a headless (i.e. virtual) Webkit browser. This is probably unfair, but I like to think of Casper as a super powered Curl. Hopefully you know Curl as a command line tool that lets you perform network requests and work with the result. Unlike Curl, CasperJS (and PhantomJS) can actually interact with the results like a real browser. This allows for some cool testing/utilities. I've only begun to scratch the surface of the tool, but I thought I'd share an interesting little issue my coworker and I ran into with it.
Currently it isn't possible to use nested layouts in HarpJS. But with a little work you can support it easily enough. Here is a solution (with an alternative) that you can use until (if) HarpJS supports it natively in the future.
Before I start - a quick apology. I know that this particular topic has been covered before, but I'm having a heck of a time finding the article. I wanted to build a quick example for a friend anyway so I thought I'd share. In this example, I've got a HarpJS site with a list of articles. For fun I also added a main image for each article. Here is the data source.
Here are two simple recipes for a Harp.js blog. Both are built using EJS but could be ported to Jade pretty easily. As I hate Jade I will not be the person doing it. ;) First, let's look at the sample data - a set of blog entries defined in _data.json.
Next week I'll be giving a presentation on HarpJS (and the Harp platform). For folks who just so happen to be in Louisiana, the first presentation will be Tuesday night at the Acadiana Adobe User Group (details here: Meeting).
Of course, I assume most of my readership is not in the beautiful state of Louisiana, so for the rest of y'all, I'm going to make true on my promise to give Google Hangouts a try. I'll be hosting my first Hangout as a presentation so expect some bumps, but I think it will go ok. I've included a link to the details below. It will be held next Friday, February 21, at 12PM CST.
Edited Feb 14: Just an FYI, I modified the event link. If you signed up at the other one, please try this new link.
For a while now, myself (and many others) in the ColdFusion community have been urging, begging, hell, pleading with developers to stop using UI tags in ColdFusion. Things like cfgrid, cfpod, etc, are easy to use, but in general lead to far more trouble than they are worth. I said this back in October of last year: