Refreshing Data after update

I remember seeing this somewhere, but for the life of me I can't remember. User 1 is updating data. User 2 has the same data window open. When User 1 does the updates, User 2 sees it without refreshing the whole page. Does anyone know of any examples of this?

Locking Database Records

How do you go about locking database records in a web application app? Say User 1 selects a record to edit and User 2 selects that same record a few seconds later, how do you deny User 2? Update a field in the database? And say User 1 is on the edit screen for 20 minutes, made a couple of changes, but never clicked submit? Do you time them out? Do you save the record then time them out? Would ajax work here? Any suggestions on how one might due this? (Using Coldfusion 8 and MySQL 5)

(Boy, that's a lot of questions)

Sorting IP Addresses with Coldfusion

I am creating an application to store IP Address information in it. However, sorting the IP Addresses has brought up a challenge.

I have 5 columns with Status, IP, Node Name, Comments, and Date. Sorting the columns is a piece of cake, but when I sort the IP column by IPs do something like this:


12.34.56.1
12.34.56.100
12.34.56.101
12.34.56.2
12.34.57.1
12.34.57.100
12.34.57.101
12.34.57.3
....

What I want is this:


12.34.56.1
12.34.56.2
12.34.56.100
12.34.56.101
12.34.57.1
12.34.57.3
12.34.57.100
12.34.57.101
....

Any ideas?

***EDIT I didn't want this to get lost in the comments, so here is the solution (for MySQL) I converted from the Internet host address into binary data using function called "INET_ATON".


Example:
SELECT INET_ATON(ipAddress)AS binary_ip, ipAddress
FROM ip_addresses
ORDER BY binary_ip;

Sava Content Management System

Today I came across Sava. There are 2 versions for it, a Standard and Express which uses Railo. I decided to try the Express to see what it is all about. Installation for the Express was a breeze. You just unzip and run a bat file and then browse to the demo page. The admin page seems very user friendly. Has anyone else heard of Sava and what do you think of it?

cfunited, cfobjective, or max

My department will pay for 1 conference a year. As a Coldfusion Developer, which conference would you recommend? I am leaning towards CFUnited because of what I have heard about it. Any thoughts?

*Note, I haven't been to any of the 3 conferences before.

Detecting a Mobile Device in Coldfusion

Ray West over at CommunityMX posted an easy way in Coldfusion to detect if a visitor is using a mobile device using the following code:


<CFIF CGI.HTTP_ACCEPT CONTAINS "text/vnd.wap.wml">
<CFLOCATION URL="/wap/index.cfm">
</CFIF>

I have yet to test it, so please let me know if it does work. I heard from a few that it does.

To Coldfusion or not to Coldfusion

As I have mentioned before, I have started a new job. Our current webserver is running the classic ASP (with Access as it's database, but we do plan to switch to MySQL or MSSQL). Of course, I want to switch it to Coldfusion. I am writing out a proposal to switch to Coldfusion and I am looking for some reasons why we should switch. If anyone can give me some reasons, I will add it to my proposal and once complete, I will post the proposal here so everyone can reference it later.

** UPDATE ** Here are a few bullets on found and came up with:

[More]

Savvy vs Farcry

I started a new job this year, and I am looking to implement a CMS. I have looked at Savvy (a commerical product) and Farcry (an open source solution). I have to say, I am pretty impressed with both.

I have seen a couple of presentations on Savvy, and it seems easy to install and implement. I have installed Farcry (version 5 beta) and it also was a breeze to install. From what I can see, both seem to be very flexible, but I don't see how I can justify paying thousands of dollars for Savvy, when Farcry seems to do everything. One feature I like in Farcry is that you can download a LDAP plugin to authenticate against Active Directory. Savvy was missing this feature. I also like how Farcry comes with a built in Reporting...Not sure if Savvy does.

I plan to still evaluate both, but if anyone else has any other suggestions or comments, that would be great! Does anyone know if there is a comparison chart between the two CMS's?

New Design & Coldbox CMS Coming Soon...Ahh, I hope!

So I decided to implement a new layout for hockeypfef.net. Is it done? I wish, but there is a lot I still need to implement in my spare time. Spare time, what's that?

I am also looking to develop a CMS for Coldfusion possibly using the Coldbox Framework. Any features you would like to see, please let me know.

Force SSL in Coldfusion

Have you ever wanted to force SSL on page in coldfusion? Well, it is quite simple. Just add the following code to the top of the page you want SSL on.

<cfif CGI.https is "Off">
<cflocation url="https://#cgi.server_name##cgi.script_name#?#cgi.query_string#" addtoken="no" />
</cfif>

Bam, all set!

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner