General Programming Flashcards
chmod
“change mode” The command and system call which is used to change the access permissions of file system objects (files and directories).
“chmod 777” means making the file readable, writable and executable by everyone.
Domain Façade / Service Layer / Application Boundary:
WHY?
1) Clean application boundaries (coordinates & orchestrates internal operations)
2) You can change the core without changing the façade
3) Façade defines set of available operations
4) Reduces negative coupling
Service Interface Layer –> Domain Layer(Business) –> Data Access Layer
Who can talk to whom?
1) Layers can only talk to the layer to the right –>.
2) They can only touch the SURFACE of the next layer (boundary/façade)
3) They can only talk to the NEXT layer (can’t skip)
What is the structure within a layer (e.g. Domain Layer)?
Domain Façade –> Managers –> Services
Tenants of Domain Façade / Service Layer Design
1) Interior code should not be exposed on the surface (makes for a simple interface)
2) interior dependencies should not be exposed to the outside
3) take the lines seriously