Skip to main content
nikos101
Inspiring
November 26, 2008
Question

Is it worth while going down the Value Object design route

  • November 26, 2008
  • 2 replies
  • 372 views
When building large applications in flex and coldfusion and passing date to flex, I am trying to figure out if it is worth while going down the Value Object design route or just going with CF's structs variables?
This topic has been closed for replies.

2 replies

BKBK
Community Expert
Community Expert
November 27, 2008
... Value Object... or just ... CF's structs...?
In my opinion, basically the same design idea. Under the hood, a struct is, loosely speaking, a value object. You can use the duplicate function to emulate serialization of a value object.

Inspiring
November 27, 2008
Hi,

It depends upon your application design, If your application code is of oop in nature, then using value objects is an obvious thing to do.