SE paradigms

Work in Progress

Concept

OOP

Is-A

Has-A

  • composition
  • instance attributes
  • ownership

Can-Do

Java access modifiers

Classes

ModifierPermissions
publicaccessible to any other class
defaultaccessible within the same package

Attributes, methods and constructors

ModifierPermissions
publicaccessible to any other class
privateaccessible only within the class
defaultaccessible within the same package
protectedaccessible only within the same package and subclasses

Software development lifecycle(SDLC)

  • brownfield: builds upon existing software
  • greenfield: new software from scratch

Sequential model

  • linear process
  • specify requirements -> design -> implement -> test -> deploy

Iterative breadth-first

  • each iteration is a working product
  • all components are improved

Iterative depth-first

  • each iteration implements new functionality
  • iterations may not produce a working product

CI/CD

Continuous integration

  • integration, building and testing happens automatically after each code change

Continuous deployment

  • also deployed to end users