Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [modularization]

The tag has no usage guidance.

1
vote
1answer
106 views

Switching out implementation source files in C project

For simplicity, let's say I have the following C project structure: src/ utils/ logger.c logger.h main.c secondary_component.c main.c starts with: #include "utils/logger.h" I would ...
0
votes
1answer
101 views

Multiple DLLs vs Multiple EXE's in a project that needs to be modular (web browsing automation)

First of all, C# solutions are needed. So in my team I am responsible for creating a program that will receive a "task" in json format from an API, from this json it needs to figure out what website ...
1
vote
0answers
57 views

How can I have many application components partly share the same model?

I am trying to do the architecture of a new application we are building. We wanted something quite modular. Considering we are open source and we want other people to be able to easily add new ...
2
votes
1answer
100 views

Put functionality in same executable with command-line flag, or put it in a separate executable?

Background: I am working on a service where the domain logic exists as a library, and then the actual executable is built on a web framework as a wrapper around the domain logic library. There is no ...
3
votes
2answers
187 views

Modulizing vs Performance benefits

Modulizing software from my empirical experience seems to decrease performance, most of the overhead can be communication of modules, redundancy in computation, storage and depending on the ...
10
votes
6answers
2k views

Did Dijkstra intend for code modularization, when he wrote about separation of concerns?

First, I read an excerpt Edsger W. Dijkstra's 1974 paper "On the role of scientific thought": Let me try to explain to you, what to my taste is characteristic for all intelligent thinking. It is, ...
1
vote
1answer
79 views

Parnas' Paper on Modularization and Workflow Engines

In a Software Engineering class, we had an assignment to read Parnas' seminal paper on modularization [0]. In this paper, two approaches of dividing a software into modules are discussed: Traditional ...
1
vote
3answers
211 views

How do I compare parameter- and returntypes at runtime?

I have a Java application that needs to process some data. The data starts off in format A. The application consists of a number of modules which are each capable of processing data. But not every ...
2
votes
1answer
64 views

Responsibility for adding and ordering menu items in a modular application

Following Ordering menu items fed from multiple modules the question was raised to me, who is responsible for ordering and alignment of menu items in a modular application. The previous link suggests ...
0
votes
1answer
168 views

What is a good versioning strategy to achieve 'fail fast' with chains of dependent maven submodules?

My organisation modularised their monolith into maven modules in dependencies up to four deep. Originally we used the maven plugin to auto-increment the version numbers in the pom every time someone ...
0
votes
1answer
384 views

Making an existing project modular

Context: I have recently joined a new company where they have a particular folder structure in the project where they have different modules in different folders in a single project. Each module ...
0
votes
1answer
499 views

How to modularize Angular 2 application - share components, services, models among multiple pages?

I am developing Angular 2 payroll application intended for serveral user groups/roles - e.g. for accountants, for employee self-service, for managers. Each user group should have completely different ...
3
votes
6answers
3k views

Splitting up a very large function/program into smaller functions. Effective?

I know function names can be very expressive. And therefore it can be tempting split up a program into particular functions and call them from a large "oversee-able" functions file. However is this ...
8
votes
2answers
404 views

How to cleanly separate different parts of a software application?

I am designing a new application that deals with a lot of business logic. To avoid the usual entanglement between different application layers that often sneaks into such systems over time, I want to ...
4
votes
1answer
101 views

How can customer specific implementation be handled?

How can I handle customer specific implementation. So for example a custom needs a different way to show data, a different model or a different logic. I've read about HMVC but I can't find frameworks ...
1
vote
0answers
1k views

Modularizing level of Angular 2 application

my question is related with Angular 2 Modules (@NgModule). Previously I’ve worked with angular 1.5.8 on huge business application and I’ve got used to Angular 1.x practices. Important background: ...
17
votes
2answers
6k views

Composing large Angular 2 app with multiple small apps within

After long 3 months of debate and research in choosing between React (with Redux) and Angular 2, front-end team in my company has concluded to go with Angular 2 (given that it is more suited for our ...
3
votes
1answer
133 views

Leo Brodie's “Interface Component”

On page 85 of Leo Brodie's book, Thinking Forth, he describes a component which he calls the "Interface Component." He describes its differences from, and benefits over a standard interface as follows:...
7
votes
5answers
489 views

Is it wise to rely on optimizations?

Should I write my code to be clear what I am doing and rely on the optimizer to clean up my code efficiency, or should I be obsessive about getting every last ounce of power out of my code? And how ...
1
vote
3answers
107 views

Including both “careful” and “dangerous” versions of a function in a library/module

I'm writing some code that I've decoupled off into a module of its own, and even though I'm most likely the only person who will use it, I'm trying to think as if I might not be. The functions in this ...
1
vote
1answer
59 views

Developing an application where a chunk of the code is used by both the app the tests

I'm developing a web app in PHP where part of the code I'm developing for it will also be used in the tests. I'm not sure how to handle this. That code in question is an abstraction to communicate ...
2
votes
2answers
633 views

Why is modularity a good idea? [closed]

I have a programmer on my team who wants to take all the control flow logic for handling events sent by any module and put it all in a single file, because they think it will make an already-complex ...
0
votes
1answer
130 views

Where to store (data) classes for webservices

So I'm pretty new in my current company and my current task is to create a webservice that sends some serialized java objects from service A to service B using jaxws (webservices). The senior on the ...
4
votes
2answers
134 views

How should one modularly implement related objects?

I tried to make the question title as generally applicable as possible, but I'm not certain I worded it so well. It was brought about by a very specific problem I'm having, and for the remainder of ...
1
vote
2answers
2k views

How to make scalable modules in a div element

I'm interested in creating web modules that are encapsulated by a div element in a manner that, by simply resizing the div, everything in that div scales to the dimensions of that div proportionately (...
1
vote
0answers
126 views

Modular Webframework which also includes Frontend modularity

This might be a big or broad question, but I simply cannot find a proper answer to this myself. Right now I'm struggling to find a starting point for the application I'm trying to make. My idea is to ...
63
votes
5answers
19k views

Why is it so bad to read data from a database “owned” by a different microservice

I have recently read this excellent article on the microservice architecture: http://www.infoq.com/articles/microservices-intro It states that when you load a web page on Amazon, then 100+ ...