Questions tagged [modularity]

Modularity describes the degree to which a system’s components may be separated and recombined. It refers to both the tightness of coupling between components, and the degree to which the “rules” of the system architecture enable (or prohibit) the mixing and matching of components.

Modular programming is a software design technique that increases the extent to which software is composed of separate, interchangeable components. This is done by breaking down program functions into modules, each of which accomplishes one function and contains everything necessary to accomplish this.

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

http://en.wikipedia.org/wiki/Modularity

http://en.wikipedia.org/wiki/Modular_programming

729 questions
5
votes
4 answers

How do you carry out modularized development in c/c++?

I can deal with only the easiest case, when there are only 2 modules A and B A is dependant on B, so I build B as a library and include B's header file in A, also link to B library when building A. This won't work when A and B are inter-dependant,…
Alan
  • 5,029
  • 5
  • 32
  • 37
5
votes
1 answer

Modular program design

My question is unfortunately badly formed as I'm not entirely certain to call what I'm trying to do. My apologies for that. It came up since I'm trying to code a really basic browser that I want to implement in C and I was thinking about how best to…
Ellen
  • 51
  • 1
5
votes
1 answer

Modular Design Patterns

I've started drawing plugs in Java, like connectors using bezier curves, but just the visual stuff. Then I begin wondering about making some kind of modular thing, with inputs and outputs. However, I'm very confused on decisions about how to…
whitenoisedb
  • 403
  • 1
  • 5
  • 16
5
votes
4 answers

Modular Application Database Structure

I am building a modular application. Through configuration you can turn these application modules on and off. I'm trying to determine what database structure (mssql2005) I should use for the tables that hold data for each of the modules. The two…
Aaron Palmer
  • 8,912
  • 9
  • 48
  • 77
5
votes
2 answers

Advice for keeping large C++ project modular?

Our team is moving into much larger projects in size, many of which use several open source projects within them. Any advice or best practices to keep libraries and dependancies relatively modular and easily upgradable when new releases for them are…
Jay
  • 195
  • 2
  • 10
5
votes
1 answer

Modularizing Rails applications

I'm looking for a way to modularize Rails applications. As I've seen there is no built-in way of accomplishing it. I've found different plugins/core hacks but I feel untrusted about the way they work and their maturity. Do you have any experience on…
knoopx
  • 17,089
  • 7
  • 36
  • 41
5
votes
2 answers

Decoupled architecture

I'm working on a system where I'd like to have my layers decoupled as much as possible, you know, some kind of modular application to be able to switch databases and stuff without a serious modification of the rest of the system. So, I've been…
walther
  • 13,466
  • 5
  • 41
  • 67
5
votes
1 answer

Clojure module dependencies

I'm trying to create a modular application in clojure. Lets suppose that we have a blog engine, which consists of two modules, for example - database module, and article module (something that stores articles for blog), all with some configuration…
h3x3d
  • 231
  • 2
  • 10
5
votes
1 answer

Is there a way to modularize a JavaFX application?

I've started toying with JavaFX 2 and I really like the ease with which one can create a UI with FXML. However, once you get past the basic examples and you need a UI with many windows, it seems illogical to have the definition for the whole…
corbenik
  • 126
  • 2
  • 8
4
votes
3 answers

MVC component GUI approach

I am interested in general approach for building interactive GUI using MVC3. The idea is to build set of different components that can be integrated (plugged in) into various scenarios. Each Component MUST have it's own model definition, controller…
Dusan
  • 5,000
  • 6
  • 41
  • 58
4
votes
1 answer

Designing a pluggable points and badges system

How do I design a pluggable points and badges system which is easy to turn on and off, as well as easy to turn into a module of its own? After many trials and errors I reached the conclusion that points and badges are simply too intertwined into the…
Preslav Rachev
  • 3,983
  • 6
  • 39
  • 63
4
votes
3 answers

Django: extend overridden template

I have two applications in my settings.INSTALLED_APPS: INSTALLED_APPS = [ 'application2', 'application1' ] and want application2 to change a template from application1 (e.g. by adding a button). How can achieve this without overriding the…
Don
  • 16,928
  • 12
  • 63
  • 101
4
votes
7 answers

Objective-C build system that can do modules

I'm working on a small hobby project of mine where I have a big structure that takes care of all core tasks. This core won't do much by itself, it needs a dozen subsystems that actually do the hard work. I've currently written only one subsystem so…
Tom van der Woerdt
  • 29,532
  • 7
  • 72
  • 105
4
votes
1 answer

Creating CustomViews as a modular & reusable component which can be used across projects

I'm currently in the process of creating quite a large scale Android application. As part of the application I've created a Custom View (one of many). The Custom View in question is quite wide ranging in terms of functionality and because of that…
Graeme
  • 25,714
  • 24
  • 124
  • 186
4
votes
2 answers

Why my void function from another file is not running in this C program?

I want to print the content of a txt file (first parameter), but the function to do so is in a different file. I have the following main file: #include #include #include #include "fileoperation.h" int main(int argc,…
carreramcl
  • 43
  • 4