Questions tagged [modular-design]

Modular programming (also called "top-down design" and "stepwise refinement") is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.

Modular programming (also called "top-down design" and "stepwise refinement") is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality.

Conceptually, modules represent a separation of concerns, and improve maintainability by enforcing logical boundaries between components.

Modules are typically incorporated into the program through interfaces.

A module interface expresses the elements that are provided and required by the module. The elements defined in the interface are detectable by other modules.

The implementation contains the working code that corresponds to the elements declared in the interface.

Source: Wikipedia

116 questions
0
votes
1 answer

How to do modularity in the existing Java application?

I have a very large java application with interdepent classes, it is being decided to convert our big application into modules. To start with this task, I would like to gather ideas. My questions is almost same as asked here : How to modularize a…
Vineet Singla
  • 1,609
  • 2
  • 20
  • 34
0
votes
2 answers

Framework for handling serialization in "key:value;key:value;key:value;key:value;" format

Of course it's easy to write the code to deserialize from this format. I've already done it, but I don't like. The single responsibility principle states that I should have a generic class that worries only about this kind of serialization. And the…
Revious
  • 7,816
  • 31
  • 98
  • 147
0
votes
1 answer

Why do we need IIFE's to have module scoping in Javascript?

Suppose I have core.js var ajax = function(){}; var something = function(){super}; var globalconstant = 5; var someutilitymodule = { onekey: something; twokey: something; } If I include this in my file as