Skip to main content
Filter by
Sorted by
Tagged with
43 votes
12 answers
52k views

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 ...
J4mJeMax's user avatar
  • 559
26 votes
5 answers
9k views

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 ...
lexicore's user avatar
  • 43.9k
17 votes
3 answers
778 views

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 ...
Rohit Surwase's user avatar
16 votes
2 answers
3k views

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 ...
Christopher Will's user avatar
15 votes
2 answers
6k views

I am new to Java 9 and was going though the modular video lectures by Java on YouTube. They mentioned 3 benefits of modularization- No missing dependencies No cyclic dependencies No split packages. ...
Rahul Vedpathak's user avatar
11 votes
3 answers
3k views

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 ...
Mariusz Schimke's user avatar
11 votes
7 answers
1k views

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 ...
lexicore's user avatar
  • 43.9k
11 votes
5 answers
2k views

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 ...
user856988's user avatar
10 votes
3 answers
7k views

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 ...
opensas's user avatar
  • 64.4k
9 votes
1 answer
8k views

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 ...
R Rifa Fauzi Komara's user avatar
9 votes
5 answers
6k views

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 ...
8 votes
2 answers
6k views

I'm currently working on modularizing my application, so I'm putting each feature in a library module. In one of my features, I access the version code and name. However, although I defined them in ...
Walid Baroudi's user avatar
8 votes
7 answers
6k views

I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in C++ ?
Ashika Umanga Umagiliya's user avatar
7 votes
3 answers
1k views

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 ...
user avatar
6 votes
8 answers
2k views

just saw this comment in a "what JS lib do you use" poll "@Xanti - yes, yes, modularization and abstraction in programming is a terrible practice. Functions that call other functions? Wasteful." ...
yretuta's user avatar
  • 8,141
6 votes
3 answers
7k views

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 ...
Alfie Robles's user avatar
6 votes
4 answers
617 views

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 ...
Peter's user avatar
  • 93
5 votes
1 answer
2k views

I have an application that contains libraries generated with emscripten. I am compiling them using the flags: -s MODULARIZE=1 -s EXPORT_NAME=\"'SomeModuleName'\" However, the library FS is no longer ...
Juan's user avatar
  • 834
5 votes
1 answer
3k views

In my application, I have two modules: app and repository. repository depends on Room, and has a GoalRepository interface: interface GoalRepository and a GoalRepositoryImpl class that is internal, ...
gpunto's user avatar
  • 2,891
5 votes
0 answers
460 views

I am following the Now In Android sample for modularization and best practices with Jetpack Compose and I am a bit stuck with sharing a simple LocalDate state across several modules/features. I want ...
goldensoju's user avatar
4 votes
0 answers
9k views

I am migrating my development environment to another pc. I use NetBeans 10, open JDK11, JavaFX. When I import the main project into NetBeans I get the following error: on: import java.util.logging....
Giuseppe Castellano's user avatar
4 votes
1 answer
1k views

I have a module with several files, some of which have a few custom exceptions declared. These exceptions are primarily raised in the file they are declared, but sometimes they are also raised in ...
Ian's user avatar
  • 6,232
3 votes
2 answers
278 views

How does information hiding help to decouple the modules that comprise a system?
jai's user avatar
  • 22k
3 votes
2 answers
12k views

I'm trying to write a bookstore program, and I'm getting an error saying "multiple definition" in my source code file at my function implementation. Here is my Book.c file: #include "Book.h" void ...
CassiePray's user avatar
3 votes
4 answers
388 views

I am trying to modularise a lengthy if..else function. $condition = "$a < $b"; if($condition) { $c++; } Is there any way of translating the literal string into a logical expression?
pulsar's user avatar
  • 995
3 votes
2 answers
535 views

What 's the difference with the modularisation of a javascript code (with browserify by example) and the dependency injection? Are they synonymes? Are the two going together? Or Am I missing some ...
sab's user avatar
  • 5,192
3 votes
1 answer
3k views

We are using JBoss Rules (a.k.a. Drools) and have several .drl files that each contain several rules. Is there a way to avoid duplication between files, so that we can define common rules that are ...
Peter Hilton's user avatar
  • 17.4k
3 votes
0 answers
70 views

I have a few questions about namespaces and init.py in modular programming in python. I will divide my questions into two sections: without init and with init. Section 1) Without init.py Suppose that ...
8Simon8's user avatar
  • 169
3 votes
1 answer
527 views

Android project structure : -app module -featureA dynamic module -> depending on app module -featureB dynamic module -> depending on app module Use Case : I want to write end to end ...
ArpitA's user avatar
  • 741
2 votes
3 answers
152 views

Here's how I usually develop an application: I start with having all the code in a single source file. When it grows enough to be modularised, I break the code into several modules. When the modules ...
vines's user avatar
  • 5,245
2 votes
2 answers
352 views

I'm trying to link libraries I made to main source code, but it throws this error. I've been searching for last two hours how to fix this but nothing worked for me. Compiling: cd "c:\Users\miros\...
qu4lizz's user avatar
  • 379
2 votes
4 answers
813 views

We're currently developing a new piece of hand-held software. I cant discuss the nature of the application, so I'll use an example instead. We're designing hand-held software for managing a school. ...
djdd87's user avatar
  • 68.6k
2 votes
1 answer
284 views

I'm using the version 7.23.1 of Snakemake. I'm using the modularization in snakemake and I'm getting a strange behavior. I would like to ask for your help in order to understand a bit more in-depth ...
Mathieu Cayssol's user avatar
2 votes
1 answer
5k views

Is it possible to create package from existing project ( UIKit application ) in Xcode13 ? I have implemented application but it too big and take too much time on building phase. Because of that, I ...
Tar journey's user avatar
2 votes
1 answer
1k views

I try to translate a LocalDateTime to the current used language like shown in this answer: https://stackoverflow.com/a/51843932 Running the program in Eclipse works as intended, but when it gets ...
A. Alexander's user avatar
2 votes
1 answer
95 views

I understand that OSGi can be used to manage service dependencies, that is sharing POJO instances between bundles. But say I have a library B.jar with compile-time dependencies on classes in my other ...
Emil Lundberg's user avatar
2 votes
1 answer
392 views

I have my Android project divided into 5 modules. The 'app' module handles all the views and processing with the UI having all the resource drawables. Now, I am implementing an algorithm to compare ...
Tomás Rodrigues's user avatar
2 votes
1 answer
141 views

My task basically was to build a specific module for an existing system. The module works properly, but now I should place log entries inside the code. Since this is only a module of the final system ...
user3017074's user avatar
2 votes
1 answer
2k views

I'm new to Java and have been coding in JDK 11, but now using JDK 16. When I try to open a database connection method from the Spring Boot main class, by calling the database connection class, even ...
Imran's user avatar
  • 85
2 votes
1 answer
1k views

We have a rich web application based in Java & Spring framework which have many functionalities and classes. recently something sparked in my mind that why not we provide modularity to make it ...
Mehdi's user avatar
  • 3,768
2 votes
1 answer
472 views

Currently, I'm using Velocity instead of JSP, for its flexibility. For some reasons, I need to distribute my web modules in jar archive, rather than war archive`. I have read the servlet ...
Lenik's user avatar
  • 14.6k
2 votes
0 answers
175 views

I am creating SDK and want to modularize it. And prevent internal APIs from being exposed on your public interface. Want optional dependency based on features required. If features is not required we ...
Jaykishan Sewak's user avatar
2 votes
0 answers
377 views

I'm using Snakemake and tried to order my overall pipeline structure by utilizing modules as the modularization approach suggests. However, one of my modules has a rule which depends on the ouput of ...
Oliver Küchler's user avatar
2 votes
0 answers
802 views

I want to modularise my codebase to distribute it like third party libraries. I followed the article for the same. So far I have been able to split the code into three modules (Networking, Core & ...
Vinod Kumar Singh's user avatar
2 votes
0 answers
477 views

My app has been growing quite a bit over the years, and I decided to give it a try to further modularize it by breaking it up into several frameworks and static libraries. After 4 days of work (and ...
user avatar
2 votes
0 answers
696 views

I am working on creating a modularised app. I had been using git submodules, but AFAIK, Swift Package Manager (SPM) in iOS works as a wrapper around git submodule. Can you please suggest Android ...
Sparsh Dutta's user avatar
  • 3,078
2 votes
0 answers
659 views

Currently, I need to modularize an app into smaller modules. As far as I've known, modularization is the concept of separating an app into smaller components, which will be developed by a specific ...
hrtlkr29's user avatar
  • 423
2 votes
1 answer
1k views

Want to implement shared store module for sharing state between 2 feature modules Can some one please share stackblitz or git repo link for shared state module
Naina's user avatar
  • 21
2 votes
0 answers
226 views

so I have an Android project with a module App that depends on a module A that depends on a module B (App -> A -> B), in such a way that the gradle file of the module A looks like this: ... ...
Hannibalem's user avatar
2 votes
0 answers
652 views

We have SAP UI5 MTA application deployed in SAP CP consist of 3 apps(HTML5 modules). All these apps right now standing independently without communicating each other. Among these two apps controller ...
Nadhiya Majeed's user avatar