Xindi

Xindi is a small, lightweight and flexible CFML content management system. It's great for web developers looking for a simple way to make site content editable by their clients.

Open source, free and flexible, Xindi is a great choice for your next web project.

Learn more

Monday, December 5, 2011 ColdFusion ORM paging in FW/1 (Framework One)

Firstly, in your Handler add maxresults and offset keys to the RC structure and give them some default values. Maxresults is the number of results to be displayed per page and offset is the number of rows to skip. For example, if the value of both maxresults and offset is 10, records 11 to 20 will be displayed. By default we'll want the value of offset to be 0, but you can set the value of ...


Friday, December 2, 2011 Integrating Gravatar with your blog

Today I integrated Gravatar with my blog so, for commenters who have a Gravatar account, you'll now see an avatar next to their blog post comments. As long as you have a commenter's email address it's very easy to display their avatar. In Coldfusion simply convert the commenter's email address to lower case, hash it, convert it to lower case again and add it to an IMG ta...


Wednesday, October 5, 2011 Simple CRUD using CFGRID

I'm currently working on a project where my client needs to be able to create, read, update and delete records in a table displayed on a web page. In ColdFusion CFGRID solves this problem and here's a simple example using the CFARTGALLERY sample database that comes with ColdFusion 9. Firstly, create an Artist.cfc file containing the following code. Now create an index.cfm file...


Thursday, September 29, 2011 Replicating Jira's time tracking functionality in ColdFusion

I've been working on a project where I wanted to replicate the time tracking functionality used in Jira. Jira allows you to enter a time period in the format of "4d 12h 30m" (4 days, 12 hours and 30 minutes) which, behind the scenes, is converted to seconds and stored in a database. For the purpose of my application I also need to take into account the number of working hours per ...


Tuesday, September 27, 2011 Converting an array of entities to a list in ColdFusion 9

The following sample code shows how to convert an array of entities to a list in ColdFusion 9. ...


Wednesday, September 21, 2011 Related selects using jQuery, ColdFusion 9 ORM & FW/1

I'm currently working on a Framework One project where I needed to populate a second select list (contacts) based upon the selection made in the first select list (clients). With some help from John Whish and an article written by Ray Camden this is how I did it. Firstly, in my views directory I created a .cfm file containing my jQuery script and HTML form. Secondly, in my views...


Wednesday, September 21, 2011 Sending email using CFSCRIPT in ColdFusion

Since the arrival of ColdFusion 9 is has been possible to send email using CFSCRIPT. Here's how it's done. More information about using the CFMAIL tag in CFSCRIPT can be found at http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-7ff9.html. ...


Monday, September 19, 2011 Looping through an array of objects in ColdFusion

Here's some useful code for looping through an array of objects in ColdFusion 9 using CFSCRIPT. employees: an array of employee objects. Employee: the current employee object in the loop.   ...


Previous