Quickribbon

Search

Subscribe

Enter your email address to subscribe to this blog.

Recent Comments

Creating a grid toolbar in ColdFusion 9.0.1
brett said: You comments talked about adding a total number of records to the footer bar in a cf9 grid. I have n... [More]

ColdBox Contest Entry
JT Davis said: Dan, Timely and well built module. I'd been climbing the learning curve on securing a project but ha... [More]

Creating a grid toolbar in ColdFusion 9.0.1
Andre said: For example, I have a grid with product and price column... I need to add on the footer, the count o... [More]

ColdFusion ORM Naming Strategy
Dan Vega said: No idea why you would be getting that, sorry Mike [More]

Creating a grid toolbar in ColdFusion 9.0.1
Dan Vega said: @Andre - You can add a footer to the grid just like you can the header. Are you trying to add the su... [More]

ColdFusion Position here in North East Ohio

A position opened up at a company that I used to work for. The position description is below and if you have any questions about the company please feel free to ask.

The successful candidate will be an experienced ColdFusion programmer skilled in new application development and in supporting existing ColdFusion applications. The selected candidate will work directly with clients gaining an understanding of their needs, translating those needs into functional requirements, documenting said requirements, and building ColdFusion applications that meet the identified needs. Four years of work experience designing, building, and administering strategic or high volume ColdFusion web applications for diverse audiences is preferred. Must be experienced with standard web technologies (HTML, CSS, and JavaScript) and have experience in using AJAX and jQuery. Must have solid experience in designing database tables and efficient SQL queries. Must possess strong verbal and written communication skills and have the ability to communicate effectively with both technical staff and non-technical personnel. Qualified candidates should be self-motivated, capable of working independently and in a collaborative environment. Salary and benefits will be commensurate with candidate's qualifications ranging between $50,000 and $80,000. Screening of applicants will begin immediately and will continue until the position is filled. To apply online, please email jobs@letternine.net.

 
 

Getting the public IP address of a visitor

I know this may seem like a pretty easy question but I have yet to find the answer. I am working on a project at work where we have 2 sets of data and only certain visitors can see certain data. We have 1 set of data that can only be shown to users visiting from the United States and the other from anyone outside of the US.

I have already found a way to get country data based on the visitors ip address. The real trick here is provided the service with the users IP address. I know your probably thinking to yourself that is easy, but I am having trouble over here. If you use web server variable cgi.remote_addr you will get the correct address most of the time. In my case though many of our internal visitors are under the umbrella of our proxy server. This means that when I use cgi.remote_addr it actually retuns an internal address.

My question to all of my smart readers is, What are my options. I have the backing of my server admin so he can help me out in anyway I need but this is new territory for me. Any guidance you can provide is much appreciated.

 
 

Getting started with Mura CMS

it really has never been easier to get started with Mura CMS. In fact I am going to show you how to get started today without ever visiting the Mura website or setting up a database & datasource.

To get started using my method you need to be running ColdFusion Builder. This is because we are going to look at a cool extension for Builder called Mura Tools. This extension allows you to download the latest version of Mura right into your project. The plugin also offers options for creating and building Mura plugins. To get started follow the instructions for installing Mura Tools using their update site. When you have it installed simply right click on a project and select Mura CMS --> New Mura Install. When the dialog box comes up simply hit finish and the latest version of Mura will be installed, how easy was that?

Next you need to navigate to the project, in my case I have a project on my local machine called muratest so I simply went to http://localhost/muratest. When Mura loads up for the first time you will see a page like the one below. Now it use to be that you had to create a datasource + database and enter that information here but now you no longer have to do that. If you select auto create and enter your admin api password Mura can auto create the database + datasource for you. In the example I created I had the lastest version of Mura installed, a datasource + database created for me and the Mura install finished all under a minute. Now that is impressive!

You have no excuses now. It is about time you give Mura a test drive and see for yourself why it is the best ColdFusion based CMS around. Actually its just an awesome CMS regarding what language it is built on. I have a ton of clients and coworkers who absolutely love the platform. Now go manage some content ;D

 
 

Quova GEO Location ColdFusion Example

I have a project coming up at work where we need some information about the visitor such as their country. I know there are free services out there but we need a service that we can count on and that we can use with a high volume of requests. After some searching we decided to go with Quova.

If you want you can sign up for a developer account to test it out. They also have some good documentation for their REST API. They also have some code examples but none in ColdFusion. No problem, should be easy enough to write ourselves. I also pinged them to see if they wanted to add my example to their collection, I will let you know if I hear back from them.

Nothing to crazy here, but a couple things to note. We needed the current time in seconds so using Java we can get the time in milliseconds and then just convert. Now a big got ya that threw me off was the signature. It HAS to be in lower case. This stumped me for a few minutes but after I figured that out (it was in the docs) It was smooth sailing.

Continue Reading >>

 
 

TV Tuesday: What's Next in ColdFusion

Take a sneak peek at new features available in the next release of Adobe ColdFusion. Some big changes in both ColdFusion architecture and abilities are coming up, involving HTML5, performance, mobile development, security, and all-around enhancements.

 
 

More Entries