Blogs RSS

1 - Minor FB3Lite Feature

If you've used FB3Lite, you may or may not know that it implicitly supports a Fusebox-like circuit structure.  Both do() and include() allow you to invoke fuseactions/templates from other directories within your application, though without the circuit aliasing abstraction layer that Fusebox provides.  This is a great way to break down large applications into multiple sub sections, or relate multiple separate applications into a single URL space (especially combined with URL rewriting).

The new feature is the ability to dereference directories with webroot/mapping relative paths (e.g., /mapping/dir/file.cfm).  Until now, only relative paths (to the current circuit) were allowed, as they were always prefixed with the current circuit's path.  But now if you start a do/include path with a slash, it'll be assumed a webroot/mapping relative path and be used as-is.

As you'd expect, there is a corresponding 'allowMappedCircuits' settings variable that can be used to disable this behaviour if your application requires the old-style behaviour (of leading slashes being ignored).

The newest version is available here, or look to the project page for links to the demo app, a history of revisions, and any new info that might come up.


Read more...
Aggregated from: http://feedproxy.google.com/~r


2 - April 1st – An exclusive ColdFusion event in Brussels

No, this is not a hoax! We invite you to join us for an exclusive ColdFusion event. The ColdFusion User Group has gotten a brand new kickstart! You’ll get the chance to meet the new driving force behind the scene, meet some new friends who are equally passionate about ColdFusion or catch up with some [...]
Read more...
Aggregated from: http://www.multimediacollege.b


3 - April 1st, CFUG Belgium event… No kidding!

On April 1st, 2010 the ColdFusion User Group Belgium is holding it’s very first event. Although we can’t yet reveal the entire content of the event, I can already say that it’s going to rock. You’ll get the chance to meet the new driving force behind the scenes of the CFUG Belgium, we have Marta Gal [...]
Read more...
Aggregated from: http://www.flexpert.be/general


4 - Useful Adobe Technote & RSS Feeds

A Couple of pages I think every CF Developer should keep an eye on are the ones related to Hot fixes, as you should know when there is a security fix or even a performance enhancement to things you may work on. CF8 - http://kb2.adobe.com/cps/402/kb402604.html CF9 - http://kb2.adobe.com/cps/529/cpsid_52967.html You may also want an RSS feed to some of this data, although there isn't one for CF Hot fixes or Security Updates there are these: Top Issues: http://www.adobe.com/support/coldfusion/rss/top.issues.xml Recent Documents: http://www.adobe.com/support/coldfusion/rss/recent.documents.xml Hopefully these will be useful to someone.
Read more...
Aggregated from: http://feedproxy.google.com/~r


5 - ColdFusion Job Opportunity in Northborough, MA

Synthenet Corporation, a full-service web design and development firm providing web-based solutions to businesses, is seeking a bright, hard working, and self-motivated, mid to senior level Web Application Developer utilizing web technologies such as ColdFusion, FLEX, Web Services, XML and AJAX. Qualifications: Proven experience developing data-driven applications that blend interactive GUIs developed with ColdFusion, FLEX, Java [...]
Read more...
Aggregated from: http://ricardo.parente.us/2010


6 - ColdFusion Contract Job in Chicago, IL

Paladin One of our technology clients has a need for a ColdFusion Web Developer for a small project. They need a ColdFusion pro who is adept with CFCs. Ideally they would like to have someone who has experience enable Rich Tables. The project would start as early as March 10 or 15 and run [...]
Read more...
Aggregated from: http://ricardo.parente.us/2010


7 - Managing ColdFusion Sessions In A ColdFusion Builder Extension

There's been a lot of confusion in my mind as to how exactly ColdFusion session management works in a ColdFusion Builder Extension; sometimes it appears to work and sometimes it doesn't. In casual conversation, I've been told by some Builder experts that session management doesn't work at all (and that I should rely on the Application scope for persistence). But, at the same time, I've seen with my own eyes that it does work occassionally. At the end of the day, ColdFusion Builder Extensions ... Read More »
Read more...
Aggregated from: http://www.bennadel.com/blog/1


8 - JavaScript Tip - Auto Capitalizing

A reader asked me an interesting question yesterday. His system required all form input to be in capital letters. He wanted to know if there was a way to force the caps lock key to be abled on the client machine. As far as I know, this isn't possible. You can detect the status of the caps lock key, but actually enabling it is not something you can do via JavaScript. However, it is pretty trivial to simply automatically capitalize the user's input. Here is one simple example in jQuery.

I began with a simple form containing two inputs:

Name:
Email:

I then whipped up this simple jQuery:

This code binds to all input fields on the page. I'd probably filter it to a particular FORM ID normally, but this works fine. I listened for the keyup event and simply took the entire val and converted it to upper case. You can see a demo of this here. Not terribly exciting, but it works, as long as JavaScript is enabled of course.


Read more...
Aggregated from: http://feedproxy.google.com/~r


9 - ColdFusion and the OpenSRS name_suggest API (Part II)

Now we want to post that variable to OpenSRS so we can get our results.  The double-MD5 Hashing stuff they want you to do is pretty arcane, but this stuff needs to be protected.  Here’s my function for posting it to OpenSRS:<cffunction name="send2OpenSRS" returnType="string" output="false"> <cfargument name="xmlPost" required = "yes"> <cfinclude template="./openSRS_ini.cfm"> <cfset step1 = "#xmlPost##request.privateKey#"> <cfset hashStep1 = "#LCase(hash(step1, 'MD5'))#"> <Cfset step2 = "#HASHSTEP1##request.privateKey#"> <cfset hashStep2 = "#LCase(hash(step2, 'MD5'))#"> <cfhttp method = "Post" url = "https://#request.productionServer#" port = "#request.usePort#" > <cfhttpparam type = "header" name = "X-UserName" value = "#request.userName#"> <cfhttpparam type = "header" name = "X-Signature" value =
Read more...
Aggregated from: http://www.cfjazz.com/post.cfm


10 - ColdFusion and the OpenSRS name_suggest API (Part III)

Now we have to parse the results.  In my example, I wanted results for the straight lookup, the premium names and the suggested names, so I take the XML and use it to make three queries.  That part looks like this:<!--- LOOKUP ---> <cfset searchFor = XMLSearch(theResult, "//data_block/dt_assoc//dt_assoc//item[@key='lookup']//dt_assoc//item[@key='items']//dt_array/item/dt_assoc/")> <cfset countLookups = ArrayLen(searchFor)> <!--- Let's create a query to hold the actual lookup data ---> <cfset qLookup = QueryNew("domainName, result")> <cfif #countLookups# GTE 1> <cfset temp = QueryAddRow(qLookup, countLookups)> <cfloop from="1" to="#countLookups#" index="thisRecord"> <cfset lookup1 = #searchFor[thisRecord].item[1].XmlText#> <cfset lookup2 = #searchFor[thisRecord].item[2].XmlText#> <cfset temp = QuerySetCell(qLookup, "domainName", lookup1, thisRecord)> <cfset temp =
Read more...
Aggregated from: http://www.cfjazz.com/post.cfm


11 - ColdFusion Builder Crashing

I'm thoroughly addicted to using ColdFusion Builder now.  After several months of use, it's become my most critical development tool.  Like most others, I'm on the third version of the Beta and I'm finding the stability of this version significantly less than the previous versions. Every so often, CF Builder just quits on me.  It doesn't produce an error, it just... quits.  Here's a scenario.  I'm blissfully typing away and watching as my source code increases in volume, delighted that my project is near complete and sadly unaware that my lack of frequent saves is about to bite me.  I
Read more...
Aggregated from: http://www.mikechandler.com/po


12 - Simple CFML Trick - Add logging to ColdFusion Administrator

Earlier today I filed an ER to add logging to the ColdFusion Administrator. This would add simple auditing to actions done within the administrator. So for example you could see when a user added a DSN, or when another user tweaked mail settings. In ...
Read more...
Aggregated from: http://www.coldfusionjedi.com/


13 - Simple CFML Trick - Add logging to ColdFusion Administrator

Earlier today I filed an ER to add logging to the ColdFusion Administrator. This would add simple auditing to actions done within the administrator. So for example you could see when a user added a DSN, or when another user tweaked mail settings. In theory this should be easy to implement, and I think it would be a great addition. If you agree, don't forget that you can vote for bugs on the public bug tracker so add yours to the request. On a whim though I thought I'd try to see if I could hack it in. I know that the administrator hasn't really been updated a lot lately (except for new settings!) and I guessed - correctly - that it still made use of Application.cfm, not Application.cfc.

For the heck of it, I just dropped this in my /CFIDE/Administrator folder as a new Application.cfc file:

component { public boolean function onRequest(string req) { include "Application.cfm"; include arguments.req; writelog(file="admin", text="User #getauthuser()# running #req#?#cgi.query_string#"); return true; } }

And guess what? It worked like a charm:

"Information","jrpp-107","03/15/10","14:21:41","CFADMIN","User admin running /CFIDE/administrator/settings/server_settings.cfm?targeted=false"
"Information","jrpp-109","03/15/10","14:21:41","CFADMIN","User admin running /CFIDE/administrator/navserver.cfm?"
"Information","jrpp-111","03/15/10","14:21:42","CFADMIN","User admin running /CFIDE/administrator/settings/limits.cfm?"
"Information","jrpp-101","03/15/10","14:21:43","CFADMIN","User admin running /CFIDE/administrator/settings/server_settings.cfm?"
"Information","jrpp-109","03/15/10","14:21:45","CFADMIN","User admin running /CFIDE/administrator/settings/memoryvariables.cfm?"

Obviously it isn't as nice as it could be, but it took all of two minutes to write. The CFC above will only work in ColdFusion 9, but you could convert it to old school tags in a few additional minutes.
Read more...
Aggregated from: http://feedproxy.google.com/~r


14 - ColdFusion and the OpenSRS name_suggest API (Part I)

Recently OpenSRS made some changes to their name_suggest API, and I decided to write a cold fusion component to make using it a whole lot easier.  In case someone else out there is interested in using ColdFusion to interact with the OpenSRS API, I thought I would post some of the basics here.  I kind of threw this together, so it isn’t very feature-rich, but it’s a great starting point if you’re interested. Anyway.  The process is this: 1) You format the XML request that you’re going to send , 2) you send it over https, and 3) you parse
Read more...
Aggregated from: http://www.cfjazz.com/post.cfm


15 - Must Read: ColdSpring Bug - Memory Leak

Looks like Peter Farrell discovered a memory leak on CF8 (and CF9 it seems) when output = false is not set on CFFunctions! If you have a CFC intensive application, and are using ColdSpring, then you may be affected. I am looking to go through my apps and make sure output is set, and I don't know if other frameworks have picked up on this issue. So be aware! Read more @ http://blog.maestropublishing.com/fixing-a-mysterious-memory-leak-on-coldfusion. Vote for a fix at the CF Bug Base @ http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=82362. Update: Luis Majano confirmed that ColdBox 2.6+ does not have this issue. Update: I believe this
Read more...
Aggregated from: http://feedproxy.google.com/~r


16 - NCDevCon - ColdFusion Basic to Advanced

NCDevCon (this May 22-23) is shaping up to be pretty great. I had a great time last year and am eagerly awaiting the conference once again. Today Dan Wilson posted something interesting about the conference. They have a LOT of registrations already, and of them a good portion are people who are brand new to ColdFusion. That is great for the CF community and presents a nice opportunity for other, more skilled developers, to help out. NCDevCon needs speakers to review some basic tasks in CF. I bet everyone reading this blog could think of something they would be able
Read more...
Aggregated from: http://www.usefulconcept.com/i


17 - NCDevCon - Looking for speakers on ColdFusion Basics

I don't think I've blogged this yet but a blog entry from Dan Wilson earlier today reminded me I needed to mention it. Dan, and others, are running a 100% free ColdFusion/Flex/AIR/etc conference in North Carolina. NCDevCon will be held May 22-23rd a...
Read more...
Aggregated from: http://www.coldfusionjedi.com/


18 - DZone ColdFusion Builder Refcard Available

DZone Refcards are free printable cheat sheets for popular applications, tools, languages, and more. DZone has now posted its ColdFusion Builder Refcard, created by our own Terry Ryan.
Read more...
Aggregated from: http://forta.com/blog/index.cf


19 - NCDevCon - Looking for speakers on ColdFusion Basics

I don't think I've blogged this yet but a blog entry from Dan Wilson earlier today reminded me I needed to mention it. Dan, and others, are running a 100% free ColdFusion/Flex/AIR/etc conference in North Carolina. NCDevCon will be held May 22-23rd at the campus of North Carolina State University in Raleigh, NC. I missed last year's CFinNC, and unfortunately I'll be missing this one (speaking at SOTR), but I've heard nothing but praise about CFinNC, and heck, you can't beat free. I wanted to specifically mention this today though because of the blog entry Dan wrote earlier today. The conference is getting quite a bit of interest from folks who are new to ColdFusion, but the majority of speaker submissions are on advanced topics. NCDevCon is in need of speakers who can cover introductory/basic ColdFusion topics. Folks, if you are in the area and can make it, it is time to step up and help spread the ColdFusion gospel to the uninitiated! Anyone, with patience and practice, can do a basic presentation.


Read more...
Aggregated from: http://feedproxy.google.com/~r


20 - ColdFusion Builder Refcard

DZone just published my latest contribution to their Refcardz series, Getting Started with ColdFusion Builder. It's intended to be a quick overview on getting up to speed with ColdFusion Builder, and a tour of the major features. This joins my Getting Started with ColdFusion 9 Refcard. It's great to get ColdFusion content onto DZone, as they reach outside the normal ColdFusion audience. So check it, and their other Refcardz out.
Read more...
Aggregated from: http://feedproxy.google.com/~r