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
18
votes
2 answers

ReactJS: How can I have a more modular use of prop types & shapes for objects?

I like to explicitly specify all my prop types for every class. React.createClass({ propTypes: { optionalArray: React.PropTypes.array, optionalBool: React.PropTypes.bool, ... This is from reading reusable components:…
dmonopoly
  • 3,251
  • 5
  • 34
  • 49
18
votes
2 answers

ASP.NET MVC 5 Modular Web application Architecture?

The company where I am currently employed is struggling with an architectural decision for our range of applications. At the moment we have a couple applications that have common parts (think like a calendar module). Until now we kept on copying…
yoerids
  • 918
  • 1
  • 8
  • 19
17
votes
7 answers

How to modularize a (large) Java App?

I have a rather large (several MLOC) application at hand that I'd like to split up into more maintainable separate parts. Currently the product is comprised of about 40 Eclipse projects, many of them having inter-dependencies. This alone makes a…
Daniel Schneller
  • 13,728
  • 5
  • 43
  • 72
17
votes
3 answers

Programming in the large with prolog

I'm trying to keep my Prolog code modular, and I was wondering if anyone had any advice as to how to do this. The way I was doing this with simple consults, but that is getting cumbersome as the number of my files increase and succumbs to name…
Sean Kelleher
  • 1,952
  • 1
  • 23
  • 34
15
votes
5 answers

How to use the decoupled symfony components?

Any information on how to use symfony's decoupled components? I'm rereading the docs but there's nothing on the topic besides a general message of "They are very very decoupled" and 1 tutorial that makes use of Request and Response. There's also one…
antitoxic
  • 3,746
  • 1
  • 37
  • 46
15
votes
1 answer

Publishing of a modular library to Maven using Gradle

Suppose I'm using Gradle for a modular library development. In my root project I have subprojects geometry, algorithms, visualizer, and I'd like to publish a jar artifact of each. As for now in my root build.gradle I have the following part: apply…
hotkey
  • 140,743
  • 39
  • 371
  • 326
15
votes
2 answers

Community detection in Networkx

I'm studying about detection communities in networks. I'm use igraph and Python For the optimal number of communities in terms of the modularity measure: from igraph import * karate = Nexus.get("karate") cl =…
Alan Valejo
  • 1,305
  • 3
  • 24
  • 44
14
votes
2 answers

EventAggregator vs CompositeCommand

I worked my way through the Prism guidance and think I got a grasp of most of their communication vehicles. Commanding is very straightforward, so it is clear that the DelegateCommand will be used just to connect the View with its Model. It is…
Thorsten Lorenz
  • 11,781
  • 8
  • 52
  • 62
14
votes
2 answers

Javascript requirejs in development but compiled in production

I'm beginning to evaluate javascript module tools like RequireJS for javascript modularization. This seems useful, especially during development, so I don't need to recompile all of the js files into mylib-.js whenever I change one of the…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
13
votes
3 answers

RequireJS: Best method to run page specific modules?

Example: mysite.com/page1 depends on scripts in module1.js mysite.com/page2 depends on scripts in module2.js mysite.com/page3 depends on scripts in module3.js Does anyone have any best practices for only running the Javascript required for that…
wilsonpage
  • 17,341
  • 23
  • 103
  • 147
13
votes
4 answers

Approach to handle javascript on bigger projects?

After discovering jQuery a few years ago, I realized how easy it was to really make interactive and user friendly websites without writing books of code. As the projects increased in size, so did also the time required to carry out any debugging or…
Industrial
  • 41,400
  • 69
  • 194
  • 289
13
votes
1 answer

OSGI runtime inside traditional Java EE server

I understand it should probably be other way round (OSGI runtime hosting Java EE servers), as it is apparently already possible with glassfish. However, our clients have extensive experience in administering traditional Java EE servers and…
Dan
  • 11,077
  • 20
  • 84
  • 119
13
votes
3 answers

Newman's modularity clustering for graphs

I am interested in running Newman's modularity clustering algorithm on a large graph. If you can point me to a library (or R package, etc) that implements it I would be most grateful. best ~lara
laramichaels
  • 1,515
  • 5
  • 18
  • 30
13
votes
4 answers

Break sequelize models in separate folders

My real question is: Is it possible to work with sequelize having the Models in separate folders? I'm asking this because i'm trying to work with a modular structure in my application, to accomplish that i need to have the model, the controller and…
Jonathan Solorzano
  • 6,812
  • 20
  • 70
  • 131
12
votes
5 answers

database schema design tools / modular database design

I'm developing applications which can be build partly from modules. For example I would be able to develop some online community which contains the modules 'forum', 'blog', 'gallery', etc. Currently I have one large database ERM containing all the…
aurora
  • 9,607
  • 7
  • 36
  • 54
1
2
3
48 49