Please enable JavaScript.
Coggle requires JavaScript to display documents.
Object - Oriented, Component Based Architecture, SOLID Principle,…
Object - Oriented
Encapsulation
-
Purpose: separate interface from implementation. By hiding the implementation details that are likely to change -> allows for flexibility in design, easy teamwork working.
Inheritance
-
Inheritance allows software reuse, hence improving the effectiveness of software development.
Polymorphism
Polymorphism : refer to ability of an object to behave differently and assume different forms based on its inheritance hierarchy.
-
-
Abtraction
Abstraction is the process of hiding certain details and showing only essential information to the user.
Abstraction can be achieved with either abstract classes or interfaces
-
SOLID Principle
-
-
-
Open/closed principle
Classes should be open for extension but closed for modification. In doing so, we stop ourselves from modifying existing code and causing potential new bugs
-
Distributed Architecture
A collection of computational and storage devices connected through a communications network. Components are distributed
-
Client/Server
-
-
Server process receives the request, carries it out, and sends a reply to the client
-
-
Multi-tier
-
-
Cons
-
Adding multiple servers in the system makes the server reliability and availability even more critical
The Broker architectural
-
-
Sub-components
Broker
It coordinates communications, passing on request and returning replies
-
registration information, their functionalities and location information
It provides APIs for clients to request, servers to respond, registering or unregistering server components, transferring messages, and locating servers.
Stub
(client-side proxy)
-
To the client, a remote object appears like a local one.
The proxy hides inter-process communication at protocol level, marshals the parameter values, and unmarshals results from the server.
The stud is generated at compilation time and deployed at client side to be used as a proxy for client
-
-
-
-
-
-
-
-