Where to put non-Actor based classes

stephenadams1's Avatar

stephenadams1

26 Aug, 2010 11:59 AM

Hi,

I'm working on a AIR app which uses a socket to send data from the AIR app to a Flex web app. I'm creating my own Socket class (extending the flash.net.socket class), my question is where should classes like this, which are not Models, Services or mediators go in a RobotLegs application.
I was thinking of creating a utility folder under my services folder, and putting my Socket class there, but I think that ties this socket class to closely to the service layer?

Any thoughts?

Thanks, Stephen

  1. Support Staff 1 Posted by Shaun Smith on 26 Aug, 2010 12:05 PM

    Shaun Smith's Avatar

    Sounds like a service to me. You don't have to extend Actor for something to be a service.

  2. 2 Posted by stephenadams1 on 26 Aug, 2010 01:15 PM

    stephenadams1's Avatar

    Hi Shaun,

    Yes, I've just re-read the Best Practices doc for RL, in particular the services section. It does describe what I want to do as a service.

    Thanks

    Stephen

  3. stephenadams1 closed this discussion on 26 Aug, 2010 01:16 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac