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

Modular approach to client-side applications

This is a follow-up to my previous question. Suppose there is a single web page with a login form and sign-up link. When a user clicks on the link a new sign-up form is displayed. Suppose also I create separate HTML, CSS, and JavaScript files for…
Michael
  • 41,026
  • 70
  • 193
  • 341
0
votes
2 answers

Customizable modular GUI developed in Java

For my final project in a bachelor's degree I want to develop an instant messenger with a fully customisable GUI. I hope to have an application with modular components that can be added and removed at will, and shifted around the window as desired…
Joe
  • 835
  • 2
  • 9
  • 20
0
votes
0 answers

Module Dependency for Directory Catalog - Microsoft PRISM

I am using DirectoryModuleCalatog to load the modules. What I am trying to implement is all the modules needs to be dependent on some specific module. For example, I have one MainModule and several orher modules, what I want is all my modules are…
Ashish Sharma
  • 357
  • 2
  • 5
  • 16
0
votes
2 answers

MFC Best practice and modularity

In MFC, certain mechanisms provided allow the programmer to bypass modularity and encapsulation and information hiding, arguable the most desirable features of an Object Oriented framework. One (of many) examples is Owner Drawn controls: you can…
user965369
  • 5,413
  • 13
  • 33
  • 47
0
votes
1 answer

javascript removeChild then replace this with new text using insertBefore

I want to create a function in an external javascript file that I can reuse later (i.e. a modular function that is general enough to be used in whatever javascript it is needed in). I want to do this with pure JavaScript, not using jQuery or…
HoppedUpDesigns
  • 65
  • 2
  • 12
0
votes
1 answer

how to use controllers and views on many domains

Here is my issue. I need to produce many sites using the same structure (in RoR) and host them on many domains. The only difference between domains will be model data stored in the database and one stylesheet.. everything else will look and operate…
Troy Cosentino
  • 4,658
  • 9
  • 37
  • 59
0
votes
2 answers

How to invoke an api method from different packages with no extra dependency?

Assume: I have a Java/Android modular library that can setup like this: package com.mycorp.app.sample.integration; public class ModuleConnector { public static final LogcatLogger LOGCAT_LOGGER = new…
Behnam
  • 2,212
  • 2
  • 22
  • 32
0
votes
1 answer

How to make two related package independent from each other in a Java/Android modular library?

Assume: A simple modular java library has only two module: package com.mycorp.lib.logger; public class LogcatLogger implements Logger { @Override public void out(LogcatLogger.LogMessage message){ Log.i("TAG", message.status); …
Behnam
  • 2,212
  • 2
  • 22
  • 32
0
votes
1 answer

Mechanisms for reusing non-trivial code in Cocoa?

So I recently worked on extending the functionality of the List/Details app pattern: implementing a swipe on the Details view to move to the previous or next item in the parent list. My solution requires adding one property to the Details view, 3…
software evolved
  • 4,314
  • 35
  • 45
0
votes
1 answer

Modular XML Schema - How should I do it?

I am very new to xml and xml schema. I want do code something quite modular and I have difficulties achieving this modularity. My problem is the following: I want xml-schemas which validate the following xml file:
Fanthomas90
  • 45
  • 1
  • 4
0
votes
1 answer

Multi-modules application architecture

I would like to design an application with a core and multiple modules on top of the core. The core would have the responsibility to receive messages from the network, to parse the incoming messages and to distribute the messages to registered…
manash
  • 6,985
  • 12
  • 65
  • 125
0
votes
1 answer

Is it possible to have the javascript properly execute smooth scrolling with the anchors in nav.html?

I am trying to create a modular html document that employs smooth scrolling. If I don't place the anchors directly in the document it does not scroll smoothly. http://www.cincitucky.com/ is the site. http://www.cincitucky.com/_scripts/script.js…
eldereko
  • 5
  • 6
0
votes
1 answer

Windows Workflow Foundation in modular application

I have a question about WWF, I'm working on a webbased ERP project which is a modular application ofcourse. I'm looking for a way to create an engine for wokflows in the framwrok so modules can rely on it and based on this engine create their…
0
votes
3 answers

How to manage multiple (different) view layers

I have a website (ASP.NET MVC) which I would like to extend to another similar topic (like stackoverflow-serverfault-superuser). Database layer and controllers layer are the same for both websites. What differs is just the view layers, and only for…
Davide Vosti
  • 2,485
  • 2
  • 22
  • 31
0
votes
1 answer

How to reuse code in different Eclipse plugins independently

If I have 2 different Eclipse plugins with similar functionality (e.g. they both implement an extension point or a service of a third plugin), how can I easily reuse the same code in both plugins without making one depend on the other? Example: Have…
Bananeweizen
  • 21,797
  • 8
  • 68
  • 88