OO101 Part 2 Presentation

March 26, 2009

This is my 2nd presentation from my OO101 series for Devon CFUG. Covers encapsulation, polymorphism, inheritance, composition, method over-riding and the super keyword. Read more »

manytoone and a onetomany in Transfer ORM

March 24, 2009

There is a page on the Transfer ORM docs entitled "Can I use the same foreign key for a manytoone and a onetomany?". The short answer is no, but sometimes you need to be able to get the data, so how can you do it? Read more »

My penance for a silly mistake!

March 17, 2009

I spent several frustrating hours trying to figure out why my per application mappings, didn't work for my remote cfcs. Thankfully Matt Quackenberg pointed out my silly mistake. As penance I'm making myself write out this post! Read more »

Modelling a properties map with Transfer

March 16, 2009

When I started to build a properties map with Transfer, I initially created a onetomany relationship between my User object and UserProperty object. This works, but means that you end up creating a lot of Transfer objects, which are unique to the individual User. This is a potential performance problem, so another solution was required. Read more »

cfquery truncates at 32000 chars

March 09, 2009

Just had an "interesting" problem with a CMS system. A client had entered a huge chunk of text which had saved in the MS SQL database ntext field correctly, however when it was pulled out of the database (using cfquery) and displayed on the website, the text was being truncated. Read more »

ColdSpring arrays and structs

March 05, 2009

I found out today that you can create structs and arrays in the ColdSpring configuration file. I've haven't actually used it yet, but it could be quite useful for setting up configurations. Read more »

ColdSpring DI with onMissingMethod

March 05, 2009

I've had the chance to play around with ColdSpring today. One of the things I wanted to know was if you could use it with onMissingMethod to pass in dependencies. Read more »