Questions tagged [modularization]

The aim of the software modularization process is to partition a software system into subsystems to provide an abstract view of the architecture of the software system, where a subsystem is made up of a set of software artifacts which collaborate with each other to implement a high-level attribute or provide a high-level service for the rest of the software system.

Knowing the software architecture, software developers can perform fit-gap analysis and estimate the costs and risks of the required changes, and also will be able to determine which components can be reused. However, for large and complex software systems, the software modularization cannot be done manually, owing to the large number of interactions between different artifacts, and the large size of the source code. Hence, a fully automated or semi-automated tool is needed to perform software modularization.

134 questions
26
votes
5 answers

How to modularize a JSF/Facelets/Spring application with OSGi?

I'm working with very large JSF/Facelets applications which use Spring for DI/bean management. My applications have modular structure and I'm currently looking for approaches to standardize the modularization. My goal is to compose a web application…
lexicore
  • 42,748
  • 17
  • 132
  • 221
23
votes
10 answers

Angular ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy')

I have problem. Angular is sometimes showing error ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy') I am getting this error when I am running ng serve, but if I use angular universal, then page is sometimes loading properly…
J4mJeMax
  • 301
  • 1
  • 2
  • 8
17
votes
3 answers

Referenced Method Count Increased After App Modularization

AS: 3.5.3; Android Gradle Plugin: 3.5.0; Gradle: 5.6.2; We observed a drastic increase in the number of methods referenced in our app after splitting the 'app' module into several small modules. But the strange thing is that the addition of…
Rohit Surwase
  • 701
  • 5
  • 17
16
votes
2 answers

How to modularize AngularJS applications / plugins

I have a couple of (software-)architecture questions regarding a migration from Grails (REST-API, parts of AngularJS, MongoDB, Tomcat, Spock, several plugins) to Node.js + Angular.js. I probably have to explain the structure of the Grails project…
13
votes
2 answers

How split packages are avoided in Java 9

I am new to Java 9 and was going though the modular video lectures by Java on YouTube. They mentioned 3 benefits of modularization- 1. No missing dependencies 2. No cyclic dependnpcies 3. No split packages. As far as I understand about split…
11
votes
2 answers

The best approach to modular programming in Delphi

this is a continuation of the discussion I started here. I would like to find the best way to modularize Delphi source code as I'm not experienced on this field. I will be gratefull for all your suggestions. Let me post what I have already written…
Mariusz Schimke
  • 3,185
  • 8
  • 45
  • 63
11
votes
5 answers

How do can I implement Modularization in a Rails App?

Breaking a large rails app into smaller apps? Modularizing Rails applications Best practice for structuring a 'large' Rails app I have a quick question on modularization in a large Ruby on Rails App. Setup: I am building a core app that stores…
user856988
  • 111
  • 3
11
votes
7 answers

Modular JavaScript - are there any approaches apart CommonJS and AMD to consider?

I'm currently preparing an evaluation JavaScript modularization approaches for my corp. We are in process of defining "JavaScript Best Practices" for our projects, modularization is one of the central questions. From my research so far revealed two…
lexicore
  • 42,748
  • 17
  • 132
  • 221
10
votes
3 answers

angular.js - best practice for defining a utility library

I'm giving my first steps with angular, and I need to define a utility helper library, with a couple of function methods, something like dataHelper.parse, dataHelper.sanitize, etc What would be the recommended way to organize it in angular?
opensas
  • 60,462
  • 79
  • 252
  • 386
9
votes
5 answers

How important is modularization of software projects

Modularization is obviously important in software projects, but I want to know people's opinions on how important and for what reasons it is important. I've obviously got my own ideas since I'm asking this, but think of it like a "common brainstorm"…
Thomas Hansen
  • 5,523
  • 1
  • 23
  • 28
8
votes
1 answer

How to make Modularization in Flutter to separate each application feature

On Android native to separate each application feature, structured the project, implementing architecture component and to make it easier to work in a team you can use modularization, so each person can focus on their respective work by focusing…
R Rifa Fauzi Komara
  • 1,915
  • 6
  • 27
  • 54
8
votes
7 answers

C++ modularization framework (like OSGi) ?

I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in C++ ?
Ashika Umanga Umagiliya
  • 8,988
  • 28
  • 102
  • 185
7
votes
3 answers

OSGi bundle's package structure

I've been thinking some about "good practice" regarding package structure within osgi bundles. Currently, on average, we have like 8-12 classes per bundle. One of my initiative/proposal has been to have two packages;…
None
6
votes
3 answers

Dynamically inject data in React Router Routes

I've been working on trying to modularize my React.js app (that will be delivered as a Desktop app with Electron) in a way that if I make a new module in the future, I can just add a new folder and modify a couple of files and it should integrate…
Alfie Robles
  • 164
  • 3
  • 16
6
votes
4 answers

Learning to write organized and modular programs

I'm a computer science student, and I'm just starting to write relatively larger programs for my coursework (between 750 - 1500 lines). Up until now, it's been possible to get by with any reasonable level of modularization and object oriented…
Peter
  • 93
  • 4
1
2 3
8 9