Posts

MS - Sem1 - OO Analysis and Design - post 2

v   Development Methods §   Waterfall method o     Requirements à Analysis à Design à Implementation à Unit testing à integration à Integration testing à maintenance o     Problems – 1.        Difficult to complete one phase of a software product's lifecycle 2.      Clients may not be aware of exactly what requirements. they want before they see a working prototype 3.      Designers may not be aware of future implementation 4.      Difficulties when writing a design 5.      Things become clear in the implementation phase §   Iterative and Incremental Development 1.      Neither top-down nor bottom-up 2.      Successive Refinement of the OO Architecture 3.      Apply Experience & Results to next iteration v   Unified Process ...

MS - Sem1 - OO Analysis and Design - post 1

OO principles (The four fundamentals) – Abstraction (a simplified description)                 “An abstraction denotes the essential characteristics of an object that distinguish it from all other kind of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer” – Encapsulation                 In general, encapsulation is one of the four fundamentals of OOP (object-oriented programming). Encapsulation is to hide the variables or something inside a class, preventing unauthorized parties to use. So the public methods like getter and setter access it and the other classes call these methods for accessing. •Information hiding               •Interface –Implementation         ...