AS3 Signals, past tense and present

thomas.thorstensson's Avatar


22 Oct, 2012 11:52 AM

Hello Dear Robotlegs users !

File this question under "Best Approach".

I have a Signal (past tense) in a View which updates a Mediator and the Mediator dispatches a Signal (present tense) which updates a Command. So far so good as this past and present division makes sense.

However, I also want the model to dispatch a Signal once the Value Object been updated. It seems to me good practice to make that Signal past tense as well?

For example:

The Signal from the mediator is named AddItem;
The Signal from the model once the Value Object been updated is named AddItemUpdated;

Many Thanks
Thomas, over a medium sized cup of latte

  1. Support Staff 1 Posted by Ondina D.F. on 22 Oct, 2012 02:39 PM

    Ondina D.F.'s Avatar

    Hey Thomas,

    I’d say:

    ItemUpdated (for a single item)
    ItemsUpdated (if you add an item to a collection)


  2. 2 Posted by thomas.thorsten... on 22 Oct, 2012 03:18 PM

    thomas.thorstensson's Avatar

    Thats fine , thanks for the feedback, seems I was moving along the right lines.

    Well, goodbye for now, see you next time!


  3. Support Staff 3 Posted by Ondina D.F. on 22 Oct, 2012 03:36 PM

    Ondina D.F.'s Avatar

    See you:)

  4. Ondina D.F. closed this discussion on 22 Oct, 2012 03:36 PM.

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

Keyboard shortcuts


? 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