Transfer object without the DB

There was an interesting post by John K yesterday on the Transfer-dev list, where he was asking about creating a transfer object that had no database behind it.  Basically, define the object in XML and then use the get / set methods to persist data around in a nice auto-generated cfc 9one of the things that Transfer is do good at).  There was some discussion whether Transfer would let you do this or not, so I had to give it a shot.  Turns out, you can define your object without any database and it works fine!

This started my brain going, you could define decorators against your objects, and use those to email a contact form that gets populated to your transient bean.  I think its kinda a slick way of making objects, and it would certainly be simpler to define the XML properties than creating a new cfc with get / set methods.  Anyone see any downfalls?

1 comments

tears (Happy Friday!)

Oh, let me taste your tears, the tears of unfathomable sadness!

1 comments

What does google have against obama?

OK, this is silly...

obama google autosuggest

4 comments

WOW Contest / RIAdventure Cruise

Joshua Cyr is running a contest over at Usefulconcept.com, the winner gets a free World of Warcraft account, the burning crusade expansion, and almost 80 days of pre-paid time.  All you have to do is comment on his blog entry.  Hurry up, the content ends tonight at midnight!

Click for the WoW RIAdventure content

The questions you have to answer are:

1) List your top reason someone should go to RIAdventure.
2) List your top reason you want to try out WOW (world of warcraft).

and my answers were:

1) Because the best way to learn is to be surrounded with enthusiastic people!
2) Because my cousin wants to play on a *real* server and this would get him started out great! (I play on a free server and its good enough for me with my limited time, but he wants to be a purist)

Good luck all

0 comments

Configuring Apache for speed

In ramping up for an alpha / beta test, one of the things I was testing was speed on the server the software was to be deployed on. Running Yahoo's ySlow, it gave me all kinds of input, non g-zipped components, missing header expiration dates on my files, etc. I wanted to share here with you some of the apache vhost configuration changes I made that made the site just *fly*! I am no apache expert, so there may be different ways to do this. But I can tell you, after making these changes the site FEELS a ton faster.

Read more...

5 comments

Intro to C++ - Part 3

OK, I have been slacking on this series. No Justice, thats a *BAD* Justice!. I have a coldfusion product going into alpha this week after more than a year of development, so what can I say =) Now on to more C++ goodness!

Read more...

1 comments

Intro to C++ - Part 2

Last week we went over the basics of configuring your IDE and compiling your first program. I have class this evening, but I wanted to point you to a resource that I will be developing as I go through this class. The CfCode C++ Blog Series is basically a listing of all posts in the series, as well as an example C++ program with what I hope are good comments throughout of what is going on. In today's iteration of this example document, I go over declaring constant variables, using cin and cout to accept input and provide output respectively. I define several data types, and show you how to evaluate expressions and place the result onto the screen. This example document also introduces static_cast to force a result to a specific data type. You can always find the latest version of my example document at http://www.cfcode.net/blog/page.cfm/c-series, or you can browse back through prior posts like this one to see the code as it grows. More tonight after class!

Read more...

0 comments

Intro to C++ - Part 1

So last night was my 1st night of C++ class, and I want to try and pass on what I learn in a blog series. I'm a total newb as far as C++ goes, but if you want to learn as I go this may help! The majority of our first class was just intro, talking about computer basics, and only in the last 45 minutes or so did we really get into coding, and we did a simple 'display some output' app.

Read more...

1 comments