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

Building module based web application in .net

I need to build an MVC application that supports "plug and play" modules. Similar to the way modules in Joomla or Wordpress works. Although I don't need to have any systems in place for managing these, as long as I can install (eg. placing files in…
Mikael Gyth
  • 427
  • 3
  • 16
3
votes
4 answers

C++: What is the proper way of organising a programs subsystems?

Imagine you have a large application project, the code is split into a range of subsystems implemented as classes derived from CBaseSubsystem. Here already comes my first question: Is it a good idea to organize subsystems as classes [derived from a…
3
votes
1 answer

How to achieve true application modularity using Akka in OSGi bundles?

When using Akka actors, every actor created gets registered in an ActorRegistry. The ActorRegistry is a singleton, and allows for easy lookup and management (start, stop, ...) of all actors. In an OSGi environment however, a number of application…
3
votes
1 answer

Do Lerna and Webpack do the same job?

I'm quite confused about what learn does. Is it something like Webpack's code splitting? Should I have one Webpack configuration for each learn module or shouln't I use them together? I'm trying to create modular react app. Any other resource would…
Mohamed
  • 1,251
  • 3
  • 15
  • 36
3
votes
3 answers

C# use DLL functions dynamically

I have two folders, one folder with files and the other one with DLL files, I can not know which or how many DLLs there is inside the DLL files directory (modular use). Inside every DLL file there is a function that gets FileInfo as parameter. How…
FinFon
  • 85
  • 1
  • 2
  • 8
3
votes
1 answer

TypeScript class in traditional folder hierarchy

I'm a seasoned Java dev who needs to port a Java app for web use and I've been considering using Typescript to do this. For the time being, I'd like to keep the traditional Java style of packages being a hierarchy of folders and a single class per…
Sam Washburn
  • 1,817
  • 3
  • 25
  • 43
3
votes
2 answers

Modular application structure in Symfony2

I'm building a tax office self-service application with Symfony2 that will have a modular structure. These modules are contained within separate bundles, for example a TaxBillsBundle, DirectDebitBundle and PersonalDataBundle. These bundles contain…
Willem-Aart
  • 2,200
  • 2
  • 19
  • 27
3
votes
1 answer

Lua Spaghetti Modules

I am currently developing my own programming language. The codebase (in Lua) is composed of several modules, as follows: The first, error.lua, has no dependancies; lexer.lua depends only on error.lua; prototypes.lua also has no…
user6245072
  • 2,051
  • 21
  • 34
3
votes
3 answers

Keeping modules independent, while still using each other

A big part of my C++ application uses classes to describe the data model, e.g. something like ClassType (which actually emulates reflection in plain C++). I want to add a new module to my application and it needs to make use of these ClassType's,…
Patrick
  • 23,217
  • 12
  • 67
  • 130
3
votes
4 answers

How can I activate/deactivate a module's view after its initialization?

This relates to Composite Application Guidance for WPF, or Prism. I have one "MainRegion" in my shell. My various modules will be loaded into this main region. I can populate a list of available modules in a menu and select them to load. On the…
Gus Cavalcanti
  • 10,527
  • 23
  • 71
  • 104
3
votes
1 answer

node.js manage frequently changing local dependencies

I'm currently working on my first larger node.js application which should work as modular as possible using plugin-like dependencies. Because I'm in the early stages of development and am also quite new to node, this involves a lot of trial and…
PostCrafter
  • 655
  • 5
  • 15
3
votes
2 answers

How to create own server profile in JBoss AS 5 and 6

I am using JBoss AS 5 + 6 as an application server, however only as a simple EJB3/Web container with ear and war deployment but without special capabilities such as clustering, ejb2 or hornetq. JBoss AS provides server profiles for different uses…
nre
  • 1,299
  • 11
  • 24
3
votes
2 answers

How do I keep my Java model independent from JPA entities while avoiding code duplication

My Java project uses JPA as a persistence solution. As I read more and more JPA tutorials and guides I find (for the sake of simplicity, maybe) that every writer uses the entity classes as their model classes. That's obviously a poor design choice…
Michele De Pascalis
  • 932
  • 2
  • 9
  • 26
3
votes
3 answers

Splitting up shared code and web.xml from WAR project to common JAR project

I have different webapps that share a large portion of the web.xml configuration. For example, the way some servlets are mapped is identical for all apps, but some webapps have custom servlets, or an additional filter, or shared managed beans. Each…
user1884155
  • 3,616
  • 4
  • 55
  • 108
3
votes
1 answer

Plot communities with igraph

I want to create a graph plot with each community of nodes been covered by some background color, similar to the graph by the following code karate <- graph.famous("Zachary") wc <- walktrap.community(karate) modularity(wc) membership(wc) plot(wc,…
yliueagle
  • 1,191
  • 1
  • 7
  • 22