1 / 18

Information-oriented approaches

Information-oriented approaches. Colin Potts Georgia Tech. Information modeling in the enterprise. Philosophy Systems are what they are about, not what they do Therefore, model the system’s subject matter Process and computation is secondary

biancaj
Download Presentation

Information-oriented approaches

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Information-oriented approaches Colin Potts Georgia Tech

  2. Information modeling in the enterprise • Philosophy • Systems are what they are about, not what they do • Therefore, model the system’s subject matter • Process and computation is secondary • Information structure is more stable in the enterprise than functions & processes

  3. Information modeling & requirements • Many organizations are developing enterprise data models / schemas • Requirements for new applications must be described in the terminology of the model Enterprise- wide model Applications

  4. Subject matter is described in terms of Entities Relationships Attributes Constraints ER-modeling is not restricted to database design Though most relevant for DB-intensive ISs Entity-relationship (ER) modeling attribute Patron relationship Author borrows entity copy of Book Title

  5. Entities & relationships • Entities are things • but not necessarily tangible (books), also abstract concepts (title) • Relationships hold in states • System exists in discrete states • e.g. “Fred has borrowed War and Peace” book patron entity

  6. Attributes & cardinality • Attributes are properties of entities • Though sometimes, an apparent attribute gets “promoted” to a relationship • Cardinality constraints say how many entities of each type can participate • Minimum and maximum at each end of relationship

  7. Min 0 entity may enter into relationship Min 1 entity must enter into relationship Max 1 entity enters into relationship with at most one other entities Max n entity may enter into relationship with others Cardinality (cont.) entity 1 relationship entity 2

  8. Translating a model into English N M An M verbs Ns M N An M verbs an N M N An M may verb an N M N An M may verb Ns

  9. Transactions are operations that affect the state of the model e.g. use cases in a BPR model effects may be create retrieve update delete of an entity, its attributes or relationships “CRUD matrix” Transactions & updates

  10. Team exercise: Information modeling • As a class • Think about problem domain that underpins the example requirements • Identify candidate entities, attributes, relationships from domain • In teams of 2-3 • Sketch E-R model fragment • As a class • Discuss the insights so gained about the reqts.

  11. Information modeling: how to find out more • There are many books on information modeling • but most are about DB design • Two good general introductions are • Shlaer & Mellor (Don’t be deceived by the “OO” title) • Barker: CASE Method

  12. Object-oriented analysis: introduction • OOA evolved from Information Modeling • Very similar in outline • OOA is analysis and specification phase preceding OOD/OOP • Relevance to requirements • As with information modeling, derive requirements using terminology of stable object model

  13. OOA and information modeling have same basic concepts Classes = Entity classes Objects = Instances Objects have operations Objects have life cycles Some classes specialize others from which they inherit attributes and operations Title author has copy (1,1) (1,n) Book acqn# Patron (0,n) borrows name (0,1) Objects and entities Loaner

  14. Two families of OOA/OOD methods • OOA associations can be purely static relationships • cf. information modeling; conditions that hold • Or can be dynamic connections • cf. modules using other modules • Two families of methods • IM-based: ERA plus inheritance & ops. • Dynamic: Based on scenarios.

  15. OMT (Rumbaugh et al) Heuristics for identifying classes Dynamic model Build scenarios describing how system will be used Draw event traces for the scenarios showing objects interacting Develop lifecycle models (state machines for classes Book Patron borrow return Objects and scenarios of use Patron shelved borrow return on loan

  16. OMT object model Operations are treated like a special type of attribute Operations may be performed or suffered Operations change the value of an attribute or relation Here "borrowed" Similar treatment in other OOA methods Objects and operations Book acqn# (0,n) Patron borrowed name borrow return (0,1)

  17. OOA: how to find out more • There are lots of methods and books about them • OOA as extended information modeling • Rumbaugh et al book • OOA as scenario-based analysis method • Jacobson book • Different from the BPR book

  18. Conclusions: Information-oriented approaches • Goal • Understand requirements through constructing information model • Techniques • ER modeling & OOA • Evaluation • ER is mature, but unnecessarily restricted to DB design • OOA is new

More Related