E-CAPS

Encapsulating Old Code

Vortragssprache:Englisch
Vortragstyp: Normal Slot: Day1/Room1/Slot1
Speaker:David Stevenson
Let’s say you have tons of legacy FoxPro code that runs well, contains mission-critical business logic, and is now needed for a web application, a web service, or a more modern application nTier architecture. Should you completely rewrite it or is there a way to make it work safely in a new environment? This session will explain the extremely useful Session and Data Environment classes and show how they can put a wall around legacy code, encapsulating it to run in a protected data environment. Basic concepts of business objects and nTier design are illustrated in the context of encapsulating legacy code.Business Objects can be a very useful and productive architectural decision most often used for new development. However, many existing applications could become much more useful and flexible if they could be converted to a Business Object architecture. This session will show how to do that, and will also be useful for developers just wanting to learn concepts about Business Objects in general. Note the use of XMLAdapter and CursorAdapter in some of the examples – many examples usually shown are more theoretical than practical – we will show them being used in the business object layer.