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

PRISM module registration

I have a WPF application with a simple tabular region layout as follows: ----------------------------- | Region 1 | Region 2 | ----------------------------- | Region 3 | Region 4 | ----------------------------- I want to offer the…
Sidebp
  • 770
  • 1
  • 10
  • 26
2
votes
0 answers

Modularity issue with JavaScript

I am trying to write JavaScript in a modular way. I have written spagheeti code in the past to get things done. But I wanna do this correctly this time around.. I am trying to write a trivia application.. i am trying to use the object literal…
Ram
  • 628
  • 1
  • 6
  • 19
2
votes
1 answer

Where should I store my React reusable components?

I have several ReactJS projects and I am starting to have a lot of reusable components. I do not want to publish them to npm or have them mixed with the imported node_modules directory at the root of my project. Where should they go? My projects…
RaphaMex
  • 2,781
  • 1
  • 14
  • 30
2
votes
4 answers

Is OSGi overkill for modularized Web projects?

I mainly develop a big Web project with Java, Maven, and Spring. However, there are different flavors of the Web project that are created for specific customer needs. For instance, if one customer wants a Twitter page, but another does not, I need…
Matt
  • 3,254
  • 3
  • 23
  • 32
2
votes
1 answer

Java module and Cycle exists in module dependencies, Module

I have 2 projects and + proj1 has + com.myproj1 has + Runner.class + Logger.class + proj2 has + com.myproj2 has + Test.class + Fact.class module com.myproj1 { requires module com.myproj2; exports…
James
  • 441
  • 2
  • 6
  • 9
2
votes
0 answers

how to extract modularity scores for each partition in a walktrap community?

I am new to Community Detection and to make things harder I am also a beginner in R - please keep this in mind when you kindly answer. I am happy to add my data to this post if anyone could tell me how to achieve that please? First Problem I created…
Thea
  • 21
  • 3
2
votes
2 answers

Zend Framework Plugin Package Loader

The challenge: I want to modularize my library folder in my zend framework app. This is fine, if you want to put everything in the same namespace such "App_." But the problem comes in when you have a dozen packages such as a SignUp package, ACL…
Fatmuemoo
  • 2,187
  • 3
  • 17
  • 34
2
votes
2 answers

How to build java 9 dependencies from maven dependencies

Java9 has introduced a strong modularity similar to OSGI and Maven Dependecies. Is there a maven plugin able to build the java 9 dependencies inspecting maven dependencies? For example,…
giusy
  • 365
  • 2
  • 5
  • 17
2
votes
2 answers

ASP.NET Completely modular design - how?

Technology: ASP.NET 4.0, C#, forms/mvc I am a .NET web designer and I wish to create a modular based website for people, similar to what DNN does (but I want to create my own cut down version). The idea is that I create a base website that can…
Dan B
  • 936
  • 2
  • 13
  • 26
2
votes
4 answers

How to create modules in C

I have an interface with which I want to be able to statically link modules. For example, I want to be able to call all functions (albeit in seperate files) called FOO or that match a certain prototype, ultimately make a call into a function in the…
chacham15
  • 13,719
  • 26
  • 104
  • 207
2
votes
0 answers

Spring application modularity

I have a web application, which will be installed in multiple companies. Each of companies have API, which I try to unify and put in separate modules. (It's a security reason, as I don't want CompanyA to have CompanyB's API). So, I think it should…
Semyon Danilov
  • 1,753
  • 1
  • 17
  • 37
2
votes
1 answer

Multiple Django apps under the same site

I am thinking of creating a content delivery web application using Django with a MySQL database, and after reading the docs a bit I noted that it is possible to create multiple apps in the same project/site directory. It may or may not apply to…
Adr7000
  • 69
  • 2
  • 7
2
votes
1 answer

modularity and flex view states

I've seen some similar questions, but nothing quite like what I'm trying to figure out, so here goes. I have a flex app with many view states, some of which are used frequently, some of which are not. Currently all these states reside in one mxml…
S.C.
  • 1,152
  • 8
  • 13
2
votes
2 answers

C++ cpp files as modules

Sorry if I am duplicating other question but I don't know how to google it. I want to add some minor modularity to my program: some .cpp files should be compiled as "modules". The main requirement is that I should be able to add modules by just…
Sion0
  • 77
  • 7
2
votes
1 answer

How do you understand modularization?

I'd like to know how you understand modularization in software, especially in web development?
James Tang
  • 593
  • 6
  • 13