Important BlogCFC Update

BlogCFC 5.9.3.005 was released to the RIAForge project. This includes an important update to SweetTweets support. You may have noticed the first hit on a blog entry with SweetTweets enabled was super slow. This made sense due to the number of HTTP calls being made to fetch data. SweetTweets has nice caching support, but the end result was that your blog entries would be slow as heck on the first hit.

I've made a simple, but effective change. jQuery is now used to load the SweetTweet contents. This makes the blog entry load immediately and the SweetTweet links will load in a few seconds. I'm still using the cache, so on the 2nd-N hit, the information will load so quick folks won't notice the Ajax.

I hope this helps. A few other changes were made as well.

Comments
Chris's Gravatar Any news on version 6?
# Posted By Chris | 6/13/09 12:30 PM
Raymond Camden's Gravatar Nothing real. I'd like to start on it this summer. I've mentioned in other blog posts that I've rethought the skinning, which was the most difficult aspect, so it is a matter of finding the time.
# Posted By Raymond Camden | 6/13/09 12:40 PM
Adam Tuttle's Gravatar Nice, Ray. Did the AJAX idea come from my examples that show how to implement it with ajax, or did you come up with your own implementation?
# Posted By Adam Tuttle | 6/13/09 5:23 PM
Raymond Camden's Gravatar It was just a 5 minute quickie. FYI, to you, and to anyone reading, I definitely don't mean to imply your code is slow. It _has_ to do those HTTP calls. The fault was entirely mine in not doing it this way at first. :)
# Posted By Raymond Camden | 6/13/09 7:59 PM
Steven Erat's Gravatar Ah ha! Now I can retest with JMeter again!
# Posted By Steven Erat | 6/13/09 9:21 PM
Doug's Gravatar Ray, did you ever update the HTML and CSS to pass the W3C tests? I was going to download this version and take a look, but I didn't want my co-workers to see me cry again.
# Posted By Doug | 6/17/09 10:13 PM
Raymond Camden's Gravatar No, sorry.
# Posted By Raymond Camden | 6/17/09 10:15 PM
Andy's Gravatar Hey Ray,
Many compliments on the stability and scalability of BlogCFC!
That being said, I've got some questions:
Can you point me in the direction of a reliable discussion on dropping FCK into the blog as the default editor for everyone?

Is there a way to turn off commenting entirely, much like you can use allowtrackbacks=0 to disable trackbacks?

Which .cfm files would I have to tweak to add an expiration date feature to the entry process so that posts can expire, or be permanent if no date / time frame is given?

I'm having some difficulty placing pods on both sides of the main blog window (center column). First, I'm new to CSS, but your layout/styling seems pretty straightforward. So, 1) how can I have pods that flank both sides of the main blog "window" and then 2) center the entire thing on the background of the page to adjust for increase in width?

This is alot of stuff, so feel free to email me...
Thanks
-A
# Posted By Andy | 6/18/09 9:18 AM
Raymond Camden's Gravatar 1) FCK - I can't. I don't use it.

2) Turn off commenting: No, you could with a few small hacks. Like in index.cfm, find the code that shows comments and just add a "AND 0" to the clause. AND 0 will always make the clause false.

3) Expiration: You wan to _delete_ them? Or make them not show up?

4) CSS: Not sure really. The CSS was given to me by Scott Stroz. I can barely design a table. ;)
# Posted By Raymond Camden | 6/18/09 10:20 PM
Don's Gravatar HA! Found you here. :) Okay, here are my comments on this blog software. It is a pain. Let me explain. Most hosting companies don't allow the use of cfobject or createObject so I had to hack in and change them all to cfinvoke. Actually, for other people if they want it, I wrapped the calls in <cftry> tags so if the createObject fails it goes to a cfinvoke. This meant I had to put init methods in all the cfcs that didn't already have one.
Okay, next, is a question. Can I cut out all those render thingies? I can't get them to work. I'm getting an error that says
The string "variables.renderMethods[amazonbox].cfc" is not a valid ColdFusion variable name.
I've tried manipulating this everyway I can think of but can't get it to recognize this as a variable. Maybe there is a work around or a fix I'm missing.
# Posted By Don | 6/30/09 6:32 PM
Raymond Camden's Gravatar I will, respectfully, disagree with you on the createObject. Most hosts do NOT block it as blocking it prevents a lot of basic functionality that well-built CF apps need.

As for the render tags - no need to cut them out if you don't like them... just don't use them. :)
# Posted By Raymond Camden | 6/30/09 7:48 PM
Don's Gravatar Hmmmm. Problem being that without createObject they don't work. Actually, they don't work at all. CF says they are not proper variable names. Maybe I'll try them in CF8 and see if it works.
Well, I've tried 5 different hosts and they all have blocked dfobject and createObject so I must be looking in all the wrong places.
# Posted By Don | 6/30/09 10:49 PM
Raymond Camden's Gravatar I'd say you are. :) createObject is not a security threat. Some hosts shut it down because they think it is anyway.
# Posted By Raymond Camden | 7/1/09 6:39 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.001.