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
1
vote
1 answer

How can I make this anonymous function into a named function so I can move it to an external JS file for possible reuse

If I double posted this question, I'm sorry. I did not see it pop up under my questions that I'd asked in my profile, so I figured it didn't actually post. Anyway. I found the main logic for this code somewhere on stack overflow and modified it…
1
vote
1 answer

Modularize Single Activity Android Application with circular fragment dependencies

We have an app with bottom bar navigation. The navigation is in our MainActivity. We manage navigation between the different screens of the app with fragments. E.g. there…
1
vote
2 answers

Git ignore deleted folders during a merge?

A developer has been working on some feature branch f1 that branched off of master. Due to poor modularization of the repo (the system is modular, but lives in a monolithic repo) and other reasons, the developer decided to delete "a bunch of…
Alex R
  • 11,364
  • 15
  • 100
  • 180
1
vote
1 answer

Snakemake: referencing output beyond parent in recursive sub-workflow scenario

I have a workflow with three layers of subworkflows, where wfA is a subworkflow of wfB is a subworkflow of wfC. When executing wfC, both wfA and wfB get executed correctly if needed. In wfC I can do wfB("some/output"), but I can't do…
1
vote
4 answers

Javascript modularising large objects

I've got an object defined as a function, and it's got a lot of methods and properties in it, what are some ways to modularise this to make it more manageable? It is possible to put functions inside the object into external files? Edit: Someone…
Tom Gullen
  • 61,249
  • 84
  • 283
  • 456
1
vote
1 answer

ModuleClassLoader singleton

I have this situation: a JBOSS instance application client.war application server.war a jboss module, properly installed, containing only the interfaces. The server.war application implements the jboss module interfaces, and publishes these…
1
vote
0 answers

Best practices for large scale AngularJS applications

We are developing a new version of a pretty huge application which is currently made of JSP+JS pages, served by custom Servlets. Given the application deals with large amount of data, most of the business logic is implemented in the database as…
csaadaam
  • 103
  • 1
  • 3
  • 8
1
vote
1 answer

js - avoiding namespace conflict

Thus far I've worked only with relatively small projects (and mostly alone), but this time I have to collaborate with other programmers... basically because of that I must plan the structure of the website very carefully for the avoidance of…
Lzhelenin
  • 193
  • 4
  • 13
1
vote
3 answers

Modularizing spaghetti code

I'm still a newbie to C++ and I've been trying to modularize some spaghetti code that was given to me. So far (apart from learning how to use git and installing the rarray library to replace the automatic arrays with them) I've been sort of stumped…
kalle
  • 425
  • 1
  • 6
  • 17
1
vote
1 answer

How modularize and reuse parts of the view and controller?

I have a view with a navigation bar, with buttons, and actions associated with them for example. Is there a way to package up parts of the view and controller so I can drag and drop it into other views along with its code? And of course maintain the…
TruMan1
  • 33,665
  • 59
  • 184
  • 335
1
vote
2 answers

Kendo UI with Javascript Modular Pattern

I'm in the process of creating a big business application using kendo ui. Since application is big. we have started to follow modular patter in javascript code. When using modular pattern wtih kendo ui. i'm getting some errors. i have created…
1
vote
1 answer

Is it a must for an OSGi bundle to have an activator class?

I have an osgi bundle, which includes only a .jsp file. Shall I create an activator class for it? If yes, what should it do?
Tamas G.
  • 677
  • 3
  • 21
  • 38
1
vote
0 answers

Module Loader loading the same Library multiple times

I'd like to separate my page into two independent "decoupled" areas. Now let's assume that both need the same dependency with the same version. Is requireJS or any other library capable of managing different lifecycles of different libraries?…
AlessandroEmm
  • 698
  • 7
  • 23
1
vote
1 answer

What should I use for a WCF modular design?

Our application is an enterprise application deployed in a distributed environment. It's an ASP.NET MVC 2.0 project connected to a WCF project on another server. What we need is to make our business modules reusable and testable. So what is the best…
HEH
  • 305
  • 6
  • 15
1
vote
1 answer

ASP.net MVC views in class library

I'm developing a framework application, and I want individual implementations to have the possibility to add new functionality simply. For controllers this is easy, just compile it and drop it in the bin directory, but what about views? Is it…
erikkallen
  • 33,800
  • 13
  • 85
  • 120
1 2 3
8 9