60 likes | 122 Views
Transforming the Application. Using our Layers. Convert the UI to a Web application Use SQL Server for our data storage Convert business logic to use web services. Web Application. The web page implements the view In the web page events, the controller is called to handle the input
E N D
Using our Layers Convert the UI to a Web application Use SQL Server for our data storage Convert business logic to use web services
Web Application The web page implements the view In the web page events, the controller is called to handle the input The controller calls the model to make the appropriate updates or fetches The view then updates the user interface The model is the same as before Rest of the application is unchanged
Using a Relational Database Very easy modification Write a ICustomerDataMapper implementation that uses SQL Server The Data Mapper and Repository layers automatically use that implementation Rest of the application is unchanged
Web Services Convert ICustomerManager to a WCF service interface Convert CustomerManager to a WCF service implementation class Generate a WCF client proxy Change the UI Model to use the proxy
Summary Used existing layers to make application evolution very easy Code cast has the details Explained the basics of interface based design Explained the basics of physical application design Explained the basics of partitioning and layering