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
1 answer

How to minify js from two independent services to work together on the frontend

I have a 'modular' backend where two different services/repos are serving up client side js to the same client. I need the JS from both sources to be minified and work together as one is dependent on the other. They are currently minified…
2
votes
1 answer

Can Prism be modular when calling webservices?

I am playing around creating a demo prism application. The application I have has a shell project and another module that has a prism service and a view (and a view-model). (mostly based off of Mike Taulty's videos, but in WPF rather than…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
2
votes
1 answer

Can Prism and ASP.NET Web Parts work together?

We are trying to pick a modular programming solution at my work. The choice right now is Prism or ASP.NET Web Parts. One Boss person asked if you could wrap a Prism Module in an ASP.NET Web Part so they can be used anywhere (kind of a "can I have…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
2
votes
3 answers

run all modules of a catalog (prism)

i'm using the desktop library of prism. what i want is to get modules in a directory and then, run them. I do like that: DirectoryModuleCatalog catalog = new DirectoryModuleCatalog(); catalog.ModulePath = @"C:\Users\Raph\Documents\Visual Studio…
raphael
  • 53
  • 1
  • 4
2
votes
2 answers

What are the major industry standard Automated Testing Frameworks?

I'm working on establishing automated testing practices and test suites in an organization. A peer is telling me that we "should use a framework". To me, a framework is any set of code and/or other tool that helps you create something. My peer…
fooMonster
  • 987
  • 2
  • 9
  • 23
2
votes
1 answer

Multiple entity extension

Imagine I've got a class defining an entity, such as a Product. My framework is structured in toggable modules, such that some modules may extend the default class, i.e: Module1 lets me define a ColoredProduct Module2 lets me define a…
repptilia
  • 457
  • 8
  • 19
2
votes
0 answers

Defining 3rd-party library in Wildfly as Module without including its dependencies

I am developing a web application for Wildfly 9 using a quite standard stack (Java 8, JAX-RS, Hibernate etc). Now I have to use a third-party library, which has various dependencies to libraries version of Log4j etc. Since I don't want to analyze if…
user140547
  • 7,750
  • 3
  • 28
  • 80
2
votes
1 answer

Modular application pattern: How to check which is the calling Module

I'm currently writing a modular desktop app in c# .NET 4.5 using prism 5.0. My application is composed of the "core" (or the host), and several modules. Each of my modules are implementing the IModule interface provided by prism. The core of my…
Blablablabli
  • 174
  • 9
2
votes
2 answers

Interface Segregation Principle and Convenience/Helper Methods

How does the Interface Segregation Principle apply to convenience/helper methods? For instance: I want to create an interface that represents business partners. The bare minimum that I would need would be a setter and a getter method that would…
2
votes
1 answer

Issue with modularity and clustering in iGraph [Python]

I have a graph g where vertices have an attribute 'group'. I want to measure the modularity of the graph according to the group attribute. Here's how I proceeced: cl = Clustering(g.vs()['group']) modul = g2.modularity(cl,weights=None) The cluster…
Lucien S.
  • 5,123
  • 10
  • 52
  • 88
2
votes
2 answers

making angular Service more modular

I am working with the John Papa style guide. https://github.com/johnpapa/angular-styleguide#style-y061. I like the styling, and it does seem to make my code much easier to read. However, I following the separate data calls . In this John Papa…
Winnemucca
  • 3,309
  • 11
  • 37
  • 66
2
votes
1 answer

CSS Inheritance : Override an ID parent selector with a CLASS child

I have browsed several topics about the CSS inheritance but no one gave me an answer to a specific use case which is producing an unwanted behavior. Reproduction of the problem with a simple example