Starting Working With ColdBox

A few weeks ago I started trying out the ColdBox Framework for ColdFusion.  I have to admit that at first I found it confusing, because it's approach to development was so much different from the previous approaches I had taken on my own and at work.  It hasn't helped that I haven't had an overwhelming amount of development time at home to work with it, but so it goes. 

However, now that I'm getting my head around it's approaches, I'm beginning to figure out just how to work within it.  The use of events and views and their separation is becoming more familiar, and really make sense.  Instead of having code for events in the top part of each one of my pages, I can now keep it separated, which should help me to maintain easy to read and maintain code.

As I continue to work with ColdBox, I plan on writing here about my experiences.  So if you're interested, come on back and see how it's coming.

Last.Played 1.0 Released!

lastplayed_example Are you a Last.FM and BlogCFC user who doesn't want to bog your site down with  bulky flash applications, but still display the music that you love?  Well, then Last.Played is the BlogCFC Pod for you.  Easily display the song information and album art for the music you have most recently listened to, and even generate income by linking to Amazon product pages!

Last.Played Homepage

Mostly, this was just a fun little project to create something I wanted, and I hope others can make use of it as well!

A Big Welcome To BlogCFC

Well, after several months of just having the time to make the changes to my homebrew blogging solution, I've decided to make the move to Ray Camden's BlogCFC.  Part of this was because I wanted to have more time to work on other projects, and part of it was to make writing to my blogs easier on myself.  So, I've made the move with both this blog and my one over at IfJesusHadAWebsite.net

I'm sure I'll be making a number of tweaks to the look and functionality of the site.  I've already made a few changes to have both blogs run on the same instance under different URLs, maintain separate pods (or the blocks over on the right), and work smoothly with Gmail for Domains available through Google Apps (thank you CF8 and useTLS).  Oh, and while the old URL's won't work any more for posts and such, they will dump you out on the main page.  However, the feedburner feeds have been updated, so you won't miss anything if you've subscribed.

Hopefully, this will be a relatively smooth transition though.

ColdFusion 8 Officially Released

ColdFusion 8 Now Available!

Happy days, people! Happy days!

ColdFusion 8: UI Adventures

Well, this week I finally got a chance to play with my CF8 beta server, and I'm liking the new user interface tags. It's not that they do anything revolutionary, but they do the things that we developers need to do regularly with ease and consistency.

For example, the cflayout tags will help make websites with cleaner layouts. I heard someone remark that the same thing could be done with 3 lines of CSS, but I've probably seen around a dozen different ways to create what looks like the same layout using CSS. Cflayout will allow teams of developers to more easily get on the same page and do things more consistently.

The cfpod tags seem a little goofy, but allow for small contained parts of pages that can be refreshed.

Probably my favorite part so far is the cfwindow tag, which allows for the creation of a floating window over the page. The reason I like them is because we use a lot of modal windows where I work, and we've got a series of large javascript files to manage them (which have gotten a little unwieldly over the years). With the cfwindow tag, we can eventually replace this design with just a few lines of ColdFusion code.

The only part I'm getting used to is the ColdFusion-ized javascript calls for refreshing parts of a layout, a pod or a window. It just seems less straight-forward than most ColdFusion code, but I guess we're a bit spoiled in that aspect. I'm sure once I'm used to it, it will become second-nature like most of the rest of the code is.

All in all, I'm seeing some very positive changes being made to ColdFusion so far, and I'm looking forward to exploring it further and start building full apps in it.

ColdFusion 8 Server Up And Running

Well, I finally got my ColdFusion 8 beta server up and running at home last night. Didn't get a chance to play with it yet, but looking forward to that in the coming weeks! So much cool new stuff to learn!

cf_DeveloperPersona

I got this from Ray, who got it from Tim, and I thought I'd follow suit and throw my hat into the ring with this meme. It's supposed to be a way for Adobe to learn a little more about their ColdFusion clientelle, so here's my contribution:

  • 27 years old

  • Married for a year and a half, no kids yet

  • Drives a 1998 Toyota Camry, maroon

  • Lives in an apartment, a nice two bedroom. Decorations are hard to classify, but are heavily influenced by functionality and the IKEA catalog.

  • Has strong allergic reactions to Macs and can't stand the Mac/PC commercials (too many broad strokes and false statements). Likes UPS Whiteboard commercials, because they are just straightforward.

  • Didn't see a single movie nominated for the Oscar for best picture, but was generally disappointed in many movies this year anyway. Still want to see some on the list, though, including: The Last King of Scotland, The Departed, and Children of Men.

  • Into LOST, 24, Law & Order (any), and Mythbusters. Also enjoys Iron Chef from time to time.

  • Like playing hoops, swimming and rollerblading, but never have enough time to do them.

  • Food? Wings, pizza, steak, Chinese, and Indian make the Top 5.

  • Music? I like a little of everything, but focus mostly on Alternative, Rock, and Christian Rock. My Last.FM profile gives a pretty good depiciton of my tastes.

  • Can lose long periods of time watching Top Gear clips on YouTube.

 

Moving On Up Again

Well, I'm making another change on the job front in the coming weeks. Today, I accepted a position at Northrop Grumman and gave my notice at EFS. I'll finally be getting back to ColdFusion development after working the last 10 months focusing on Database Administration. I'm really looking forward to the change.

I can't say anything bad about my time at EFS. It's been a great experience in getting to learn more about business after coming off of working at an academic research study, and I've enjoyed working with everyone there. However, I really wanted to get back to developing in ColdFusion, which was the main motivation behind the change.

Looking forward to seeing where this move will take me!

ColdFusion Search Engine Safe URLs

After seeing this post on SES URLs from Ray Camden, I noticed that the idea behind it was similar to what I was already using on this blog software. I didn't think it was all that incredible on it's own, buy maybe I was wrong. Anyway, here's the code I've been using in my application.cfm file:

<cfset urlstring = cgi.path_info>
<cfloop from="1" to=#ListLen(urlstring,"/")# index="i">
    <cfif i mod 2>
        <cfset paramName = "URL." & ListGetAt(urlstring,i,"/")>
    <cfelse>
        <cfparam name="#paramName#" default="#ListGetAt(urlstring,i,"/")#">
    </cfif>
</cfloop>

This is written for general ColdFusion use, not the Model-Glue environment, so there's no check for an event variable. It's not too much different, but I thought I'd go ahead and post it. Feel free to use it for your own purposes, but please give credit where it's due. Smile

RIAForge Announced

Ray Camden and Ben Forta, two of the leaders in the ColdFusion movement, have announced the creation of RIAForge, an open source repository for projects built with Adobe tools (including ColdFusion, Flex, Flash, etc.).

The ColdFusion developer in me is excited about this new resource. CFOpen.org was good for a while, but it really sputtered out a couple of years ago. It will be good to start building better projects in the open source environment, both for me as an individual, and for the CF development community as a whole. Kinda a proving ground for the tools we love.

So, if you're a ColdFusion or other Adobe product developer, you'll probably want to check out RIAForge ASAP.

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9. Contact Greg