Community Member Profile
- Profile: /members/362-James-Moberg.htm
- Comments: 37
- Points: 351
Recent Blog Comments By James Moberg
-
Storing Your ColdFusion Scheduled Tasks In The Database
Posted on Aug 5, 2011 at 8:09 PM
The ColdFusion scheduler never gave me the type of control I wanted over schedule and I was always worrying about time-outs. (I have a script that downloads lots of content on a scheduled basis.) I thought about a database, but then I'm still back to hoping that ColdFusion runs the task and doe... read more »
-
Trying Out LAB.js For Asynchronous JavaScript (Script) Loading
Posted on Jul 18, 2011 at 8:03 PM
I'll definitely vouch for LABjs. I've been using it on a couple of websites & haven't found many issues. You have to be aware of how you are using inline scripts (if any). Anything inline JS that uses document.write() will execute before LABjs loads (as well as slow the page rendering down.... read more »
-
Ionic ISAPI URL Rewrite Decodes "%26" Into Ampersand (&) By Default
Posted on Jun 1, 2011 at 12:51 PM
Does anyone use any other mod-rewriting tools for IIS? I recently found "IIS Mod-Rewrite". It's not free, but it has 100% compatible syntax and behavior with Apache mod_rewrite and override (.htaccess) configurations. read more »
-
Ionic ISAPI URL Rewrite Decodes "%26" Into Ampersand (&) By Default
Posted on May 26, 2011 at 10:44 AM
We've had other issues with Ionics & have had to roll back to an earlier version. Due to its recent verified inconsistency of returning the correct file, we've had to disable one of the rules that we were using (we added a 14 digit timestamp to the end of js/css resource filenames). If... read more »
-
A Big Hole In My Understanding Of ColdFusion Scheduled Tasks
Posted on May 9, 2011 at 11:28 AM
I also prefer the CRON & CURL combination because it doesn't consume a CF thread or run the risk of timing out when connecting to external hosts. I can also run it on any computer so that it never impacts the CF server. I've had to add extra success/fail flags & notifications to the ind... read more »
-
A Big Hole In My Understanding Of ColdFusion Scheduled Tasks
Posted on May 9, 2011 at 10:56 AM
I've had issues with inflexible scheduling on ColdFusion. Scheduling tasks to be performed on every Tues, Wed & Thurs at 3am requires 3 different tasks. In a Windows environment, setting using the NT Task Scheduler was almost as painful. We finally started using nnCron as a replacement:
read more » -
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 23, 2011 at 3:28 PM
Thanks for the additional information. This information is always good to provide upfront so that others know what you have tried and are aware of any additional requirements. I didn't know how familiar you are with jQuery and thought I'd recommend something supported by the community. I b... read more »
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Jan 23, 2011 at 4:06 AM
Accordion with jQuery? You could always use the jQuery UI Accordion. It's very configurable, degradable, use semantic markup and can be themed: http://jqueryui.com/demos/accordion/ (NOTE: There are other... read more »
-
Creating A Struct From A ColdFusion Array Using The TreeMap And The LinkedHashMap
Posted on Dec 7, 2010 at 10:40 AM
You don't have to use numeric keys, but be aware that all keys are case-specific when using "LinkedHashMap" (unlike a normal struct.) (I tried posting this response in Firefox 3.6.12 Windows and it didn't work... not sure why. Reposted using Google Chrome.)... read more »
-
Using jQuery's SlideUp() and SlideDown() Methods With Bottom-Positioned Elements
Posted on Oct 4, 2010 at 11:28 AM
Regarding setTimeout, check out doTimeout: http://benalman.com/projects/jquery-dotimeout-plugin/ Delayed code execution (including interval and timeout management), polling loops and debouncing. In addi... read more »
-
jQuery Selectors - The Firebug Plugin Inserts A Hidden DIV Element
Posted on Aug 27, 2010 at 11:49 AM
I've had this happen before and it drove me a little nutty. (A client was reporting that a "promotion" wasn't added to their homepage, but their anti-virus software was rewriting the HTML.) Here's what I do now: Use the Web Developer Addon for Firefox, go to "View Source" and then "V... read more »
-
The Content Of This Document Process Takes More Than 60000 Milliseconds To Process
Posted on Jun 23, 2010 at 7:21 PM
Do your embedded images have an Adobe RGB Color space? I've run into slowdowns in the past where the color palette was non-standard. http://en.wikipedia.org/wiki/Adobe_RGB_color_space One of the methods I... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on May 17, 2010 at 5:41 PM
I think you may be right right regarding switching to ajax() and using the async feature. I enabled it this morning after your feedback. Thanks!... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on May 13, 2010 at 8:00 PM
I was recently searching for information regarding AdSense Mobile and jQTouch and came across this post. I thought I'd share my tracking snippet with you. I'm tracking click-thru activity using encrypted IDs that are added to all links using the "rel" tag. The encrypted data contains the... read more »
-
How Javascript Loading And Blocking Works By Default
Posted on May 13, 2010 at 11:22 AM
I personally don't want to see 304 requests as they negatively impact the page loading time. I want all of my scripts to be permanently cached unless they have been updated. I wrote a script to recurse a shared script sub-directory and create a server-scoped struct using the hashes of all... read more »
-
How Javascript Loading And Blocking Works By Default
Posted on May 6, 2010 at 11:14 AM
I don't think the jQuery getSCript will work in every case as some libraries are dependent upon other libraries in order to work. Running multiple getScript functions won't allow you to process. I have LABjs loading jQuery, waiting, load a couple of functions + jQueryUI, waiting and then load j... read more »
-
How Javascript Loading And Blocking Works By Default
Posted on May 6, 2010 at 10:57 AM
You might want to check out jQuery Dominoes too: http://code.google.com/p/javascript-dominoes/wiki/HandsOn We've opted to go with LABjs because Steve Souders (from Google/O'Reilly author) is working... read more »
-
Learning ColdFusion 9: Using OnCFCRequest() To Return JSONP (JSON With Padding) API Responses
Posted on Apr 30, 2010 at 2:38 PM
I always seem to find your posts whenever I'm researching an issue. I just updated mime types on my server and I saw that you were returning json data using the mime type "text/x-json". This caused me to research this further and I found that this article states that "application/json" is the o... read more »
-
Parsing CSV Data With ColdFusion's CFHTTP Tag
Posted on Apr 19, 2010 at 9:40 AM
You posted something about parsing CSV back in 2007 and Steven Klotz recommended using OpenCSV: http://opencsv.sourceforge.net/ I checked it out and it addresses all 3 limitations that you point out above (local file read, m... read more »
-
GMail Seems To Ignore The Return-Path Header Defined By The CFMail FailTo Attribute
Posted on Apr 14, 2010 at 10:39 AM
@Tom How can you parse email addresses from a bounced message that has had them removed? Adding the extra "X-Subscribed-As" header sometimes allows the email address to be identified when the bouncing server removes the standard "FROM" address or when the email address is forwarded to a th... read more »



