Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-851

Verify if move to a more reactive approach for event propagation and loose coupling between components

    XMLWordPrintableJSON

Details

    Description

      Verify if move to a more reactive approach for event propagation and loose coupling between components.

      For example, verify (for what it's possible in Java, without a full rewrite in Scala)
      http://www.scala-lang.org/sites/default/files/sids/imaier/Mon,%202009-11-02,%2008:55/scala-swing-design.pdf
      http://lamp.epfl.ch/~imaier/pub/DeprecatingObserversTR2010.pdf

      http://stackoverflow.com/questions/3755453/scala-listener-observer
      http://stackoverflow.com/questions/3084546/design-patterns-for-functional-oo-hybrid-languages

      An innovative frameworks like Play have chosen for its new major release (2.0, released in March 2012) to do a full rewrite in Scala BUT with full compatibility even with Java (and Java 8 should have the same features too ...).
      Last, another interesting point to explore (but again mainly for Scala, or using Akka even from Java) could be to use Actors (local and/or remote), even for events ... just as idea.

      Many other interesting ideas for a more "complete" approach to make applications from Eclise E4 (extension points, mapping controllers to URLs, etc), for example some info here:
      http://www.vogella.com/articles/Eclipse4RCP/article.html
      and of course even from Griffon (in from the Groovy side).

      At the moment this issue is only a pleceholder to share in the same place ideas and links on this subject ... so as always comments are welcome.

      Attachments

        Issue Links

          Activity

            People

              smartini Sandro Martini
              smartini Sandro Martini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: