As a desktop developer, creating dialogs and interacting with other dialogs is as simple as creating an object and calling its methods. For you implementing more complex interactions using the observer design pattern or simple manipulation of parent window members is as simple as two objects interacting.
Web developers, on the other hand, do not have it so easy, they need to create a page that has a script that opens a new browser window with a second page, which receives arguments and displays user interface that then uses a script that is used to callback the parent page. When they need to have a tighter relationship between the windows they are forced to write complex scripts to get the job done.

Go to the
next section