Creating interfaces for our views

Nikos Katsikanis's Avatar

Nikos Katsikanis

13 Oct, 2010 12:49 PM via web

Can anyone give their opinion on this approach of creating interfaces for our views using signals?

http://markstar.co.uk/blog/2010/flashplatform/why-robotlegs-benefit...

I found this argument quite complelling:

By using interfaces for our views we can use the same code base for all applications but have different views for each device; as long as our views implement our interfaces the application will work. More advantages to this are seen if different people implement the views; by using Signals in the interface the person developing the view must implement them whereas there’s nothing specify that the person must implement an event.

  1. Support Staff 2 Posted by Joel Hooks on 13 Oct, 2010 01:29 PM

    Joel Hooks's Avatar

    I'm a big fan of using interfaces on views and Signals makes it a really strong option. I will extend some of the existing Flex view interfaces as needed. It is killer for writing tests that make use of views.

  2. 3 Posted by Nikos Katsikanis on 15 Oct, 2010 10:21 AM

    Nikos Katsikanis's Avatar

    Thanks Joel for your input, always a pleasure :)

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