Photo from Chile

Getting Started with ColdFusion 9 ORM Integration - Slides Available

The slides, which include all of the sample code from my CFinNC presentation, Getting Started with ColdFusion 9 ORM Integration, are now available. Click on the link below to download them. I developed these slides using Keynote, and attempted to save them as a PowerPoint presentation, but ended up with slides that looked like crap, so I saved them as a PDF for the download. The slides look good, but the file is big. Sorry about that.

If anyone is interested in having me deliver this presentation to a ColdFusion User Group via connect please feel free to leave me a comment, or send me an email.


Here is the description of the presentation:

We've all heard the buzz about CF9 ORM integration, but exactly what is it, and how can I use it? This session will demystify the idea of ORM by introducing the concepts that you need to know to get started using it right away. Not an object oriented developer? No problem! As long as you know what an object is, and a little bit about cfcs, this session will help you get past the buzzwords and be productive with Hibernate on your next project. Use Hibernate currently, but not CF? Great! Come and see how the ColdFusion engineering team have made it super simple to use Hibernate, without losing any of the flexibility you're accustomed to.

Good meeting you at CFinNC. Thanks for the kind words about the conference. I enjoyed both presentations. Unfortunately, I missed parts of the 1st one due to volunteer duties. I had a question about use of the singularname attribute. Not sure what what the purpose is. In your code example, you specify it, but you still use getComments(). Is this just a style issue? In onther words, I could use getComment() and getComments() interchangeablly?


# Posted By Byron Raines | 10/19/09 10:40 PM
Hey Byron. It was nice meeting you as well.

No, you will not have a getComment() method. Singularname is used to generate the add, remove and has methods. So, looking at the comments property in the example, you'll get 5 methods generated:

getComments() - returns an array of comment objects
setComments() - you can pass an array of comment objects to this method - one normally will not use this method
addComment() - used to add a single comment to the collection
removeComment() - used to remove a single comment from the collection
hasComment() - used to check whether the post has any comments - can also be used to check for a specific comment, if a comment object is passed in

Does that clear things up?
# Posted By Bob Silverberg | 10/19/09 11:22 PM
I see. Thanks.

# Posted By Byron Raines | 10/20/09 8:13 PM