You can now buy ColdFusion Builder for £200.92 ($299) from Adobe. Also included with your purchase is a complimentary copy of Flash Builder 4 Standard making the low price a great purchase for any developer!
Adobe® ColdFusion® Builder™ software is a highly customizable, Eclipse™ based IDE that enables developers to build ColdFusion applications faster than ever before. It also allows them to save time by managing the entire ColdFusion development cycle from concept to production with one easy-to-use tool
Comments (0) |
Print |
Send |
1573 Views
Since 2007 Charlie Arehart has runThe ColdFusion Meetup(actually founded in 2004). If you haven't heard of it then think of it as an online User Group with over 2000 members and over 120 meetups so far.
The problem I have is that I can rarely make the actual sessions due to time conflicts but whats good is that you have always been able to watch the recording later.
One other feature though of the meetups, which is what got me blogging this post, is that you can also download the recordings in the FLV format so you can watch offline later. Or in my case download it so I can watch with VLC as my Mac hates flash with a passion!
Comments (2) |
Print |
Send |
1083 Views
This is a response/comment to Steve Goods post named: Using CFParam Inside a CFFunction. Its turned into a blog post because, well I suppose I am looking for a wider feedback on my thoughts.
When it comes to using <cfparam> in a <cffunction> I would never of even contemplated it up to a few weeks ago, mainly because of the framework I was using gave me other ways of checking of variables existence.But I've moved over to Framework One (FW/1) which uses the tag in its controllers for some of the demos and I've now adopted this in to my recent code.
This then got me thinking that I cannot find a solid case reason as to write
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
if ( NOT StructKeyExists(myVar, "somekey") )
{
myVar.someKey = "0";
}
else if ( NOT isNumeric( myVar.somekey ) )
{
throw();
}
1if ( NOT StructKeyExists(myVar, "somekey") )
2{
3myVar.someKey = "0";
4}
5else if ( NOT isNumeric( myVar.somekey ) )
6{
7throw();
8}
when cfparam does that all in one go with basic type checking aswell.
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<cfparam name="myVar.somekey" default="0" type="integer" />
1<cfparam name="myVar.somekey" default="0" type="integer" />
You could wrap the if() logic in a function to be used but then aren't you just adding an extra layer to your code to do something CF already handles?
Comments (4) |
Print |
Send |
2482 Views
Neil Middleton has turned off his ColdFusion/Flex/Flash feed aggregator, Feed-Squirrel which has been up and running for near 4 years.
You can read all the details in his post, I just wanted to help pass on the news for the community.
Don't forget to turn off your automated ping'ing if you were aggregated by the site
Comments (0) |
Print |
Send |
1347 Views
jQuery UI is a powerful set of interaction plugins for building RIA apps that run and the look the same across multiple browsers. Below is an example of using
the tabs to hold multiple forms which submit back to themselves. The code is pretty straight forward and consists of two pages, the first one can even be a HTML page but the second one in my demo is a ColdFusion page to show the passed variables.
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Submit jQuery tabs back on to itself</title>
<!-- Use Google CDN for jquery files -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
<!-- You can use Googles CDN for the themes as well -->
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/swanky-purse/jquery-ui.css" type="text/css" />
<script>
$(document).ready(function(){
// set the tabs
$("#tabs").tabs();
// Capture the form's submit event
$('.inlineForm').live('submit', function() {
$.ajax({ // create an AJAX call...
data: $(this).serialize(), // get the form data
type: $(this).attr('method'), // GET or POST
url: $(this).attr('action'), // the file to call
success: function(response) { // on success..
$('.ui-tabs-panel:visible').html(response); // update the DIV
}
});
return false; // cancel original event to prevent form submitting
})
}); // END (DOCUMENT).READY
</script>
</head>
<body>
<div id="tabs">
<ul>
<li><a href="#tabs-1">Form 1</a></li>
<li><a href="#tabs-2">Form 2</a></li>
</ul>
<div id="tabs-1">
<!-- This is your first form. You could call this content in from Ajax?
Also note the class name which is the reference point for jQuery
-->
<form action="receive.cfm" method="get" class="inlineForm">
<input type="text" name="val1" value="" />
<input type="submit" name="submit" value="Submit Form 1" />
</form>
</div>
<div id="tabs-2">
<!-- This is your second form. You could call this content in from Ajax? -->
<form action="receive.cfm" method="get" class="inlineForm">
<input type="text" name="val2" value="" />
<input type="submit" name="submit" value="Submit Form 1" />
</form>
</div>
</div>
</body>
</html>
1<html>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<title>Submit jQuery tabs back on to itself</title>
6<!-- Use Google CDN for jquery files -->
7<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
8<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js" type="text/javascript"></script>
9<!-- You can use Googles CDN for the themes as well -->
10<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/swanky-purse/jquery-ui.css" type="text/css" />
11<script>
12$(document).ready(function(){
13// set the tabs
14$("#tabs").tabs();
15// Capture the form's submit event
16$('.inlineForm').live('submit', function() {
17$.ajax({ // create an AJAX call...
18data: $(this).serialize(), // get the form data
19type: $(this).attr('method'), // GET or POST
20url: $(this).attr('action'), // the file to call
21success: function(response) { // on success..
22$('.ui-tabs-panel:visible').html(response); // update the DIV
23}
24});
25return false; // cancel original event to prevent form submitting
26})
27}); // END (DOCUMENT).READY
28</script>
29</head>
30<body>
31<div id="tabs">
32<ul>
33<li><a href="#tabs-1">Form 1</a></li>
34<li><a href="#tabs-2">Form 2</a></li>
35</ul>
36<div id="tabs-1">
37<!-- This is your first form. You could call this content in from Ajax?
38Also note the class name which is the reference point for jQuery
39-->
40<form action="receive.cfm" method="get" class="inlineForm">
41<input type="text" name="val1" value="" />
42<input type="submit" name="submit" value="Submit Form 1" />
43</form>
44</div>
45<div id="tabs-2">
46<!-- This is your second form. You could call this content in from Ajax? -->
47<form action="receive.cfm" method="get" class="inlineForm">
48<input type="text" name="val2" value="" />
49<input type="submit" name="submit" value="Submit Form 1" />
50</form>
51</div>
52</div>
53</body>
54</html>
The second page should be called receive.cfm
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<!-- This would process your form information and pass back a result to the user -->
<cfsetting showdebugoutput="false" />
<script>$("#dialog").dialog( {bgiframe: true, height: 140, modal: true} );</script>
<div id="dialog" title="Done!">
<p>Form submitted in to same tab</p>
</div>
<p>
<cfdump var="#url#" format="text" label="Url variables">
</p>
1<!-- This would process your form information and pass back a result to the user -->
2<cfsetting showdebugoutput="false" />
3<script>$("#dialog").dialog( {bgiframe: true, height: 140, modal: true} );</script>
4<div id="dialog" title="Done!">
5<p>Form submitted in to same tab</p>
6</div>
7<p>
8<cfdump var="#url#" format="text" label="Url variables">
9</p>
Comments (2) |
Print |
Send |
4395 Views
Pet Rescue SOS is a site I've had a hand in putting it together, put simply, is the place where you can register your pets, have them assigned a unique tag and identity number which can used to identify and locate your pet anywhere in the world. This service is available online 24hrs a day and you have access to your own registration section from where you can manage your account and pets.
Below for anyone interested is some of the tech specs:
Comments (1) |
Print |
Send |
1197 Views
There has been a couple of reasons recently that I needed to do a look up on a MySQL table using a case-sensitive Select statement. Its actually as easy as using "LIKE BINARY" instead of "LIKE" e.g.
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
SELECT username, password
FROM tablename
WHERE password LIKE BINARY 'SOmE PAssWOrD'
1SELECT username, password
2FROM tablename
3WHERE password LIKE BINARY 'SOmE PAssWOrD'
Obviously if you are on a CFML engine don't forget
<cfqueryparam cfsqltype="cf_sql_varchar" value="SOmE PAssWOrD" />
Comments (1) |
Print |
Send |
1053 Views
The title seems like the beginning of a joke but its all to do with Scotch On The Rocks in 2010.
So to answer questions like: Where the hell is SOTR2010?, is it going to be a tour, will it be in Amsterdam, go over to blog and read all about it
Comments (0) |
Print |
Send |
638 Views
Another title for this post could be adding a property to BlogCFC. Basically I wanted to leverage Googles ajax API
rather than use a local version of the jQuery library. There are a couple of reason for this such as distributed CDN delivery, better caching on the users machine etc,
actually you might want to read this post
to understand why you would want to do this at all.
Back to adding a property.
-
We're going to edit the blog.ini.cfm (settings) file in org/camden/blog and add the following
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
#jQueryLocation=http://{Your Blog URL}/includes/jquery.min.js
jqueryLocation=https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
1#jQueryLocation=http://{Your Blog URL}/includes/jquery.min.js
2jqueryLocation=https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
The first line is there for redundancy incase you need to test something locally or you are on a closed system with no web access. The second line
is what we are insterested in for this post and points to Googles Ajax Library
-
In Blog.cfc in org/camden/blog add the following to (around) line 101. It should be obvious where its going
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<cfset instance.jquerylocation = variables.utils.configParam(variables.cfgFile, arguments.name, "jquerylocation")>
1<cfset instance.jquerylocation = variables.utils.configParam(variables.cfgFile, arguments.name, "jquerylocation")>
-
Finally in your Layout.cfm under tags/ change:
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<script type="text/javascript" src="#application.rooturl#/includes/jquery.min.js"></script>
1<script type="text/javascript" src="#application.rooturl#/includes/jquery.min.js"></script>
to the following
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<script type="text/javascript" src="#application.blog.getProperty("jquerylocation")#"></script>
1<script type="text/javascript" src="#application.blog.getProperty("jquerylocation")#"></script>
At this point we are pretty much done in terms of getting done what we set out to do. The following bit of code adds the new setting to the admin pages
so we can edit this in the future. What I explain next will add the jQuery location field to the settings.cfm in admin/
- Around line 91 the variable "keylist" is set. Add to the end "jqueryLocation"
- Find in the form where the "blogurl" is set and underneath add the following
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<tr>
<td align="right">jQuery Location:</td>
<td><input type="text" name="jqueryLocation" value="#form.jqueryLocation#" class="txtField" maxlength="255"></td>
</tr>
1<tr>
2<td align="right">jQuery Location:</td>
3<td><input type="text" name="jqueryLocation" value="#form.jqueryLocation#" class="txtField" maxlength="255"></td>
4</tr>
-
The final part is the validation rule. All I am doing is checking the value given is a valid URL. You could expand on this but for my purposes
this will do just fine. Look for <cfif structKeyExists(form, "save")> which is the start of the validation, go down a few lines and among the other
rules add
ColdFISH is developed by Jason Delmore. Source code and license information available at coldfish.riaforge.org
<cfif NOT reFind("https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?", form.jqueryLocation)>
<cfset arrayAppend(errors, "Your jQuery location must be a valid URL.")>
</cfif>
1<cfif NOT reFind("https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?", form.jqueryLocation)>
2<cfset arrayAppend(errors, "Your jQuery location must be a valid URL.")>
3</cfif>
Thats it, you're done now. Going to your settings and updating them will remove the commented out line we added in point one earlier but with a method
to easily edit the location this shouldn't be a problem now
Comments (0) |
Print |
Send |
1492 Views
For anyone interested in this I have had an email from Adobes CF BUuilder bug tracking system about my bug(ID: 81384 ).
They have acknowledge my bug and its targeted for: CF Builder 2.0, Alpha 1. Obviously there is a caveat that any targeting information an estimate and can change during the course of bug triage.
Comments (0) |
Print |
Send |
658 Views
For anyone thats interested CFBuilder doesn't support HTML 5 tags to which I have logged a bug at http://bit.ly/4rowzc (BUG ID: 81384 ).
@cyberangel67 (Andrew Scott) has also added that it would be good at project level to select which HTML version is required.
Comments (1) |
Print |
Send |
656 Views
I've been meaning to blog this for a while.
When it comes to getting rid of the amazing amount of whitespace CF can generate in your page there are quite for tricks to getting around this from multiple tags to server filters that you can use.
With Railo its a little more simplier. Log in to your admin panel, go to "Output" in the left hand side and check "Whitespace management: Removes all white spaces in the output that follow a white space".
Comments (7) |
Print |
Send |
810 Views
If you are running CF Builder in standalone mode on the Mac and you are having issues there is a bug submitted by Seb Duggan at http://cfbugs.adobe.com/bugreport/flexbugui/cfbugtracker/main.html#bugId=80249
Bug description:
Running standalone CF Builder on OS X 10.6.1.After a short time, the whole system slows down, especially when switching between applications (I have 10GB RAM).Activity Monitor shows that the WindowServer process is fluctuating wildly, often right up to 100% CPU.Quitting CF Builder stops the process misbehaving, and computer performance returns to normal.
Comments (5) |
Print |
Send |
959 Views
After installing CFBuilder beta 2 in standalone mode I noticed that after a period of time the WindowServer service was eating up my CPU.
After a quick mention on twitter I found out @sebduggan was also having the same issue.
For anyone else getting this @sebduggan has posted a bug to the Adobe ColdFusion Bug Tracker (ID: 80249)
For the record I have gotten around the issue by installing CFBuilder as a Pluggin to a fresh copy of Eclipse
Comments (0) |
Print |
Send |
348 Views
Its a good day to be a CF Developer!
ColdFusion 9 has made it out of the labs in to the wild, while CFBuilder has made it to beta 2. Get 'em while they're hot!
Comments (0) |
Print |
Send |
303 Views
With a new new manager at the UKCFUG Kev is looking for your say in how it can serve you better.
This is going out to everyone, not just the regular members but even the ones who have never been. Maybe you've never liked the topics, maybe you think you know what will make it better well nows your chance! Go to http://ukcfug.uservoice.com and vote on the ideas or even add new ones.
Comments (0) |
Print |
Send |
204 Views
After admitting I had a little Adobe Max jealousy @ryanstewart DM'd me to let me know you can catch the keynote online. All you have to do is register at http://max.adobe.com/online/keynotes/
Actually, after a little digging around Ryan even posted about this yesterday.
Comments (0) |
Print |
Send |
278 Views
And the price of the ticket should make the tightest of managers happy - €0,00 (thats £0.00 or $0.00). You read that right, its free as in beer, so check out the scotch-on-the-rocks.co.uk site for more information. Below are the dates and locations. I'm already registered for London and trying my hardest to get to the Amsterdam one as well.
Comments (0) |
Print |
Send |
277 Views
Railo 3.1 has been released. This see's a year of development come together for the open source CFML engine.
I've been running the beta source successfully for a couple of sites with no issues.
Check out the Press release, Whats new, download it, or even suggest new features and vote for others.
Comments (0) |
Print |
Send |
247 Views
Updating Railo couldn't be easier. In case you didn't know, from the Administrator under Services go to Update and if a patch is available you can "Execute Update"
Whats even nicer is that you can change where you get your update from and if you want to be on the edge you can point the update url to http://dev.railo.ch/. This is currently looking at 0.24 and will give you access to the new looking admin (follow the links below for screenshots)
- http://www.markdrew.co.uk/leak/Picture%203.png
- http://www.markdrew.co.uk/leak/Picture%204.png
- http://www.markdrew.co.uk/leak/Picture%205.png
- http://www.markdrew.co.uk/leak/Picture%206.png
Comments (0) |
Print |
Send |
258 Views
Previous Entries
/
More Entries