Adobe Flex 4 for Coldfusion programmers -- all day training -- Nov. 20 -- San Francisco -- FREE!!

I'm not sure if everyone is aware of the subject of this posting, but if you're not, please visit this url for more information: http://ria.meetup.com/12/calendar/11859336/

If you're in the bay area and want to get your feet wet with Flex this is the place to be.

Hope to see you there!

jquery ajax + xml + IE = hair loss

I've done ajax before with jQuery with good results on all browsers...until

I used an XML return with IE (all IE's that is).

When returning XML from a CFC (or any other server-side script), IE doesn't treat the XML document as, well, XML.

It actually barfs on it unless you tell it to load up the ActiveX control to parse your XML doc. (psst..Thanks Microsoft).

Just look at this:


$.ajax({
type: "POST",
url: "ajaxtest.cfc?method=getallblogs",
data: datastring,
success: function(data) {
var xml;
if ( $.browser.msie ) {
xml = new ActiveXObject("Microsoft.XMLDOM");
xml.async = false;
xml.loadXML(data);
} else {
xml = data;
}
$(xml).find('blog').each(function(){
var id = $(this).attr('id');
var title = $(this).find('name').text();
var url = $(this).find('url').text();
$('<div class="items" id="link_'+id+'"></div>').html('<a href="'+url+'">'+title+'</a>').appendTo('#blogInfo');
});
}
});


See that little blurb in the ajax call for "if ($.browser.msie)"? That's the call you'll need to do to make IE behave like 99% of the other browsers out there.

I've put together a short demo. I know the code is duplicated, but this is for demo purposes. Hope this helps you guys doing XML data returns.

Oh and once again "Thank you Microsoft" for making my web development career such a wild adventure.

XML data return demo

p.s. the data returned is from my blackberry bloggers site. If you're a blackberry fan, check it out (http://www.blackberrybloggers.org). It might look a bit familiar :)

It's 2009 and companies are still using CF 5.0?

Look at this job opening....

Dice Job for CF 5.0

Shocking...

Coldfusion 9 vs latest iteration of Railo?

Does anyone know of any comparison sites out there that I can view?
Or does anyone know off the top of their head the pros/cons of each?

I know the big glaring PRO of Railo = FREE. But, I've always believed in, "you get what you pay for".

Thanks!

Aptana Standalone + CFBuilder plugin...possible?

I've installed Aptana Standalone, then downloaded CFBuilder. I was hoping that I could install CFBuilder as an add-on to Aptana, but seems like I can't.

Is there something I'm doing wrong? Should I do the CFBuilder as a standlone then Aptana as a plug-in?

Thoughts?

Thanx

Dreamweaver CS4 balance brace highlighting?

Does anyone know if there's a way (even with an extension) to get DW CS4 to act like Eclipse when highlighting balanced braces?

I love this eclipse feature. Turns my braces red to show where I'm missing closing braces or have too many closing braces. I just wish there was a way to do this with DW CS4. I find Eclipse to be buggy. I get so many "java.lang" errors that it's driving me batty.

I have CFEclipse, Aptana, and SVN plugins installed in Eclipse Ganymede (3.4?), and I'm getting errors each time I switch tabs. Very annoying. I'm not a happy camper with Eclipse. (where is Bolt!!!?!?)

SVN/CVS: Any good Commit Comment templates?

We're implementing SVN in our office and well, things are well under way.

However, people are going to start committing their changes in various ways. So reading commits from multiple developers (might) prove to be confusing.

I was playing around with SVN for eclipse and it's got a great feature called, "Commit Templates".

Being new, I created 2 templates for myself and was thinking about making Commit Templates a standard among the developers.

Here's what I made up so far:

=BUG FIX=

Bug Description:

Fix:

Project:


=NEW FEATURE=

Description:

Project:


Again, these are just for me. I was wondering if anyone else has any other templates that you use and like?

Thanks!

Aptana + CFEclipse vs Eclipse + Aptana + CFEclipse

Can anyone tell me if there's any difference from using:

Aptana Studio with CFEclipse plugin
vs.
Eclipse with Aptana plugint + CFEclipse plugin

They both do the same thing. I'm using the latter and am wondering if I'm missing out on anything by using the former?

I'm having trouble with Aptana + CFEclipse. I can't open any CFM files after I install the CFEclipse plugin with Aptana Studio. I get a java.lang. error. But, using Eclipse/Aptana/CFEclipse, I can open my CFM files.

I've tried uninstalling and reinstalling and cleaning up the registry on my WinXP Pro box, but the Aptana issue keeps cropping up.

Sooooo looking forward to going back to DW CS4....

Dreamweaver CS4 + SVN...anyone try this?

I just started a new job where they use Eclipse. No biggie. They just wanted to use it because of it's Tortoise integration and CFEclipse.

I have yet to embrace Eclipse or CFEclipse for that matter. I'm strictly a DW fan.

Since DW CS4 is on my home machine and I don't employ any versioning control on my home machines (does anyone do this?), I was wondering if there were any pitfalls with using the SVN plugin for DW CS4.

Thanks everyone!

Coldfusion Shopping Carts - Any suggestions?

I have a friend who's looking to add a shopping cart to his site. He's asked me to help, which I'm ok with. But, his current site is on PHP (i know..booo). So I spoke to him about language preferences. He was ambivalent. He just wants a shopping cart and at the top of the google rankings (the holy grail, right?).

So since language isn't an issue, I thought I'd investigate some CF shopping carts. Before I make a decision, I thought I'd ping the CF universe and see what, if any, experiences you've had with various shopping carts on the market.

I'm looking closely at http://www.quilldesign.com. Their cart looks to be quite robust.

Thanks everyone!

More Entries

Calendar

NAVIGATION

Recent Comments

RSS

Search

Subscribe

Tags