Date: 2004-03-12T11:03:21 Editor: AaronFarr <[EMAIL PROTECTED]> Wiki: Apache Avalon Wiki Page: WhatIsIoC URL: http://wiki.apache.org/avalon/WhatIsIoC
added section about SoC -farra Change Log: ------------------------------------------------------------------------------ @@ -16,6 +16,15 @@ * Lifecycle Management * Component Oriented Programming +SeperationOfConcerns (SoC) is a very important design pattern which is central to IoC development. In fact, without first applying proper SoC principles, it can be very difficult to take advantage of IoC. Seperation of Concerns means a problem should be seperated into a set of components each of which focus on only one core concern. Imagine, for example, a large corporation made of many divisions such as human resources, accounting, logistics, sales, market, manufacturing, etc. Each of these divisions handles only one aspect, or concern, of the overall business. The human resources team does not investigate product defects and the marketing team does administer the corporate intranet. Likewise, a software application will generally have many concerns -- logging, caching, security, business logic, persistance, etc. Seperating out these concerns into seperate software modules allows each module to concern itself with only doing one job well. + +Let's look at one other example of SoC: Java Servlet Programming. + +(fixme: servlets and MVC example) + +(fixme: more discussion of the other design patterns) + + == What Are We Trying To Invert? == So, what is Inversion of Control? Well, let's look at some of the problems IoC tries to solve: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
