Are there any shortcuts for creating Value Object Classes?

Hi,
I'm using a Remote Object to connect to my server
(pyAMF/Django). I'm getting stuck with the creation of Value Object
Classes. It doesn't seem very DRY to have a class on my server
representing the data model and then have to recreate that class
and all its properties in my Flex app.
Are there any shortcuts for creating client side VOs from
server side data?
I was thinking about declaring an empty VO class in Flex, and
then dynamically assigning/casting my Proxy object to that class.
It seems like that approach may cause problems for the Flex
compiler though.
Any hints?
Thanks!

quote:
Originally posted by:
tptackab
Oh man, do I feel your pain. I'm not sure what middle-tier
technology you're using, but I'm using Java (w/Spring) and I
absolutely hate having to create and maintain two sets of VO (aka
data transfer - DTO) object for Java and Flex.
One thing that has helped me in that area is a free tool from
Farata Systems called
DTO2Fx. If you're using Java and Eclipse, it's a great time saver.
You simply install a (very lightweight) Eclipse plugin, add a
single annotation to your Java VO classes, and it automatically
generates your Flex VOs. It even creates a base and extended
version of each VO on the AS3 side so you can add code to the
extended VO without fear of having your changes overwritten when it
regenerates your Flex VOs.
Here's a like to thier
PDF that
gives instructions and a download link. I had it up and running in
my application in less than 30 minutes!
I'm using Python/Django serverside (PYAMF is my AMF
serializer).

Similar Messages

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • Are there any costs for an adobe reader software distribution license ?

    Are there any costs for an adobe reader software distribution license ?

    No (except for the costs of having your legal team check the license). You do need to read the license carefully, you are making specific commitments and there are specific restrictions.

  • Are there any fixes for iPad 2 with OS 8.1.1.

    Are there any fixes for the iPad 2 IOS 8.1.1?  I've had problems with Safari and other Apps crashing or locking up, and with extremely slow touch response.  These problems have been occurring since the last update.  At times the iPad becomes unusable.  I have been keeping all programs closed and history and web site data cleared.  Thanks for any help you can give.

    Hi, dannilee,
    I have exactly the same problem. The device was my favorite computer until 8.1.1. Now it runs s-l-o-w-l-y, requires endless reboots.
    To improve the performamce, I have tried these:
    1.Go to Setting->General->Accessibility->Reduce Motion. Turn on.
    2.Reset iPad device settings using Setting->General->Reset->Reset All Settings. Its increase iPad performance little better.
    3.Hold the sleep/wake button and home button upto 8 seconds. This will turn off your iPad. Then turn on iPad. Wait few moments. Do the same thing twice to solve this issue.
    Solution 3 worked for me. And, I always recommend you to backup your iPad first before any action to avoid any data loss.
    Hope it is useful for you.

  • I have Mac OSX Lion 10.7.4, Quickbooks Pro 2010, Parallels Desktop 7 for Mac, Operating in Windows 7.  Are there any recommendations for running Quickbooks Pro 2010?

    I have Mac OSX Lion 10.7.4, Quickbooks Pro 2010, Parallels Desktop 7 for Mac, Operating in Windows 7.  Quicbooks Pro 2010 is not responding or opening currently. Quickbooks does not support Parallels anymore.  I hear Apple Bootcamp is an opton.  Are there any recommendations for running Quickbooks Pro 2010 on Mac?

    QuickBooks Pro 2010 for Mac is not supported in Lion. QB Pro 2011 will work, but I just got an email today that 2011 will not be updated to work in Mountain Lion. QB Pro 2012 will be updated for ML.
    Be aware that the Mac version of QuickBooks is shamefully lacking in features compared to the Windows version. I do use the Mac version, but it has more features than I need for a small business, so it doesn't affect me. No one knows why Intuit seems to hate Mac users, but they show it every day.
    If QB Pro 2012 for Mac can be downloaded as a demo, I would strongly suggest testing with it before making a final decision. You will be able to import the Windows data, but possibly not all of it, depending on the Windows version features you use.
    Boot Camp allows you to install Windows on its own, bootable partition. When you boot to it, you are of course running Windows in every sense of the word. Just on Mac hardware rather than typical PC gear. Your Windows version of QB will work there without issue. The problem is having to boot back and forth between Windows and OS X, depending on what software it is you need to use at the time.

  • Are there any dates for an iPhone VoIP client for VoLTE, 700MHz, band 28 ?.

    Are there any dates for an iPhone VoIP client to run VoLTE, 700MHz, band 28 ?.

    Not that I'm aware of.

  • Are there any Hotkeys for Adjusting Temperature in Lightroom, similar to + and - for exposure?

    Are there any Hotkeys for Adjusting Temperature in Lightroom, similar to + and - for exposure?

    If you click on the word Temperature, then + and – will adjust the temperature up and down, respectively.
    Note: whenever you click on another slider name, like Exposure, then the + and – new work on the slider name you just clicked on

  • Are there any limitations for importing Apple Aperture Libraries for Lightroom 5.7 ? What can be the hardware limitation importing large Aperture Libraries like 200 gb ? Or is importing larger Aperture Libraries even possible at the moment for Lightroom 5

    Are there any limitations for importing Apple Aperture Libraries for Lightroom 5.7 ? What can be the hardware limitation for importing large Aperture Libraries like 200 gb ? Or is importing larger Aperture Libraries even possible at the moment to Lightroom 5.7 ?

    dj_paige wrote:
    As far as hardware restrictions, the only one I can think of is that you certainly need enough free space on your hard disk to accomodate the masters from your Aperture library.
    IIn which case, ensure all your masters are "referenced" in Aperture, and that you then go to Options in the Lightroom import box and import photos in their existing locations.

  • Are there any solutions for Apple Studio display connectivity to a new Air?

    Are there any solutions for Apple Studio display connectivity to a new Air?

    Again.. I have an Apple Studio Display (17", LCD)
    and want to run it on a new MacBook Air.
    Specifications at:
    http://support.apple.com/kb/SP110
    Any solutions or advise?

  • Are there any plans for apple tv to be true hd 1080 rather then "just" 720

    are there any plans for apple tv to be true hd 1080 rather then "just" 720. 

    I agree, but there should not be any disagreement for a standard that has been defined, and I think the OP doesn't understand the standard. So I was just trying to help.

  • Are there any fee for developing software for USB non NI harware?

    We develop applications in LabView for pieces of hardware witch communicate via USB. Are there any fee for developing software for USB non NI harware?

    If you really mean distributing software that you developed, then you and a lawyer might want to review the LabVIEW software license - especially the section on distribution requirements (in my 6.1 version it's section 12). You should also contact NI directly and ask them. This forum is primarily made up of LabVIEW end-users and any legal advice you get here is worth exactly what it costs, in other words, nothing.

  • Are there any plans for a search widget for Muse CC in the near future?

    Are there any plans for a search widget for Muse CC in the near future?

    Nobody knows what Apple is doing.
    Not sure Apple does.
    Whatever it is they are not going to discuss it with us.
    Peter

  • Are there any apps for having seperate volume controls for each app if multiple apps are playing at the same time?

    Are there any apps for having seperate volume controls for each app if multiple apps are playing at the same time?

    I don't think you can do that the volume is universal, but maybe turn down the volumes in the app settings?

  • Are there keyboard shortcuts for navigating Fireworks Layers?

    In Photoshop, 'option-[' or 'option-]' allow you to select up and down layers from the keyboard, are there equivalent shortcuts in Fireworks?

    By default, I don't think there are any shortcuts for this. However, John Dunning created a series of custom Frame and Layer commands, including Go Up and Go Down*. These are free, and once they've been installed, you can assign keyboard shortcuts to them (under Fireworks > Keyboard Shortcuts...).
    http://johndunning.com/fireworks/about/FrameLayerUtils
    You might also like to know that FW has a Select Behind tool (it's underneath the Pointer tool). I personally don't use it, but it allows you to click on an object on the canvas, and progressively select the items beneath that object.
    *A caveat regarding the scripts: The "Go Up" and "Go Down" commands don't seem to be working on my older version of Fireworks (FW8). Also, I forgot that Photoshop and Fireworks use different terminology. What's called a "layer" in Photoshop is called an "object" in FW, and what's called a "group" in Photoshop is called a "layer" in FW. Therefore, John's layer commands may or may not allow you to move up or down the objects within the layers, but they should allow you to move up or down the layers themselves (a.k.a. folders).

  • Are there any tools for data encryption and decryption ?

    Hi,
    i am using oracle 9i R2, i want encrypt my data. Are there any tools available in market.
    Please let me know the ways to do data encryption and decryption.
    Thanks in advance
    Prasuna.

    970489 wrote:
    using DBMS_OBFUSCATION_TOOLKIT.Encrypt /DESEncrypt we can't secure our password...So i am looking for an another alternative.As Blue Shadow said, what are you really trying to achieve?
    Encrypting a password is itself not secure. Anything that can be encrypted can be decrypted. That is why Oracle itself DOES NOT encrypt passwords.
    Surprised??
    Here's what Oracle does with passwords, and what others should be doing if they have to store them.
    When the password is created, the presented password - clear text - is concatenated with the username. The resulting character string is then passed through a one-way hashing function. It is that hashed value that is stored. Then when a user presents his credentials to log on to the system, the presented credentials are combined and hashed in the same manner as when the password was created, and the resulting hash value compared to the stored value.

Maybe you are looking for

  • Data Recovery from an encrypted Time Machine HD

    Does anyone have eny experience with having data retrieved from a time machine hard drive that is encrypted? I've clean installed Mountain Lion and now can't get at my time machine to restore files. Apple support recommended I posted here and explore

  • Update failed on mac for photoshop and illustrator

    Tried both application manager and downloading from adobe directly.  Both failed.  Tried rebooting as well. Adobe Photoshop 13.0.2 Installation failed. Error Code: U44M2P7 Adobe Illustrator CS6 Update (version 16.0.3) Installation failed. Error Code:

  • Querying large amounts of data

    Suppose I want to store an amount of data that is too large to store in memory only (serveral GB's or TB's). The data needs to be highly available and fault tolerant and a user would need to query the data based on some criteria. Coherence would fit

  • Why do some Podcasts appear on the iPhone in different locations?

    I subscribe to six podcasts in iTunes. When I sync to my iPhone, four of these appear in iTunes>Podcasts and the other two appear in Videos>Podcasts. (a) Why don't they all appear in the same place? (b) How can I make them all appear in the same plac

  • How to provide tooltip in obiee10g

    Hi All, I have one scenario where i am supposed to generate tooltip on column DATA in pivot table. For eg. Whenever i click week 54 ,it should give detail about week that is when week starts and ends. that is 19-12-2011 to 23-12-2011. Please give me