Category: ColdFusion (rss)
1 | Next Page

Converting Fusebox 3 Sample App to ColdBox MVC

Jul 23, 2014 9:23 PM
Rating: (Total Clicks 5)

In our last installment, we talked about the benefits of converting legacy FuseBox applications over to ColdBox MVC. In this entry we'll actually convert the Fusebox 3 sample app available from fusebox.org to show you the similiarities and differences between the two frameworks. The finished ColdBox code is here:https://github.com/bdw429s/Fusebox-3-Sample-App-Conversion/ The original Fusebox code is in the root of the above repo in a zip called "FB3SimpleApp.zip" Overview Here's a screenshot of the files in the Fusebox and ColdBox code side-by-side. Both are pretty self-explanatory, so we'll work our way through the contents of each file as we go. One of (translate)

Dojo DateTextBox and disabled dates

Jul 23, 2014 5:23 PM
Rating: (Total Clicks 4)

Dojo’s DateTextBox widget is a widget that allows typing in or chosing a date from a calendar widget. By default, it uses the Dojo Calendar as it’s popUpClass although you can give it any popUpClass you need to. Normally, the Calendar class has a “isDisabledDate” function which can be overriden to provide your own implementation […] (translate)

An example of Cordova's Camera PopoverOptions

Jul 23, 2014 1:59 PM
Rating: (Total Clicks 6)

One of the interesting features in Cordova's Camera API is something called popoverOptions. While the docs do explain what this feature does, it may not be entirely clear how it works so I whipped up a quick example, with screen shots, to demonstrate what it does. First off - this feature is only for iOS (and the iPad at that) and only for existing pictures, it is not something you can use when having the user take new pictures. So right away you can see this is something that will have limited usage. But what exactly does it do? The (translate)

ColdFusion Builder 3 automatic updates notification and installation

Jul 23, 2014 7:24 AM
Rating: (Total Clicks 7)

With ColdFusion Builder 3 we have implemented automatic updates feature to be in-line with Eclipse update mechanism.   In case of ColdFusion Builder 3 standalone installation:- With this, if there is any update to ColdFusion Builder 3, you will receive a notification at the bottom right corner of Builder. You can click on that and install the updates. With this mechanism only the changed plugins are pulled and installed on top of your Builder installation. And this is always a cumulative update .i.e Latest update contains all the previous updates as well. If you have just closed the notification without (translate)

PhoneGap Day US and EU Announced

Jul 22, 2014 8:13 PM
Rating: (Total Clicks 7)

For a few years now the PhoneGap team have been running a one day conference called PhoneGap Day. This is easily one of my favorite conferences. It has a very laid back vibe. The sessions are short and sweet (20 minutes or so a pop). The schwag is actually useful. Out of all the conferences I attend, this one just feels the most relaxed, fun, and educational as well. This year PhoneGap Day will be held in San Francisco on October 24th and Berlin on September 26th. As before, there will be full day workshops on the day before. For (translate)

ColdFusion Builder 3 Update 2 is released

Jul 22, 2014 1:24 PM
Rating: (Total Clicks 9)

Update 2 for ColdFusion Builder 3 is released. If you have installed ColdFusion Builder 3, you should get the notification about this update. We have fixed quite a few user reported bugs in this update. Some of the important ones are as follows -  3767783 : Word wrap is now supported in all CFB editors. Option to turn on/off word wrap is in editor preferences. For example, to turn on the word wrap for CFML editors, go to Preferences->ColdFusion->Profiles->Editor and check 'Enable Word Wrap' box. 3760370 : Tab size was ignored. Tab size in CFB editors is now set as (translate)

Node.js Transform Streams vs. Through2 Streams

Jul 22, 2014 1:07 PM
Rating: (Total Clicks 2)

Ben Nadel looks Transform streams in Node.js and how the through2 module can simplify the creation of Transform streams using the revealing module pattern.... (translate)

My First Look At Streams In Node.js

Jul 22, 2014 7:23 AM
Rating: (Total Clicks 11)

Ben Nadel explores Node.js streams and builds a Transform stream that parses input chunks using a regular expression pattern.... (translate)

Targeting a device type with Cordova Emulate

Jul 21, 2014 11:21 PM
Rating: (Total Clicks 8)

Today I've got yet another Cordova tip that was probably known to most people. I'm working on a sample application that needs to run on an iPad, not an iPhone, but the problem was that every time I ran cordova emulate ios, it would fire up the application in an iPhone. If I switched the hardware in the iOS simulator settings it would work, but when I recompiled and reran, it reverted to an iPhone. Turns out, there is a simple solution for this. I had never noticed this, but cordova emulate is simply an alias for cordova run --emulator. (translate)

ColdFusion, isValid, Email and new TLDs

Jul 21, 2014 2:16 PM
Rating: (Total Clicks 11)

A few days ago a user reported an issue with my blog involving the comment form. Apparently he has an email address using one of the new TLDs (top level domains) that are cropping up, specifically "directory." I decided to do some testing to see how well ColdFusion supports these new TLDs. First off, it was a bit difficult to find out what has been added recently, but I did find a Wikipedia page with everything listed: ICANN-era generic top-level domains. I knew new TLDs were coming, but my god, I had no idea how many and how... weird some (translate)

1 | Next Page