Powershell deployment script to help decrease page load time

Currently the main focus of my work has been on developing a web portal that allows users to control hosting based services, and automates the provisioning, so there is mininal work to be done manually. We recently deployed a new version of the front-end, which incorporated extensive use of jQuery as well as AJAX to give the site a more modern look, as well as improving it’s usability. The main issue that we found once we had deployed the software is that it resulted in some very slow load times, so I spent a few days working doing what I could to increase the performance of the site. After all, a site might be fantastic, but if it’s not quick, people aren’t going to use it.

Luckily my boss has given me permission to share some of the benefits of my research both here and on the companies blog. The versions I write here will contain a slightly slimmed down version of the original posts.

(more…)

Creating modal popup’s in ColdFusion

One of the great things about my new job is that I am constantly running into little problems that I am having to figure out, and some of them are interesting enough that I’m going to try and post what solutions I can here, so that hopefully it can help other people with similar problems.

One issue I came across recently was creating modal popup’s in ColdFusion, so that a user could click on a button, fill out a form, then when they submitted the appropriate part of the form was reloaded, and they never had to navigate away. The example that I am going to use is a standard select box with a list in it and a button that opens the window to modify the contents of that list.

To do this we will be using a cfwindow. For this example I’ll assume you already have the page that you would like to display in the window, and have some basic CFML and Javascript knowledge.

(more…)