OO101 Part 2 Presentation
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 »
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 »
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 »
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 »
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 »
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 »
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 »
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 »