TextMate – My New IDE of Choice

A little less than a year ago I made the switch to OS X and treated myself to a Macbook Pro. Just recently, I started working with the TextMate IDE on a current contract.

My first impression was less than stellar. Visually, TextMate is pretty spartan. Applications on OS X are supposed to be pretty (see Coda). TextMate is most decidedly not pretty. But as I’m starting to learn, she’s got an amazing personality.

Sometimes it’s the little things that hook you in. For the longest time, I put off learning jQuery. Didn’t see the need. I’m pretty comfortable with JavaScript, and couldn’t justify investing the time to learn a new way to write what I already knew how to write. Then I learned about .toggle(). I was sold. I hopped into bed with jQuery and I’ve not looked back.

Today, I was introduced to TextMate’s equivalent of .toggle(). It may seem trivial, but it got me hooked, and hungry to learn more.

Read More»

jQuery – Ensuring Unique Usernames in Real Time

A question came up yesterday on the cf-talk mailing list. The question involved a user who is filling out a form and choosing a user name. The poster wanted to check in “real time” (after the blur event on the username input) that the name is unique.

As Steve “Cutter” Blades points out, this can be accomplished using Jörn Zaefferer’s Validation Plugin for jQuery. This plugin is essentially the defacto standard for doing validations via jQuery. It can be implemented very easily to do the most basic validations, but it can also be extended to do any number of complex validations.

That being said, I thought it still might be worthwhile to see a quick example of how to build out that specific functionality from scratch. How can we use jQuery to give a user real-time feedback as to whether or not a username is available? Start with the markup below:

Read More»

Los Angeles Bound… MAX Here I Come

Finishing up some last-minute packing before heading off for Adobe MAX tomorrow morning.

Saving a few dollars (I think… the price of gas might actually prove otherwise) by driving instead of flying. I like the convenience of having a car at the conference. Provides a little bit of freedom for getting out and about.

I’ll be picking up Sean Corfield at 9am. It’ll be nice to share the ride as it’s a pretty monotonous drive down I-5. Saturday night I’ll be hitting a Dodgers game with Scott Stroz and Ray Camden, which should be a good time. I don’t follow baseball, but I do enjoy getting out to a live game. I haven’t done that since I went to a Diamondback game back in AZ.

Sunday morning, Scott and I are heading over to ESPN Zone to watch the Giants vs. Chiefs. Scott and I both grew up in NJ, and are both Giants fans. Getting to watch the game together is going to be a blast. If you’re at the conference and want to meet up, we’ll be there for the early game (10:00am). Depending on who’s playing and who shows up, we may stay for the late games as well.

Sunday night is the Community Summit. This is my first year as a User Group Manager, and I’m really looking forward to meeting other managers and Community Experts.

Monday the conference starts in earnest. I expect that most of the time I’ll be in the ColdFusion Unconference area. Ezra Parker and I are going to be doing what we can to help Ray make sure everything runs smoothly.

With the exception of the Max Bash on Tuesday night, evenings are open. I’m sure both open evenings will fill up. Scott and I talked about the possibility of a trip to Fogo de Chao in Beverly Hills. Maybe Monday night? Any takers?

If you’re going to be in town, come by the Unconference area and say hi. I look forward to seeing you there.

jQuery – What You Can do with the Data Method

A question came up yesterday on the jQuery mailing list where somebody wanted to effectively “embed” data into a link. They essentially wanted to call a function on click, but needed to pass arguments. Since jQuery is supposed to be unobtrusive (e.g. “Find Something, Do Something”), how can we tell jQuery that, when a specific link is clicked, there’s specific data associated with that link?

The jQuery data() method allows you to do just that.

Read More»

ColdFusion and jQuery – New tutorial(s) on LearnCF.com (Part 3)

The long-awaited and eagerly anticipated (by me) conclusion to my 3-part tutorial on learncf.com on using jQuery to return JSON data from a ColdFusion CFC.

The tutorial can be found here. When all is said and done, you’ll have built this page, and hopefully you’ll have a good (better?) understanding of how it all works.

As always, hit me up with questions or comments.

ColdFusion and jQuery – New tutorial(s) on LearnCF.com (Part 2)

Part 2 of what is now a 3-part tutorial on using jQuery and ColdFusion has been posted to http://www.learncf.com.

To recap, Part 1 showed how to use jQuery’s getJSON() method to pull data from Twitter’s public API.

The current installation shows how to use that same getJSON() method to pull data from a ColdFusion CFC method, and output it to the current page.

A future installment will add some bells and whistles using various jQuery methods including show(), hide(), fadeIn(), fadeOut() and the new-in-jQuery1.3 live() method.

Check out the latest installment at http://tutorial43.learncf.com/. As always, I look forward to your comments or questions.

Registration for ColdFusion DevCamp Now Open!

What’s ColdFusion DevCamp? Organized by Sid Maestre (manager of BACFUG), Rachel Luxemburg (Group Manager, Developer Relations at Adobe), and Luke Kilpatrick (who recently organized the highly successful pre DevCamp San Francisco), the event aims to introduce ColdFusion to non-ColdFusion people. Whether it be designers or developers using other languages, this is a day-long hands-on introduction to the wonderful world of ColdFusion.

The event takes place on Saturday November 7th, 2009 at the Adobe office in San Francisco.

The current agenda:

  • 9:30-10:30 – Welcome, Laptop Setup assistance, coffee and donuts.
  • 10:30-11:00 – Keynote (State of ColdFusion).
  • 11:00-6:00 – ColdFusion – What’s possible (demos of ColdFusion tags).
  • 11:00-6:00 – Break into small teams and begin projects.
  • 6:00-7:00 – Share projects.
  • 7:00-7:30 – Raffle and close.

Lunch will be provided and served around 12:00 noon.

If you know of anyone in the Bay Area that’s been curious to learn about ColdFusion, let them know about this event. If you’re in the Bay Area and already know ColdFusion, register as a mentor. The more mentors that sign up, the better the experience will be for the students.

The cost for this all day hands-on event? Absolutely free. All that you need to bring is a laptop and a desire to learn.

Read more about it at http://www.cfdevcamp.org/. Hope to see you there!

ColdFusion and jQuery – New tutorial(s) on LearnCF.com

A couple weeks back, Paul Kukiel asked me if I’d put together a tutorial for http://www.learncf.com showing how to use jQuery and ColdFusion together.

I started writing, and about 14 pages later (including code samples), submitted the tutorial showing how to use jQuery’s getJSON() method to retrieve data from a ColdFusion CFC.

I started out wanting to explain what getJSON() does in terms that a ColdFusion user would easily understand, and then gradually take that concept and move towards a jQuery solution. I illustrated this by retrieving data from Twitter using one if their API methods.

Once the reader had a grasp of using getJSON() to retrieve data from Twitter (or any external site), I turned the focus to using getJSON() to retrieve data from a ColdFusion CFC.

Because it was a bit lengthy, Paul thought it would be best to break it out into 2 separate tutorials (and I agreed with this… in fact, I thought it might have worked well as 3 tutorials).

Part 1 has been posted at http://tutorial42.learncf.com/. Part 2 should be along shortly (depending on how quickly Paul can get it formatted for screen) :)

If you have any comments or questions on any of the material that’s covered, let me know.

Upcoming ColdFusion/Flex/AIR Events

Adobe MAX 2009 is coming up fast (October 4-7), and thousands of developers, designers, and decision-makers will soon be descending upon Los Angeles, CA. Certainly, MAX is one of the more extravagant conferences… and while it’s worth the price of admission, I wanted to let people know about a few upcoming events that might be a bit more “budget-friendly”.

Read More»

Add Twitter to BlogCFC

Twitter LogoI’m pretty close to being done with my latest re-skinning effort of BlogCFC, and wanted to add a Twitter Pod to display my most recent tweet.

I’ve done some work recently with the Twitter API for blitztweets.com, so I didn’t think it would be too difficult of a task.

I added a method to blog.cfc, added an application variable with the last update date/time (so as to only update every ‘n’ minutes and avoid potentially hitting the rate limit), and then created the pod itself (aptly named twitter.cfm).

After reinitializing the blog, everything looked good. I waited a few minutes, made a new tweet, and reloaded the page. Unfortunately, it didn’t update.

Read More»
Page 2 of 612345...Last »
© Copyright Charlie Griefer