






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Basic elements: classes, attributes, operations, & relationships o Class-general template that we use to create specific instances, or OBJECTS, in the PROBLEM DOMAIN. o All objects of given class identical in structure & behavior but contain diff data in their attributes o Two kinds of classes during analysis: concrete & abstract o Concrete classes/application domain classes-used to create objects o Abstract classes don’t exist in real world; they are simply useful abstractions o 2 nd^ classification of classes-Domain/User Interface/Data Structure/File Structure/Operating Environment/Document/ & Various types of multimedia classes Real-world thing that a class represents. Goal of analyst-discover key data contained in the problem domain & to build structural model of the objects Object-oriented modeling allows analyst to reduce semantic gap b/w underlying problem domain & the evolving structural model Real world- messy; world of software-neat and logical As such, an exact mapping b/w structural model & problem domain may not be possible or desirable. Conceptual Model-drawn in analysis Shows logical organization of objects w/out indicating how objects stored, created, or manipulated b/c this model free from any implementation or technical details, analysts can focus more easily on matching the model to the real business requirements of the system In Design: o at this point, model checked for redundancy & analysts investigate ways to make objects easy to retrieve Relationships Data Abstraction Mechanisms: Allow analyst to focus on important dimensions while ignoring nonessential dimensions.
i. example: a piston is a-part-of an engine, and an engine is a-part-of a car d. aggregation relationships bidirectional in nature i. flipside of aggregation is decomposition-used by analyst to uncover parts of a class that should be modeled separately
Because a data warehouse contains historical, objects that are to be stored in one should not have any “U” or “D” entries in their associated columns. CRUD analysis can used as a way to partially validate the interactions among the objects in an object-oriented system The more interactions among a set of classes, the more likely they should be clustered together in a collaboration. The number & type of interactions are only an estimate at this point in the development of the system. One Potential Danger of Walkthroughs : o When management decides the results of the uncovering errors in the representation are a reflection of an analyst’s capability. This must be avoided at all costs. Otherwise the underlying purpose of the walkthrough ( to improve fidelity of the representation ) will be thwarted. An association class should be created only if there is indeed some unique characteristics (attribute, operation, or relationship) about the intersection of the connecting classes o If no unique characteristic exists, then the association class should be removed & only an association between the two connecting classes should be displayed. There are times that subclasses contained in a class diagram are really nothing more than different states through which an instance of the superclass will go during the instance’s lifetime Messages on sequence & communication diagrams, transitions on behavioral state machines, & entries in a CRUD matrix must be related to activities & actions on an activity diagram & events listed in a use-case description, & vice versa. Evolving the Analysis Models into Design Models Purpose of analysis: o figure out what business needs are o to represent underlying business problem domain as a set of collaborating objects o In other words, the analysis activities defined the functional requirements Achieved via the analysis activities ignoring nonfunctional requirements such as performance & the system environment issues (e.g., distributed or centralized processing, user interface issues, & database issues). Purpose of design-decide how to build the system o In contrast to analysis, primary purpose of design models is to increase the likelihood of successfully delivering a system that implements the functional requirements in a manner that is affordable With main goal of creating a blueprint for a system that makes sense to implement
o Therefore, in system design, we address both functional and & nonfunctional requirements. From object-oriented perspective, system design models simply refine the system analysis models by adding system environment (or solution domain) details to them & refining the problem domain info already contained in the analysis models. When evolving the analysis model into the design model, you should first carefully review the use cases & the current set of classes (their operations & attributes, & the relationships between them). Throughout design, project team carefully considers new sys in respect to current environment & systems that exist within the organization as a whole o Major considerations of the how of a system are environmental factors such as: integrating w/ existing systems, converting data from legacy systems, & leveraging skills that exist in-house. Are all the classes necessary? Are there any missing classes? Are the classes fully defined? Are there any missing attributes or methods? Do the classes have any unnecessary attributes & methods? Page 290 Factoring-process of separating out a module into a stand-alone module in & of itself. o Example: when reviewing a set of classes, it may be discovered that they have a similar set of attributes & methods It may make sense to factor out the similarities into a separate class. Depending on whether the new class should be in a superclass relationship to the existing classes or not, the new class can be related to the existing classes through the generalization (a-kind-of) or possibly through aggregation (has-parts) relationship. Abstraction & Refinement-two processes closely related to factoring o Abstraction-deals w/ creation of higher-level idea from set of ideas Partitions & Collaborations Based on all the factoring, refining, & abstracting that can take place to the evolving sys, the sheer size of the sys representation can overload both the user & the developer o In this case, you would need to split the representation into a set of partitions. A partition is the object-oriented equivalent of a subsystem o Where a subsystem is a decomposition of a larger system into its component systems (e.g., an accounting info sys could be functionally decomposed into an accounts payable sys, an acct receivable sys, a payroll sys, etc.). From an object-oriented perspective, partitions are based on the pattern of activity (messages sent) among the objects in an object-oriented system.
When Smalltalk first created, authors decided to separate the app logic from the logic of the user interface. o In this manner, it was possible to easily develop diff user interfaces that worked w/ the same app To accomplish this, they created the Model-View-Controller (MVC) architecture, where Models implemented the app logic (problem domain) & Views & Controllers implemented the logic for the user interface Views handled output; Controllers handled Input Because graphical user interfaces were first developed in the Smalltalk language, the MVC architecture served as the foundation for virtually all graphical user interfaces that have been developed today (including the Mac interfaces, the Windows family, & the various Unix-based GUI environments). Foundation Foundation Layer: o A very uninteresting layer o Contains classes that are necessary for object-oriented app to exist Classes in foundation layer: o Classes that represent fundamental data types (e.g., integers, real numbers, characters, strings) o Classes that represent fundamental data structures/container classes (e.g., lists, trees, graphs, sets, stacks, queues) o Classes that represent useful abstractions/utility classes (e.g., date, time, money) Problem Domain Many issues need to be addressed when designing classes, no matter on which layer they appear o Issues related to factoring, cohesion & coupling, connascence, encapsulation, proper use of inheritance & polymorphism, constraints, contract specification, & detailed design method design. Packages & Package Diagrams In UML, collaborations, partitions, & layers are modeled as packages (which are higher- level constructs). o Collaborations are normally factored into a set of partitions, which are typically placed on a layer o Partitions can be composed of other partitions. o It is possible to have classes in partitions, which are contained in another partition, which is placed on a layer. Once again, all these groupings are represented using packages in UML A package is simply a generic, grouping construct used to simplify UML models through the use of composition Capturing dependency relationships among the classes & packages helps the organization in maintaining object-oriented information systems. Custom Development Custom Development: building a new system from scratch.
Advantages: o Teams have complete control over the way the system looks & functions o Custom development allows developers to be flexible & creative in the way they solve business problems o A custom application would be easier to change to include components that take advantage of current technologies that can support such strategic efforts. Disadvantages : o The risks associated with building a system from the ground up can be quite high, & there is no guarantee that the project will succeed. Developers could be pulled away to work on other projects, technical obstacles could cause unexpected delays, & the business users could become impatient with a growing timeline Building a system in-house also builds technical skills & functional knowledge within the company. As developers work w/ business users, their understanding of the business grows & they become better able to align IS w/ strategies & needs. These same developers climb the technology curve so that future projects applying similar technology require much less effort Packaged Software many business needs are not unique, & b/c it makes little sense to reinvent the wheel, many organizations buy Packaged Software that has already been written rather than developing their own custom solution It can be much more efficient to buy programs that have already been created, tested, & proven, & a packaged system can be bought & installed in a relatively short period of time, when compared w/ a custom system. Packaged systems incorporate the expertise & experience of the vendor who created the software Packaged software can range from reusable components (such as ActiveX & Javabeans) to small, single-function tools (such as the shopping cart program) to huge, all-encompassing systems such as enterprise resource planning (ERP) apps that are installed to automate an entire business. Installing ERP software is much more difficult than installing small application packages b/c benefits can be harder to realize & problems are much more serious One problem: Companies buying packaged systems Must Accept Functionality that is being Provided by the System, AND RARELY IS THERE A PERFECT FIT If the packaged system is large in scope, its implementation could mean a substantial change in the way the company does business Letting Technology Drive the Business Can Be Dangerous Way to Go System Integration: process of building new systems by combining packaged software , existing legacy systems, & new software written to integrate these together Key Challenge in Systems Integration: Finding Ways to Integrate Data Produced by Different Packages & Legacy Systems
Creating fair contracts is an art b/c flexibility must be carefully balanced w/ clearly defined terms Often, needs change over time; contract should not be specific & rigid that alterations can’t be made. Think about how quickly technology like World Wide Web changes Difficult to foresee how project may evolve over long period of time o Short-term contracts help leave room for reassessment if needs change or if relationships are not working out the way both parties expected In all cases, relationship w/ outsourcer should be viewed as partnership where both parties benefit & communicate openly Alternative Matrix Can be used to organize the pros & cons of the design alternatives so that the best solution will be chosen in the end. This matrix is created using the same steps as the feasibility analysis. o Only difference is that the alternative matrix combines several feasibility analyses into one matrix so that the alternatives can be easily be compared An alternative matrix is a grid that contains the technical, budget, & organizational feasibilities for each system candidate, pros & cons associated with adopting each solution, & other information that is helpful when making comparisons. o Sometimes weights are provided for different parts of the matrix to show when some criteria are more important to the final decision One helpful tool is the REQUEST FOR PROPOSALS (RFP)-a document that solicits proposals to provide the alternative solutions from a vendor, developer, or service provider o Explains the system that a company is trying to build & the criteria that it will use to select a system. o Vendors then respond by describing what it would mean for them to be part of the solution. They communicated the time, the cost, & exactly how their product or services will address the needs of the project o No formal way to write an RFP, but it should include basic info such as the description of the desired system, any special technical needs or circumstances, evaluation criteria, instructions for how to respond, & the desired schedule Classes, Objects, Methods, & Messages Object-basic building block of sys o Instance of classes that we use as templates to define objects o Has attributes & its relationships w/ other objects at particular point in time o Has methods-specify what processes that object can perform Methods used to implement operation that specified object behavior o To get object to perform method, message is sent to object o Message-function or procedure call from one object to another object.