MAR 11 2010

Secure storage in JavaScript, a proof of concept

at: 12:11 PM | Filed under: JavaScript

A week or so ago, a fellow JavaScript developer threw down a challenge.

Suppose you wanted to extend the JavaScript Object such that getting and setting data in the object is only possible when providing a predetermined access key. The key is first used to instantiate the SecureObject and subsequently used when storing and retrieving data from the SecureObject. Provide the implementation for a JavaScript function that satisfies the use case.

NOV 5 2009

Capture BitmapData with JavaScript AIR applications

at: 8:38 PM | Filed under: AIR, JavaScript, jQuery

comments (4) Views: 1359 read more

When it comes to AIR application development, those of us using JavaScript are second class citizens. It's unfortunate, but true. Functionality easily available in Flash or Flex is either missing, or difficult to find (and use) in our apps. One such piece of functionality is the ability to capture screen shots, or bitmap data, for use in other parts of your app. In this post, I'll show you how you too can capture bitmap data using JavaScript, and a sprinkling of AS3.

JUN 7 2009

jQuery and AIR: Writing content to the file system via drag and drop

at: 8:39 PM | Filed under: AIR, JavaScript, jQuery, video

comments (8) Views: 5082 read more

In this installment of my jQuery and AIR series we'll be exploring the ability to write content to the file system using AIR's built in file system access. We'll be copying images, and writing JavaScript variables as text files. We'll also be using jQuery UI's draggable and droppable libraries so that we don't have to write that functionality ourselves. First, a preview of what we'll be creating, and then we'll get started.
AIR app preview

MAY 28 2009

Presenting tonight to the Nashville CFUG. jQuery and AIR development

at: 10:10 AM | Filed under: AIR, JavaScript, jQuery, presentations

comments (0) Views: 897 read more

I'll be presenting to the Nashville CFUG tonight. The session is titled "jQuery and AIR: Desktop Design for the Front End Developer".

MAR 23 2009

JavaScript replace method takes functions as arguments? Who knew?

at: 9:58 AM | Filed under: JavaScript

comments (0) Views: 1709 read more
I was working on a snippet of code at work the other day. I needed to take a string and replace every character that wasn't a letter, number, or forward slash, with a dash. That's actually super easy with regex, and it looks like this

MAR 17 2009

Shrinkadoo 0.5, now with copy/paste (take that Apple)

at: 10:18 PM | Filed under: AIR, JavaScript, jQuery, projects, Shrinkadoo

comments (0) Views: 894 read more

I've been hard at work on several features within Shrinkadoo which have been requested by many people. Most notably is automatic copy and paste of short URLs. That feature is now included. The app also now remembers the last service you used and loads that up for you right away. That, in conjunction with automated copy and paste means that you can create a new URL in as few as 3 clicks. Also included is better messaging when performing certain actions.

MAR 3 2009

Shrinkadoo, jQuery/ColdFusion powered URL shortening AIR app

at: 11:20 AM | Filed under: AIR, AJAX, ColdFusion, JavaScript, jQuery, Shrinkadoo, shrinkURL

comments (0) Views: 2047 read more

I can finally announce what I've been working on for the last few weeks. You might already know of the shrinkURL CFC I wrote, and released on RIAForge. But I'm ready to announce the next phase of that process, Shrinkadoo, jQuery / ColdFusion powered URL shortening AIR application.

JAN 13 2009

Calling a page via a link with a target attribute

at: 8:23 PM | Filed under: JavaScript

comments (0) Views: 1042 read more

Today over at House of Fusion Claude Schneegans asked:

Suppose I have a page like myPage.cfm. Is it possible in this page to detect if it was called from a link having a TARGET="..." attribute?

commadelimited logo