DEVELOPMENT LOG FOR JIM PALMER
CURRENT PROJECTS
loading
CATEGORIES AND POSTS
loading
overset
JQTemplate - Jquery Lightweight Javascript Template Engine Plugin
Posted 06/28/2009 in jquery
A ultra-light and fast javascript template engine as a jQuery plugin.
JSYN - Fast and Lightweight Javascript Syntax Highlighter
Posted 01/18/2009 in javascript
A fast and lightweight javascript syntax highlighter for simple addition to your blog or site showcasing generic code without using server-side lexical analysis.
Internet Explorer IFRAME Browser History Lost on Reload
Posted 12/21/2008 in dhtml
IE has trouble retaining BACK/FORWARD button support with IFRAMES on pages without the Last-Modified or ETag response headers.
Colorized Subversion SVN STAT & UP PowerShell Functions
Posted 11/18/2008 in powershell
An ever-useful powershell script for those who use the SVN CLI even on windows.
Javascript Natural Sort Algorithm With Unicode Support
Posted 09/01/2008 in javascript
A fast and lightweight natural sort algorithm for javascript.
Animated Sortable Data Table jQuery plugin - jTPS
Posted 08/30/2008 in jquery

Powerful datatable with animated pagination and natural sorting.
Apache/IIS Rewrite Rules For Developer Sandboxes
Posted 08/20/2008 in unix
Some notes on how to use rewrite rules to create developer sandboxes in a single-server dev environment.
jQuery CSS Clip Animation Plugin
Posted 08/07/2008 in jquery
A super-simple jQuery 1.2.6 plugin to extend the animate function to support animation of the CSS CLIP property.
jVal - jQuery Form Field Validation Plugin
Posted 07/31/2008 in jquery

Animated graphical form field validation jQuery plugin.
Simple jQuery JSON ASP.NET WebService DateTime Support
Posted 07/18/2008 in C#.NET
ASP.NET serializes the DateTime response as \/Date(-19312300000)\/ but we want jQuery to automatically parse that as a native Javascript Date() object...
C#.NET AJAX Handler Using Reflection And Jquery
Posted 07/16/2008 in C#.NET
To build a robust and fast AJAX handler facility utilizing Reflection to access remote methods in classes without using ASP.NET's AJAX library and the WebMethod factory and work with jQuery's $.ajax() or $.post() facilities.
Use SqlParameterCollection To Dynamically Build SqlCommand.CommandString
Posted 06/25/2008 in C#.NET
A quick example on using a SqlParameterCollection to build the sql command string on the fly.
Simple jQuery Auto Save
Posted 06/25/2008 in jquery
Manual support for the watch facility in Javascript which is an ad-hoc observer pattern.
Javascript print_r function
Posted 06/23/2008 in javascript
A useful javascript print_r() function for those PHP developers working in javascript.
jQuery History Plugin
Posted 06/18/2008 in jquery
Looking for a mean and lean jquery plugin that is completely unobtrusive to the user and allows for tight integration into a jquery ajax driven site that needs to offer forward/back button support as well as state management?
Colorized SVN STAT and CVS UPDATE Output Via BASH
Posted 05/29/2008 in unix
BASH script to colorize the output of SVN and CVS.
Multiday Calendar Datepicker JQuery Plugin
Posted 05/12/2008 in jquery

Animated calendar datepicker for multi-day selection with multi-month display. Animated scrolling of previous and next months. Allows for a sequence of months to reside side by side and for the user to select a number of consecutive days.
LitJson Patch To Serialize Hashtable/IDictionary Keys of DateTime Type to JSON
Posted 04/24/2008 in C#.NET
Looking to serialize Hashtables in .NET with DateTimes as indexes in LitJson?
Convert Single Level XML To Native C#.NET Object Via Json And Regular Expressions
Posted 04/22/2008 in C#.NET
Simple Regular Expression to convert faux XML to a JSON string - example in C#.
Convert ADODB RecordSet XML To ADO.NET DataSet Object Natively In C#
Posted 04/21/2008 in C#.NET
Here's a code-example showing how to convert a legacy ADODB RecordSet XML string to a native ADO.NET DataSet object using the built-in OleDbDataAdapter functionality.
Simple AES (Rijndael) C# Encrypt & Decrypt functions
Posted 04/17/2008 in C#.NET
Simple Encrypt() and Decrypt() function for 256b/32B asymmetric encryption using AES written in C#.
MSSQL - Fast Character Field Loose-Comparison
Posted 04/11/2008 in mssql
This is a handy trick to find similar strings in varchar/text/etc fields in MSSQL without breaking the query plan.
Mark Gibson's JSON JQuery Updated
Posted 04/11/2008 in jquery
Simple jQuery plugin from Douglas Crockford's 2008-02-14 json2.js release.
Load Test AJAX Applications With HTTPERF
Posted 03/27/2008 in ajax
Load testing AJAX applications is somewhat of a new and often neglected frontier that unfortunately is an absolute necessity in the process of launching successful web applications. Here is a quick writeup on patching the AMAZING HTTPERF utility version 0.9.0 to make the already fabled wsesslog feature.
Fast Display of Coldfusion Execution Time
Posted 03/17/2008 in coldfusion
Javascript Invalid Argument errors
Posted 03/05/2008 in ajax
When you build an AJAX application that is served to IE6 and IE7 clients - you will probably run into the obscure Invalid Argument error. Here's some insight on how to handle these errors.
Convert ADODB XML To JSON Through XSLT
Posted 02/21/2008 in ajax
A powerful XLST script to convert legacy .NET ADODB XML to JSON.
Consolidate & Compress AJAX Javascript Files Through Coldfusion With JSMin
Posted 02/13/2008 in coldfusion
A concise coldfusion script to capture SHIFT+RELOAD requests from firefox to then take a list of javascript/css files, consolidate them into a single file, minify them via JSMIN and compress them via gzip -9.
mod_cache ignores mod_dir DirectoryIndex index files + workaround
Posted 12/24/2007 in unix
An interesting problem with Apache's mod_cache - even production in the 2.2.X branch - is that it does not cache mod_dir DirectoryIndex files. Here's the quick on how to forcefully redirect the user to a mod_cacheable page.
Custom Coldfusion Caching Engine
Posted 12/17/2007 in coldfusion
A much better Coldfusion implementation of flat-file caching on a set interval than the built-in CFCACHE.
Papervision Mesh3D Terrain Map Simplification - Proof of Concept
Posted 09/04/2007 in flash
Proof of concept using Papervision3D in Flash9 to simplify a simple Mesh Plane object via edge decimation based off a soft threshold z-coordinate delta.
Simple Flash Remoting Proxy Through Linux
Posted 07/13/2007 in unix
Notes on how to do flash remoting to a clustered Coldfusion flash gateway as served via Apache.
How To Convert Apache SSL Certificate To Use With IIS
Posted 07/13/2007 in unix
Javascript Recursive Object Copy, Deep Object Copy, Pass By Value
Posted 07/11/2007 in javascript
Need to copy a complex object by value - instead of by reference - in javascript?
DHTML Date Picker, Javascript Calendar v0.3
Posted 07/10/2007 in dhtml
A streamlined, clean and appealing DHTML datepicker.
DHTML Balloon Help, Tooltip, Hint That Auto Positions
Posted 06/20/2007 in dhtml
This is a classy DHTML tool tip that auto-positions itself as per the block it points to as well as the pointer position.
Papervision3D Terrain Map v0.2 With Satellite Image Texture
Posted 04/24/2007 in flash

Mammoth Mountain Ski Area in a simple and barely interactive Papervision3D demonstration. This is using USGS DEM (Digital Elevation Map) data and properly applied black and white orthography from terra-server
Papervision3D Terrain Map of Mammoth Mountain Ski Area
Posted 04/21/2007 in flash
A 3D terrain map of Mammoth Mountain Ski Area using Papervision 3D and USGS Digital Elevation Map values.
mod_proxy and internet explorer problems
Posted 04/03/2007 in unix
Some insight into the dreaded error: Connection reset by peer: proxy: prefetch request body failed.
Send Native JSON Javascript Objects Back to CFAJAX
Posted 03/21/2007 in coldfusion
Use JSON instead of the homebrew CFAJAX serialization.
Problems With Clustered Flash Remoting Through Apache mod_proxy
Posted 03/19/2007 in unix
Notes on problems when flash remoting to a clustered Coldfusion flash gateway as served via Apache.
Unix Timestamp in Coldfusion
Posted 03/07/2007 in coldfusion
Store Binary Data In MySQL With Coldfusion
Posted 03/02/2007 in coldfusion
A quick how-to on storing and retrieving binary data from a MySQL database in Coldfusion.
Enable CFAJAX Client Authentication Through Web Proxy
Posted 02/14/2007 in coldfusion
True ColdFusion whitespace removal + CFAJAX support
Posted 01/31/2007 in coldfusion
An example onRequestEnd Application.cfc function on truly removing unwanted white-space from the rendered html returned to the client. This will not break CFAJAX support.
Canon Network Camera Control Protocol Hack - VB-C50i Control Port Communication
Posted 01/24/2007 in unix
Took a nice Canon network controlled camera, hacked around its control protocol a bit and here are my notes on how to control it via simple PHP socket code.
Live Streaming of a Webcam Feed from CANON VB-C10/C50 From a Relay Proxy Server
Posted 01/22/2007 in unix
Here's a writeup on how to convert an MJPEG stream, specifically from a canon network controlled webcam, to FLV on the fly using FFMPEG and FFSERVER. This also duplicates the stream from the source and serves multiple streams to hungry clients, aka relay proxy.
Best Flash AS2 PullDown Component v0.3
Posted 01/05/2007 in flash
Lightweight and feature-packed AS2.0 pulldown component.
Simple JavaScript Form Field onKeyDown Regular Expression Wrapper
Posted 12/01/2006 in javascript
Prevent characters from being entered on input fields in html via regular expression syntax. This is similar to the TextField.restrict property in Flash.
Flash Observer Pattern With Manual Object Subscription
Posted 11/30/2006 in flash
Add a Please Wait Message To Your AJAX Application
Posted 11/10/2006 in javascript
A simple example of how to block a certain DOM block while using my lightweight AS2.0 throbber animation to instruct the user to wait.
Webalizer shell script that handles clustered logs
Posted 11/08/2006 in unix
This is a BASH script to aggregate clustered Apache log files (even compressed rotated log files) and process them via webalizer.
Manually clear stale Coldfusion CLIENT data from MySQL
Posted 11/08/2006 in coldfusion
Coldfusion historically has had problems purging client data stored in the database, especially in a clustered environment. Here's a quick direct-db way to purge.
Flash wait animation - i.e. browser throbber
Posted 09/27/2006 in flash
Lightweight AS2.0 throbber animation.
Flash Date Picker (Minature Calendar Alpha) v0.3
Posted 09/26/2006 in flash
The sexiest AS2.0 date picker calendar popup with animations
ADO XML to WDDX XML XSLT Transformation
Posted 09/25/2006 in coldfusion
A robust XSLT transformation to convert legacy ADODB XML to WDDX XML.
Flash & JavaScript dollarFormat function
Posted 09/22/2006 in javascript
A quick function that was put together to parse strings/numbers (float as well) into a US Dollar formatted string:
Miniature Calendar Alpha v.02
Posted 09/21/2006 in flash
Nice lightweight AS2.0 date picker component with appealing date selection animation.
Memento Pattern and Client Variables in ColdFusion
Posted 09/18/2006 in coldfusion
Building a large-scale e-commerce site in Coldfusion? You will need this pattern...
True ColdFusion Whitespace Removal
Posted 09/18/2006 in coldfusion
An example onRequestEnd Application.cfc function on truly removing unwanted white-space from the rendered html returned to the client.
Miniature Calendar Alpha v.01
Posted 08/11/2006 in flash
Nice lightweight AS2.0 date picker component with appealing date selection animation.
Custom class definitions not working in your MC with a pre-lodeder?
Posted 08/03/2006 in flash
how do I get an _exclude.xml with all the mx.* assets?
Posted 07/26/2006 in flash
TextField type=input live preview resize issue
Posted 07/20/2006 in flash
Issues with the bounding box in custom components with live-preview?
Posted 07/18/2006 in flash
Here are my notes on exploring how to properly use bounding boxes when developing custom components to allow easy instantiation in the Flash IDE.
Handling [Collection] Component Parameter Data
Posted 07/13/2006 in flash
My findings on how to handle collections as custom component parameters in AS2.0.
Dynamic TextField's text disappearing after text change?
Posted 07/11/2006 in flash
Close aproximation for TextField size
Posted 07/11/2006 in flash
Here's a quick trick on how to more precisely calculate the height of a TextField object in AS2.0.