Uncategorized - Written by Niels on Monday, December 18, 2006 8:42 - 2 Comments
Getting Typed Objects from Rails, Part 2 in tutorials from Flexonrails.net
The second tutorial about the Issue Tracker Flex Application is online. This one is about Getting Typed Objects from Rails using [RemoteClass]. I asked him in de in the comments what the advantages are of VO’s and mapping them with Ruby:
Advantages of VOs:
If used typed VOs then you have control over the definition of the
objects that you are working with. You can control what interfaces they
implement, which properties are [Bindable], what methods they have, etc.Using the VO design pattern as a convention will make it easier for others to understand your code.
Steven Webster (Cairngorm’s author) describes some other benefits in his ariticles about Cairngorm. Go to: http://www.adobe.com/devnet/flex/articles/cairngorm_pt2_03.html and scroll down to ‘Introducing the Value Object / Data Transfer Object Pattern’
Advantage of mapping with WebORB:
If you decide that you want to use VOs, then the advantage to using
mapping with WebORB is that you do not have to manually convert the
untyped objects that your service calls would normally return to your
typed VOs.Disadvantage:
The disadvantage to this approach is that it ties you to a back-end
that implements mapping with the [RemoteClass] metadata tag. So if you
want to switch back-ends you will either have to choose another that
implements this functionality, or you will have to write code to do
manually do the conversion.
Thank you Derrek, for this explaination!
technorati tags:weborb, flex, cairngorm, design, patterns, VO, DTO
Popularity: 12% [?]
2 Comments
http://www.usabilityviews.com/ajaxsucks.html. Rest my case… :). Just write a decent comment on my blog ![]()
Leave a Reply
Most Popular Content
- NabAIR v0.1: Update to AIR 1.0
- Rotating arround 3D object in Away3D
- Away3D explorer for Flex
- Exploring Away3D in Flex
- 10 Great articles about RIA (Flex) usability
- i always watch online movies from Vimeo or Youtube, it is low resolution but mos...
- Yeah, it’s really weird. I think they will try to get this as popular as they ...
- online movies are cool but i wish the quality were better.".-...
- i changed port of usb and it run ok :D...
- this example is run ok on IE but not good on Firefox
i have 2 webcam. sirius us...
- Hello, nice example. Helped a lot. But can't this hovercamera3d rotate around th...
- As an ex-joox uploader, here are two sites I discovered that are equivalent to j...
- For all those who like shows like entourage check out premiumtvshows.com
...
Flex - Feb 25, 2008 20:11 - 7 Comments
Rotating arround 3D object in Away3D
More In Technology
- Away3D explorer for Flex
- Exploring Away3D in Flex
- The Flex community have closed their eyes for quality and perfection
- Login tutorial Ruby on Rails -> WebORB -> Flex 2 basic communication, now translated in English
- Noorderslag.nl: Flex is not application only
Usability - Feb 6, 2008 17:39 - 5 Comments
10 Great articles about RIA (Flex) usability
More In Interaction Design
- Busy with reading
- Rich Interactive Experience with Microsoft Surface
- Who needs a Wii when you’ve got Soap?
- Presentation about “Getting Real”
NabAIR - Feb 27, 2008 2:04 - 5 Comments
NabAIR v0.1: Update to AIR 1.0
More In Projects
- NabAIR v0.05: Update to AIR 1.0 beta 3
- NabAIR v0.04: View and listen to your Nabaztags inbox
- NabAIR v0.03: New skin, more voices, get info and sleep
- NabAIR v0.02: Position his/her ears, voice selection and save settings
- NabAIR v0.01: Control your Nabaztag on your desktop

“Ruby on what? ;)” Peter said