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

Dealing with legacy django project in new localized projects

I am right now in the situation to plan the internationalization of a django project that contains mainly legacy code. The old project itself has different applications which have a strong dependency to each other, so it is hard to separate them.…
NielsH
  • 697
  • 5
  • 14
4
votes
2 answers

Keeping it modular in android - Dividing resources in a good way

Background I'm trying to keep an app which is as modular as possible. The app will have have tasks which it performs on different intervals. My goal is to make it as easy possible to add new tasks with minimal understanding of the underlying…
Nicklas A.
  • 6,501
  • 7
  • 40
  • 65
4
votes
0 answers

Communication between modules - MediatR or Interface/Fasade?

I'm involved in fully modular monolithic application project. We use MediatR like Jimmy describes in this article: Dealing with Duplication in MediatR Handlers. Exactly this: I want MediatR to serve as the outermost window into the actual…
dariol
  • 1,959
  • 17
  • 26
4
votes
1 answer

How to fix module-info.java for Java 11 + JavaFX Hibernate module

Im creating a simple test app with Java11 to learn JPA, Hibernate, some java modularity and later on (CDI with dagger), and im having problems compiling when i use a module-info.java I got a few DAO repositories done for a few simple classes that…
4
votes
1 answer

Unknown provider: membershipServiceProvider <- membershipService <- membershipController error in angularjs Dependency Injection

I am able to run the code from one javascript file. but when I want to separate services into a separate file(in customServices folder) it is giving an injector error:- unknown provider. Debugger when placed in my membershipService.js - it is hit…
mank91
  • 41
  • 3
4
votes
5 answers

C++: Should I use global variables or class member pointers to communicate between modules?

In my project, I have multiple subsystems organized as classes. I need those classes to communicate (so be able to access the other one via a pointer), and I want to implement this in the best way as possible. I basically see three possible…
Jarx
  • 41
  • 2
4
votes
3 answers

What's the difference between 'var webApp = { .. }' and 'var webApp = function (){ .. }'

I have been experimenting a lot with modular JS lately and I still wonder if I am writing it "the right way". For example, if I have a page which has inputs and submit buttons that should display data after submittion (table and graph for example)…
Imnotapotato
  • 5,308
  • 13
  • 80
  • 147
4
votes
2 answers

Implementing extensible code in C++

I am currently busy with a project where the main focus of the application is to be extensible (allow 3rd party developers to write plugins / their own implementations of interfaces). Until now, I have been using Java, and built the application on…
Nico Huysamen
  • 10,217
  • 9
  • 62
  • 88
4
votes
5 answers

What are the best resources if you wanted to create an application with modularization?

In my analysis of the newer web platforms/applications, such as Drupal, Wordpress, and Salesforce, many of them create their software based on the concept of modularization: Where developers can create new extensions and applications without…
Randy Burgess
  • 4,835
  • 6
  • 41
  • 59
4
votes
1 answer

General Modular design for a web application

From everyone who've designed a modular enterprise application, I am interested in knowing how do you perceive modularization and what exactly are you parameters? Is layer-based modularization (like controller/web module, service module, domain…
user18943
  • 759
  • 1
  • 9
  • 18
4
votes
3 answers

Modularity: Using Interfaces or not?

Since a few years, common sense seems to dictate that it's better to program against interfaces rather than against implementations. For high-level code this indeed seems logical, e.g. if I have a complex solver in my application, it seems better…
Patrick
  • 23,217
  • 12
  • 67
  • 130
4
votes
1 answer

Creating Android Modular Applications on Eclipse

I am currently porting a framework for building applications on J2ME to Android. This framework consists of several projects that compile to libraries (jars). Each individual JAR can contain graphical data (resources, J4ME screens, etc.). Every…
Fernando Miguélez
  • 11,196
  • 6
  • 36
  • 54
4
votes
2 answers

Best/standard method for slowing down Silverlight Prism module loading (for testing)

During localhost testing of modular Prism-based Silverlight applications, the XAP modules download too fast to get a feel for the final result. This makes it difficult to see where progress, splash-screens, or other visual states, needs to be…
iCollect.it Ltd
  • 92,391
  • 25
  • 181
  • 202
4
votes
2 answers

Using views as a data interface between modules in a database

I am working on the database layout of a straighforward small database in Mysql. We want to modularize this system in order to have more flexiblity for different implementations we are going to make. Now, the idea was to have one module in the…
Stefan
  • 53
  • 3
4
votes
1 answer

WPF application security and data access - mef modular app MVVM

I'm writing an app in WPF using NET Framework 4.0 Client Profile, PRISM with MEF amd MVVM model and MySQL database. I have a shell application that holds crucial security data like database login, password etc. I do not want to expose that security…
Reken411
  • 196
  • 2
  • 6