Keep in mind that controls are just analysis-level concepts. During design, the responsibilities assigned to the controls will be factored among many different classes. So, a control might have a responsibility called something like "calculate the first 7 modal shapes of this building when subjected to the imposed earthquake load". During design and implementation, this responsibility will be implemented using a host of specialized classes.
******************************************************** R a t i o n a l the software development company(tm) Todd Dunnavant Technical Lead, South Texas Office Phone #: (281) 431-8751 Fax Phone #: (281) 431-8791 E-mail address: [EMAIL PROTECTED] < mailto:[EMAIL PROTECTED]> Rational's Mission: "To ensure the success of Customers who depend on software development and deployment." ******************************************************** -----Original Message----- From: Eric D. Tarkington [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 12:44 PM To: ROSE_FORUM Subject: (ROSE) Bar Bet #5 Here's the bet: When you use boundary, entity, and control classes, the controls should contain the business rules. THIS IS OBVIOUSLY TRUE! This is a thing that you can see readily in a sequence diagram. The natural thing to do in *lots* of business applications is to pass messages between boundaries and entities through the control. This is analogous to three-tiered architecture, with a Graphical User Interface (GUI), a Business Object Model (BOM), and a Relational Database (RDB). The control is analogous to the BOM, that's obvious. THIS IS OBVIOUSLY CRAP! As Freud said, there are times when a cigar is just a cigar. You can see an analogy between boundaries/GUI and entities/RDB, but that doesn't prove that there is a similar relationship between controls and the BOM. Controls should be just smart enough to route messages between objects in a subsystem (which might mean a business area). As usual, the bar bet is on a controversial question that should be obvious to everyone, dammit, but the instructors at Seneca College disagree with each other. I will try to state opposing positions even-handedly, and will confess my "side" only after others have stated some opinions. OK, folks, what do you think? There is a virtual beer in it for a correct answer, but you have to make a clear winning argument! -Eric ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * Subscription Requests: [EMAIL PROTECTED] * Archive of messages: * http://www.rational.com/support/usergroups/rose/rose_forum.jsp * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * To: [EMAIL PROTECTED] * Subject: <BLANK> * Body: unsubscribe rose_forum ************************************************************************* ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * Subscription Requests: [EMAIL PROTECTED] * Archive of messages: * http://www.rational.com/support/usergroups/rose/rose_forum.jsp * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * To: [EMAIL PROTECTED] * Subject: <BLANK> * Body: unsubscribe rose_forum *************************************************************************
