Shaun Mccran

My digital playground
 
19
J
U
L
2010

Cross site AJAX HttpRequest problems and how to create a Proxy handler

Most of us are familiar with the AJAX post() and getJSON() methods of remotely calling and passing around data, I use them with abundance when building applications. One thing I had not considered until recently is that all my AJAX Http requests are usually internal to that application, which also means they are on the same server and domain.

I recently jumped into a project where the application spanned 24 domains, and had been developed to use a core component library to help code re use. The problem with this arose when you are on one domain (www.domain1.com) and you want to make a request to a different domain (www.domain2.com). You encounter something called the 'same-Origin' policy.

This article deals with how to create a proxy to handle cross site AJAX http Requests.

[More]

 
28
J
U
N
2010

My handy custom font header building function

I've been putting together a personal site for a little while now, and one of the more common pieces of work I've had to do is creating the page headers from a custom font library in Photoshop. The site is 'comic' themed, and as such has an appropriate font (not comic sans!) .

Rather than having to create a new image for each page, I thought I'd cut up the alphabet, and create a function to turn a string into a set of graphics.

[More]

 
04
J
U
N
2010

Simple Coldfusion script to detect if a user is on a Mobile platform

After all the 'mobile talk' at the recent Scotch on the Rocks conference my interest was piqued into looking at mobile versions of sites, and how we as developers can try and seamlessly integrate mobile platforms into our web applications.

The article deals with the first step of that, which is detecting if your user is hitting your site on a mobile platform.

There is a full example of this here: http://www.mccran.co.uk/examples/detect/, hitting this URL with an iPhone or Android device will serve up a different response.

[More]

 
03
J
U
N
2010

Fck editor inserting xhtml and browser specific code

I've been using the fck editor to handle my rich text areas in a content management application. I have to say I like the way it works, and it integrates easily with a Coldfusion platform. It does however have a few issues. This article deals with fck editor using xhtml code, and the editor using a few browser specific html rewrites.

Note: I can't have xhtml code in my site, as the definition type is not xhtml, and it fails an accessibility check if any is present.

[More]

 
01
J
U
N
2010

Xbox 360 Voice CFC released on RIAforge.org

Every time you turn on your Xbox 360 console and sign in with your Gamer profile your console records the data to an online server. www.360voice.com have written a service to consume the XML data.

360 Voice CFC http://360voice.riaforge.org is a Coldfusion based service layer that lets you consume the generated XML feeds from http://www.360voice.com.

[More]

 
27
M
A
Y
2010

Scotch On the Rocks – day two review

Following quickly on the heels of my first article about the 2010 Scotch on the Rocks, is my run down of the second day. I'll apologise now for this being quite so wordy, but I've tried to keep things succinct. I'd also like to say up front how much I enjoyed this years Scotch on the Rocks. It was a great venue, with great speakers, covering a very wide variety of topics.

It was a very intense two day thought explosion, where your left feeling kind of drained, but also with a ridiculous amount of 'development energy'.

[More]

 
25
M
A
Y
2010

Scotch On the Rocks – day one review

Monday was the first day of the 'Scotch on the Rocks' 2010 Adobe conference (sponsored by Fuzzy Orange). I went along for a couple of reasons. To see what has been happening in the community, what development ideas people were throwing around as it is a bit of a two day think tank, and to put some faces to the Twitter accounts I've been following.

This article is a breakdown of the first days seminars I attended, and some thoughts and considerations about the content on show.

[More]

 
20
M
A
Y
2010

Building Intelligent sessions into your framework

Have you ever been logged into an application and had your session timeout, then when you log back in you are returned to a different place altogether?

This article deals with a way to mark where a user was in your application and return them to that location when they log back in. It also allows a user to deep link into an application. IE when they have a bookmarked link instead of being passed to the home page, they are passed through to their original destination.

[More]

More Entries


This content is purely my opinon, any offence or errors are unintentional, please comment your views appropriately
Site Credits
Aggregated by ColdfusionBloggers.org Powered by Coldfusion

Technology & Science Blogs - BlogCatalog Blog Directory Blog Directory & Search engine