Explore the Articles

Server Side

Extended Operations on ColdFusion Sessions

This article overviews a number of undocumented functions which can be performed on ColdFusion sessions to extend their usage.

Read More
Server Side

Adapting Your Framework

In the last couple of months, [I] have been doing a lot of thinking about frameworks. They certainly are very important, and each has it's strengths and weaknesses. But are we choosing our frameworks for the right reasons?

Read More
Server Side

CF Reports: Using Input Parameters

Ben Forta starts the first in a series of Coldfusion Reports.

Note: Flash player required to view this Breeze presentation.

Read More
Server Side

PHP and JavaScript Interaction: Storing Data in the Client, part 3

In the final article in our series about using PHP and JavaScript to store data on the client side, we will be building on what we learned about server and client interaction to create a JavaScript-based paginating system.

While the subject is far too extensive for being completely treated in a couple of articles, from my point of view, [I've] tried to contribute a bit by explaining a simple approach for storing server-side data in JavaScript arrays.

Read More
Server Side

PHP and JavaScript Interaction: Storing Data in the Client, part 2

In the first article in this series, we developed a simple PHP function that dynamically generates a JavaScript array and populates it with external incoming data. In this article, we will develop a real world application using this method, in the form of a news ticker.

This is the second part of the series "PHP and JavaScript Interaction: Storing Data in the Client." Welcome back! If you've been following the concepts covered in the first article, then you probably have grasped the underlying ideas behind the approach taken to store data (text files or database records) directly in JavaScript arrays, avoiding additional or unnecessary server loads.

Read More
Server Side

PHP and JavaScript Interaction: Storing Data in the Client, part 1

Certainly the concepts have been covered repeatedly in countless articles, books or papers you can imagine, digging into the territory of Web development: server-side and client-side programming... In most situations, this interaction is bi-directional. You might see either server-side languages, such as PHP, generating client-code, that means JavaScript/(X)HTML, or JavaScript functions building up data to be processed in the server. Either way, the process is often a two-way street. Particularly, if we take into consideration the first half of the equation, where PHP (or the server-side language of your choice) performs some kind of quick client-program generation, we rapidly end up storing some temporary data directly in the client computer's memory.

We'll demonstrate how to use this approach to store data in the client and noticeably reduce the client-server transferring process, developing a couple of applications useful for implementation on any project of your choice. Let's get ready to try out a combination of PHP and JavaScript.

Read More
Server Side

Dynamic Text Replacement

Before sIFR (Flash title replacement), there was good old JavaScript and PHP, to generate images from text using any font you like. All without changing the structure of your HTML or CSS.

Text styling is the dull headache of web design. There are only a handful of fonts that are universally available, and sophisticated graphical effects are next to impossible using only standard CSS and HTML. Sticking with the traditional typefaces is smart for body text, but when it comes to our headings — short, attention-grabbing blocks of text — it would be nice to have some choice in the matter. We’ve become accustomed to this problem and we cope with it either by making the most of the few fonts we have, or by entirely replacing our heading-text with images.

Read More
Server Side

Use CF to block problems with Google Accelorator

Explains some problems that developers are having with the Google Web Accelerator. The tools speeds up your surfing experience by trying to pre-fetch all the content for links on the page. That way whichever one you click it already has the content.

Read More
Server Side

Using cftree For Server Side File Selection

Allow for file selection so that a user could pick a data file on the server. now supports recursion (as of CFMX7), so getting the files is easy. Getting them into is a bit trickier because the returned query cannot be passed to as is ( needs a flat query, not hierarchical data).

Read More
Server Side

Simple ColdFusion Stored Procedure Example (Oracle)

Small example to create an Oracle stored procedure and a ColdFusion page to run it, so for the benefit of anyone else looking for a simple example for testing...

Read More
Newer articles Older articles