Professional web design and Development company in Thailand. Interactive Thailand Multimedia that works

Web Design           Graphic Design         Multimedia             Sitemap                Contact


Beginner Tutorials - Coldfusion Web development Thailand

Inserting data into a database
This tutorial will show you how to insert data into a database, then have that information emailed to you and the person submitting the data.

Written by: Pablo Varando

Retrieving Records From a Database..
This is the basics of ColdFusion. This tutorial will demonstrate how to query a database and then display the records found.

Written by: Pablo Varando

Having Your Database Do The Work… not ColdFusion!
This tutorial will demonstrate how you can use the functions that come built in on your database to do the work, instead of doing the work in your code the hard way!

Written by: Pablo Varando

A Simple Contact Us Page….
Learn how to create a contact page in ColdFusion.

Written by: Pablo Varando

Creating a Quick and Dirty Hit Counter
Learn how to Create a quick and dirty hit counter.

Written by: Michael Smith

A quick intro into the world of Custom Tags!
The following tutorial will briefly touch over Custom Tags and show you what they are, how you use them, and how they benfit you by using them.

Written by: Pablo Varando

The CFAPPLICATION tag and Session variables..
In order to use session variables, first you have to instruct the Cold Fusion server that you wish to use them. Here's a tutorial on how to do just that!

Written by: John Bartlett

Alternating Row Colors!
This tutorial will demonstrate how to alternate row colors when outputing your data.

Written by: Pablo Varando

Sending multiple attachments with CFMAIL!
This tutorial will demonstrate how to send out multiple attachments with .

Written by: Pablo Varando

Inserting FORM data into multiple database tables!
This tutorial will demonstrate how you can use one form a user fills out to insert into multiple database tables.

Written by: Pablo Varando

Automatically adding CF comments in blank document
All the books on CF tell you to comment your code. And yet, when you create a new CF file in Dreamweaver MX, you have to add the standard comments manually every time. Not anymore!

Written by: Eric G. Myers

Automatically Adding Smiles To Your Messages!
This tutorial will show you how you can add smiles to your messages on the fly!

Written by: Pablo Varando

Send Page Url to A Friend
A simple script where a user can click a link that will take the current templates url and pass it to a email form which they can than fill in with their friends emails addresses to send their friends your site address.

Written by: Redmanz

Changing site color scheme
Add some personalization to your pages by letting the user pick their own color scheme. It's really quite simple and the benifits are awsome. This tutorial shows you how to set up your pages to use a dynamicly included scheme. It will also show you how to create all the pages neccessary to administer the color schemes.

Written by: Mark Aplet

Dynamic Sorting
This tutorial shows the basics of allowing your end-users to dynamically sort the order in which they view your records. You can have as many sort orders as you have fields viewed!

Written by: Redmanz

Trouble Shooting Cookies that work for you, One Possibility
I had had created a login that used cookies to give access to an area of the website. The owner of the web site could not login to the area using Windows NT, but upon testing I could always login with my windows 98 system. I could not figure out why the NT system would not login, but I could.It seemed to be a coding error by the site owner, since other sites could belogged in to. Some time later I stumbled upon the answer.

Written by: Deborah Evans

Frameless Frames in CF
The appeal of frames and the continued use is -- to leave one constant item on a part of the page.However clever, they are a pain to code, setting targets and defining the columns and then there that scroll bar thing. Here is an easy way to create the illusion of frames on your page.

Written by: D Evans

Navigation as an include file
Create an include file (custom tag) for your navigation to help make maintenance easier! This include file lights up the button depending on where the user is at in your website, and is XHTML 1.1 validated! If you need to edit your navigation, just do it in 1 place, the include file! Javascript included :)

Written by: Jim Summer

Replacing "enter" key with "<br>" tag
This little piece of code will transform those pesky "enter" keys in a textarea into "
" tags so your users input is printed out properly in your html page.

Written by: Jim Summer

Checking for submitted form fields
This sets all of the submitted form fields and values into a list then loops through the list of fields and values.

Written by: D Evans

Count Down
Easy CFM file that counts down from a distant date to the present. Can show how many days, months, or years.

Written by: Rhino

IP checker
Checks to see where the user came from and then decides where to send them.

Written by: Rhino

Auto Event Emailer
Queries the database everyday and sends an email automatically when certain events happen.

Written by: Rhino

Creating Databases in MS SQL2000
How to get your Data into MS SQL2000 and interface with Coldfusion in 34 Easy Steps!

Written by: Alex Allen-Turl

Print your web pages on the fly!
This tutorial will demonstrate how use ColdFusion, Javascript and Style sheets to create the perfect Printing Machine! ;)

Written by: Pablo Varando

Creating a Link Management System
This quick tutorial, shows you how to creat a Link system, that will count the amount of hits that your links create.

Written by: Alex Allen-Turl

Easy automatic debugging
Extend the use of the new tag in CF5to display any and all ColdFusion and CGI variables.

Written by: Nathan Miller

Creating Dynamic Image Galleries
A tutorial showing you how you can upload one Full sized picture, and have a thumbnail automatically created for you, along with descriptions of the image!

Written by: Alex Allen-Turl

Creating Dynamic Bar Charts
A tutorial showing you how you can create a dynamic bar chart!

Written by: Alex Allen-Turl

The Easiest Way to make a form!
This is by far the most easiest and simplest way to make a form and update it to the database, very low maintenance and very very quick!!

Written by: Alex Allen-Turl

Creating an ODBC Connection within ColdFusion MX Server...
This tutorial will show you how to create an ODBC (Database) connection from within your ColdFusion MX Administration Area.

Written by: Pablo Varando

Writing your first custom tag
A step by step guide on writing your first custom tag

Written by: Robert Bailey

Changing the Developer Edition IP Address
This article gives background and instructions on how to change the IP used in the Developer Edition of both CF5 & MX.You can link through to my site at www.defusionx.com

Written by: Ian Winter

CFSCRIPT Intro
An introductory look at CFSCRIPT. Rules, some basic syntax, and a couple of examples of loops and conditional processing.

Written by: Charlie Griefer (CJ)

Adding an indexed Search to your site (Part 1)
It is very easy to set up and create a professional search function much like a real search engine. Use Verity Collections and the tag to create fast search forms for your web sites.

Written by: Mark Aplet

CaSe SensitiVe password logins!
This tutorial will demonstrate how to verify users passwords to be CaSe SensiTive so add another layer of security to your applications!

Written by: Pablo Varando

Show Source to Friends
Not really a tutorial but some code to help you solve programming problems by showing your code online to your friends or associates.

Written by: Redmanz

Shout Box [LIVE]!
Ever want a place where people can chat or post their opinions? Ever heard of a shout box? This tutorial will give you an easy example of having a shout box on your site.

Written by: Drew Tempelmeyer

Display random images each time a page loads or is refreshed
This tutorial will show you how easy it is to display an unlimited number of images randomly on your pages. Each time a page is loaded or refreshed a random image will load.

Written by: Ryan BeMiller

Adding an indexed Search to your site (Part 2)
The long overdue part two of adding a verity search function. This part demonstrates how to index the information in your database so that it becomes usefull too.

Written by: Mark Aplet

What version of CFMX is my host running?
As of writing this there are four flavours of CFMX, for Windows at least, floating about. You may know what version YOU are running but what about your hosting provider? Run the code below to find out.

Written by: Peter Tilbrook

Simple Regular Expressions
It's a first in a three part tutorial on Regular Expressions, what they are, simple uses for them and also a test at the end. It goes through simple matching, start and end of strings, grouping and the | (OR) operator.

Written by: Paul Johnston

The better way to handle session variables
You can use these simple loops in place of many lines of code to clear out or delete session variables

Written by: Nathan Miller

Scope your variables
Increase performace and readability by always scoping your variables

Written by: Nathan Miller

ColdFusion Mad Libs - Part I
A silly but fun time-waster that you can easily include on your Web site. You might be surprised at how addicting it can become :)

Written by: Charlie Griefer (CJ)

ColdFusion Mad Libs - Part II
You've finished the first Mad Libs tutorial, but you feel like there's something missing. Of course there is! You want to be able to save the final output to a database to let your visitors browse through other user's stories. Includes a bad-words filter for the more conservative among us :)

Written by: Charlie Griefer (CJ)

to cfqueryparam or not to cfqueryparam
It's been out there since ColdFusion 4.5...most of us have heard of it...few of us use it. Here are some compelling reasons why you should get into the habit of using the tag.

Written by: Charlie Griefer (CJ)

Dynamic Column Output (Part One)
Have you ever wanted to display your content in rows of 3 columns? If you ever wanted to specify the number of columns per row within your content, here's the tutorial for you.

Written by: Charlie Griefer (CJ)

Dynamic Column Output (Part Two)
This tutorial picks up where the Dynamic Columns tutorial left off, showing you how to not only output your data in a specified number of columns, but how to do it while still publishing well formed HTML.

Written by: Charlie Griefer (CJ)

Small difference that can cause big troubles!
Trying to restrict certain pages of a CF MX Site via server behaviours isn't every time an easy task!

Written by: Florian Carstens

Grouping Output in CF
How to group cfquery output in order to effectively display relational database data. Includes an overview of how to output nested groups as well.

Written by: Charlie Griefer (CJ)

Adding form results to a file (not database)
A very simple tutorial that explains how to add information submitted from a form into a logging file. Very simple, yet lots of possibilities. Important for the beginning CFM programmer

Written by: Mike Bamberger

Delete Records From Your Database With ColdFusion!
This tutorial will demonstrate how to delete records from a database via your website using ColdFusion.

Written by: Pablo Varando

Why have my CFFORM's suddenly broken - using CFFORM in a hosted environment
If you are using the CFFORM tag in a shared hosting environment, and why wouldn't you as CF form elements can be very useful, you may now be receiving obscure JavaScript errors when your form loads. Never fear, the solution is a simple fix to an annoying problem

Written by: Peter Tilbrook

Add a newsfeed to your site
Use the Moreover news service to add a newsfeed to your site using cfhttp and wddx in 5 minutes!

Written by: Nathan Miller

Dynamic Sorting with CFSWITCH
Quickly and easily sort and order records in your database using a cfswitch in your query. Great technique for admin areas of your site, or just allowing visitors to sort the fields they want.

Written by: Mark Aplet

arrays and structures - part 1
part one of a three-part tutorial designed to gently introduce you to the world of complex variables.

Written by: Charlie Griefer (CJ)

arrays and structures - part 2
part two of a three-part tutorial designed to gently introduce you to the world of complex variables.

Written by: Charlie Griefer (CJ)

arrays and structures - part 3
part three of a three-part tutorial designed to gently introduce you to the world of complex variables.

Written by: Charlie Griefer (CJ)

Random String/Password Generation
This is a custom tag I wrote that generates a random string at the set number of characters using the characters you decide onAlphaAlphaNumericor NumericUppercase, lowercase, mixed case...It will create a variable that you name as you wish and call however you'd like.It is a small example of how to create a custom tag and will hopefully send someone in the right direction. It is also fully functional and has come in handy quite a few times. Enjoy and as always.. Have Fun!

Written by: Bobby Hartsfield

CF 'Best Practices'
Some tips and techniques that I've picked up over the years. I don't maintain that these are 'official' or 'absolute'...they are simply my preference and things that have worked for me. I would like to share them here, and leave you to make the decision as to whether or not they fit in your 'code arsenal' :)

Written by: Charlie Griefer (CJ)

A Basic Calendar Application to Build on
I have seen quite a few people looking for prebuilt calendar apps but the people I wrote this for are the people who wanted a headstart in building their OWN custom calendar app.It is very basic and does nothing more than display the currently selected month/year's calendar and give links to the PREVIOUS the NEXT month's calendars by using The DateAdd() function. Basically the backbone of any calendar app.Enjoy. and as Always.. HAVE FUN!

Written by: Bobby Hartsfield

Random Images In a Few lines of code
Ever wanted to run random images on your site, but didnt want tons of code? Here you go, every time the user refreshes the image is changed.

Written by: DesertTRD

Helping users obtain their passwords
Your site requires your visitors to log in. of course, some of your visitors are going to forget their passwords (ok, most will forget their passwords). You don't want them to have to send you an e-mail, and then wait for a response. They need immediate access.

This tutorial shows two methods by which you can accomodate them.

Written by: Charlie Griefer (CJ)

Basic Calculator
This is a tutorial to build a simple calculator for your web pages. You should get it pretty easily as you browse through the code.

Written by: Anang A. Phatak

Using ColdFusion for things other than serving web pages
Sometimes, ColdFusion can be used to do tasks that you wouldn't have normally thought of. This tutorial examines one such incident and the ColdFusion solution.

Written by: Steven Durette

Using ColdFusion Functions to clean up code
In another tutorial inspired by a co-worker, I look at the ability to clean up code using CF Functions in CF5 and CFMX.

Written by: Steven Durette

Changing the form submission page on the fly!
This tutorial is not ColdFusion oriented, but covers a great trick to allow you to submit a single form to a variety of different pages on the fly.

Written by: Pablo Varando

Slighty better search
Someone on the forum posed a question a short while ago asking how to create a more advanced search function using a + symbol as a separator. So I created this advanced search function. This search function is just slightly better than a normal search as it adds the ability to separate two keywords with a + symbol. Lets start with the search form.

Written by: Mark Aplet

Every Week has a Wednesday
This tutorial serves two purposes. First it demonstrates how to create a function that is usable in CF5, CFMX and CFMX6.1. It also demonstrates a math and logical way to determine the number of weeks in a month without looping.

Written by: Steven Durette

Dynamically add and remove a 'please wait' message to your complex pages
You can use a combination of and javascript to show a message on the screen while processing a large data set (or any other long-running task), and then remove the message when the task is complete.

Written by: Nathan Miller

Correct Content (document) serving!
This tutorial will demonstrate how to correctly serve documents via ColdFusion and allow you to correctly name the download as you see fit!

Written by: Pablo Varando

Multiple Reports with One SQL Statement
Your boss wants multiple reports from your database and he wanted them 5 mintues ago. This is a quick way to write one SQL statement but be able to query your database multiple times while specifying what values you want it to return.

Written by: Jennifer Davis

Background Color Changer
Simple list of links to:1. Change the background color of current page. 2. Demonstrate CFParam and URLEncodedFormat (both of them can be life savers!)3. Provide hours of fun for the easily amused (I'm guilty as charged).

Written by: Bryce

Use checkboxes on update pages
Do you have an update page and want to use checkboxes on the page? This tutorial will go over the two steps needed.

Written by: Rhino

Dynamic Last Date Modified?
This tutorial will demonstrate how to display the date a web page was last modified to your visitors dynamically.

Written by: Pablo Varando

Search Engine Bot Notifier
This code detects the most common user agents (web browsers) and notifies you via email if it is not a recognized user agent as defined in the code. Usually this will be a bot of some sort. Extrememly useful for tracking how often Google, Yahoo, etc visits your site. It will email you the bot and a reverse IP lookup url with the IP appended so you can verify if it is a "good bot" or a "bad (spam) bot" (then you can block that IP or stop processing of the page). Use this in your home page or as an include file throughout your site. Nothing fancy it should work on MX also although I have not tested it there.

Written by: Jim Summer

Currency Conversion using Web Services
A very simple currency convertor that uses the latest exchange rates through the available Web Service

Written by: Phil Williams

Querying a Query
This will show you how to query a query. It also demonstrates how to use the datediff function and how to find an average.

Written by: Jennifer Davis

The easiest method for multiple dynamic and dependant drop down lists, period.
The first EASY method for creating multiple, dependant, database driven drop down select boxes... Honestly!

Written by: Ryan M. BeMiller

Home | Web Design Thailand | Graphic Design Thailand | Multimedia Thailand | Contact Thailand Web Design | Site map
Phuket | Pattaya | Bangkok | Chiang Mai | Hua Hin | Krabi | Koh Samui