Phillip recently asked me for a simple barcode scanner example in Cordova, so I thought it would be a good opportunity to fire up another GitHub repo just for sample apps. I've got a couple of repos for presentations with PhoneGap/Cordova examples, but nothing dedicated. I created a new one, Cordova Examples, just for that purpose.
One last blog entry before I enter Mardi Gras oblivion. Earlier this week I had logged into the ColdFusion bugbase and noticed that I had over 500 bugs in the system. I thought this was kinda cool and I was wondering if I could see aggregate data about my bug reports.
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.
A few weeks ago I blogged about the Marvel API and how incredibly cool it was that Marvel would let developers play with their data. I built a demo (marvel.raymondcamden.com) with it but I was really curious to see what smarter folks would do. My friend Simon Mac Donald built something really cool.
Many months ago I blogged about a great new feature in ColdFusion 10. It allowed you to take form fields with the same name and return them as an array. Why was this important? Consider the following example.
I haven't written much about WebSQL lately, mainly because it is Dead Spec Walking. However, it still works in Cordova (for now), and I get questions from time to time. This one in particular was kind of interesting. Plus, the guy asking me for help with this was super nice even though I kept delaying my answer over a few weeks. :)
Over the past month and a half I've devoured the Merchant Princes series by Charles Stross. Originally released as 6 books, they are also available as 3 books (which is what the author originally wanted) and which I've linked to below. I've read Stross before and wasn't terribly happy, but I devoured this series. On multiple occasions I had to force myself to slow down as I was so excited to see what happened next my eyes just kept racing ahead.
Broadly, the series is Sliders meets Game of Thrones meets Tom Clancy. The books revolved around a woman who discovers she is descended from royalty - but royalty in an alternate universe where history is somewhat different than our own. I'm a sucker for Alt-History books in general, but this series brings in Alt-History with a dose of military/spy action and political/economic discussions too. I was worried the series would fall apart towards the end but it never let up.