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
0
votes
0 answers

C# - Share Types Between Modular Parts Of Application

(This is not about modularity between assemblies but about modularity between simple C# classes/objects) My application (C#) can be divided into following parts: components (display results and stuff) worker classes that do some work (other…
Bitterblue
  • 13,162
  • 17
  • 86
  • 124
0
votes
1 answer

Handle multiple web modules in a spring MVC application

I'm trying to handle multiple web modules in a spring MVC application. Let's say I have two modules : financial module and warehousing module. They have their own business processes, but there's some common processes like LDAP authentication and…
Ilalaina
  • 41
  • 4
0
votes
0 answers

How do "middleware frameworks" score for modularity?

Lately I've been learning a lot about node.js and the surrounding library ecosystem. Some of the libraries I've come across have been what's been called "middleware" frameworks. These are libraries like Connect.js and Flatiron. I'm wondering if…
B T
  • 57,525
  • 34
  • 189
  • 207
0
votes
2 answers

AngularJS modularization

So I am trying to modularize my angular JS application, as it is getting quite large, and it's already easy to get lost, with multiple controllers in a single file. Here is my folder structure at the moment, loosely based off ng-boilerplate: The…
Sneaksta
  • 1,041
  • 4
  • 24
  • 46
0
votes
1 answer

Get rid of god object of QMainWindow

I am making an application with three libraries ITK VTK and Qt. Since I want all functionality in the event loop and connection of signals and slots so I defined all functionality under QMainWindow definition. Now mainwindow object became bulky and…
QT-ITK-VTK-Help
  • 548
  • 2
  • 6
  • 19
0
votes
2 answers

Integrating Modules with Application in Prism aka CompositeWpf

From MSDN: It is likely that most of the views in your modules will not have to be displayed directly, but only after some action by the user. Depending on the style of application, you may want to use menus, toolbars, or other navigation…
Raj
  • 4,405
  • 13
  • 59
  • 74
0
votes
1 answer

Structuring a JavaScript app using a modular approach

I am trying to write a javaScript application that is of sufficient size that modularity is probably a good idea. I am using the famous inherit function to enable objects to inherit from constructors that have parameters. The problem is I get an…
orb
  • 1,263
  • 1
  • 10
  • 16
0
votes
2 answers

OSGi package export behavior of the bundles with same symbolic name

Consider I have two OSGi bundles with the same symbolic name but a different version. Both bundles export the same unversioned package (e.g., my.package). Makes OSGi any guarantees which bundle will be used to provide the package? (A reference to…
s106mo
  • 1,243
  • 2
  • 14
  • 20
0
votes
1 answer

How to write in a membership vector to use in modularity() function with R

I have a membership vector created with another software and I am stuck to write it into R so that I can use iGraph' modularity function to calculate modularity of this community division.  Can someone help me with how to write the vector into R so…
Song Chen
  • 15
  • 1
  • 5
0
votes
2 answers

How to create a list of actions which corresponds to commands in Java

I want to control my server by typing commands in the console, but since it is not modular to write something like switch(command) { case 'command1': command1(); break; /* And so on */ } in the class Server, how can I create a list of…
user2137101
0
votes
1 answer

Ideas for setting out an MVC 4 template for future projects with shared views and code

I'm trying to setup a mvc template/framework for future development work. What I want to do is have a way of using shared resources such as the layout and common nuget packages so that starting new sites use our branding and such without to much…
Hudsonw
  • 35
  • 1
  • 5
0
votes
1 answer

finding modularity and community membership

I want to find 1) the modularity of a network and find 2) the identities of the nodes in each community. I think this is the way to get modularity: g <- graph.full(5) %du% graph.full(5) %du% graph.full(5) g <- add.edges(g, c(1,6, 1,11, 6, 11)) ebc…
user1320502
  • 2,510
  • 5
  • 28
  • 46
0
votes
1 answer

Do I have to design for separate database & server runtime per different module?

When designing a new J2EE based enterprise framework, do I have to prepare for the situation where separate business modules have to use different databases and have to run on different application server instances? From another point of view: has…
Balint Pato
  • 1,497
  • 1
  • 13
  • 28
0
votes
1 answer

In Prism, how can I allow modules to fill a control?

I know I have to build a region adapter, but I don't have the slightest idea where to start. What I want is the ability to have modules populate a grid dynamically. For example, think of it as little widgets populating a desktop space. If one is…
TrialAndError
  • 1,784
  • 3
  • 20
  • 41
0
votes
2 answers

ASP.NET MVC control similar to forms

first let me say, I have started my first ASP.NET MVC (4) application. Before that, I was a forms developer. I love the MVC concept, even though I have not yet fully understood. In ASP forms times, we could create a control to encapsulate and use…
Patrik
  • 1,119
  • 5
  • 18
  • 37