06.15.04
Generating
Random Strings With ColdFusion
Here's an interesting little bit. You can download the CF_RandomPassword
custom tag from the ColdFusion Scripts section, but I though I’d write
a brief article to explain what it does and show how to use and get
ASCII character values in ColdFusion.
To begin with, we need to decide what attributes the tag will have.
I wanted users to be able to choose whether the random string returned
was alphabetic, numeric, or a combination of the two. So, I’m going
to have one attribute that contains that information: CharacterSet.
Read
The Whole Article
Java
Objects and Classes in ColdFusion
In this and following chapters, we examine the nature of objects and
types of objects and how they interact with one another.
Classes are factories for objects. Once a class defines the kind of
data it can hold and the operations it is capable of performing, a
particular object can be made. For instance, "Ludwig" is an instance
of the "person" class. Once instantiated (once a particular instance
of a class has been brought into existence), the object often needs
to relate to other objects similarly constructed in order to have
a meaningful existence. Once the object can no longer fulfill the
obligations of meaningful service to the organization of objects to
which it belongs, it is taken out of service. Understanding the concepts
presented in this chapter is crucial to excelling at Java development,
as the object is the foundation of Java.
Read
The Whole Article |
Developing
a ColdFusion/J2EE Solution
At this point, the pre-development phase of the Sonic Systems project
was well underway. The client's requirements had been gathered and
the preliminary groundwork had been laid for finalizing the project
blueprint. In order to finish this document, the detailed planning
now needed to be completed. The aim in creating the blueprint was
to eliminate the possibility for changes in the architecture during
development, and to help development go as smoothly as possible.
From this point on, Victor would need to do most of the planning,
with support from others. He really had to determine precisely how
Project Omega was going to build this portal solution: what templates
would need to be created, the exact structure of the database, the
whole package. This planning was a crucial part of the process. Any
errors could lead to a delayed launch and cost overruns.
Read
The Whole Article
User
Defined Functions in ColdFusion
User defined functions allow developers to keep frequently used pieces
of code together in reusable units. For example, you may often find
yourself checking the size of a particular file or counting the number
of records in a database table. You might find that you need to find
out if a string is upper or lowercase, or convert a string to an array
of single characters.
Whatever your need, user defined functions (UDFs) can help you accomplish
your goal. In this article, I'll show you how to create user defined
functions using cfscript so that your function is compatible with
both ColdFusion 5 and ColdFusion MX.
Read
The Whole Article
Multiple
File Upload with CFFILE
If you are designing any sort of web site, at some point you are going
to need a way of uploading documents, images or anything else to your
site. ColdFusion easily handles the task with the CFFILE tag. Before
you get started, however you should check to see if your hosting company
allows you to use that tag.
I will start off with some of the basic CFFILE syntax then work into
multiple file uploads and end up with a very versatile system for
doing file uploads that you will be able to use in many applications
and allow you to enter the information into a database if needed.
Read
The Whole Article
| Try
FinalDraft -- An integrated draft and discussion system
for technical writers, engineering groups, marketing copywriters,
and other content providers who require reviewer input on their
writing. -> Free
Demo |
Creating
Free PDFs from Your CF Application
I'm sure most of you have been in a situation where either your employer
or customer doesn't like the way content from a Web browser looks
when printed. There are many ways to provide printable content, but
one of the most popular formats of printable material is PDF format.
There are many solutions to creating PDF documents from your ColdFusion
application, but they all cost money right?
Some PDF solutions are not cheap at all and maybe cost isn't the only
issue. Maybe you want to do it yourself without using a CFX tag. What
if I told you there was a way to create PDFs from CF for free without
using a CFX tag? Would you be interested? If so, then read on ...
Read
The Whole Article
Read this newsletter at:
http://www.coldfusionpronews.com/2004/0615.html |
|
| From
the Forum: |
| Stupid
Form Question |
I need to know how to make my submit and
reset buttons apply to all the forms on the page. I created
an image gallery type page in dreamweaver with just simple
table cells and check boxes. All the checkboxes and the one
text entry field are all in their own form. ...
|
|
|