Design Patterns. There are a lot of design patterns.
Introducing Rich Internet Applications KNAW-Alfalab Leen Breure 18 February 2010.