Questions tagged [project-structure]

Refers to layout of folders and components to help organize a project's files, whether code or resources

482 questions
0
votes
2 answers

Sharing constants between projects

I have java two projects; one server project and one client project. In my network code between the two, I send requests. I don't want to type 0, 1, 2 for the different types of requests in the code, so I use constants instead. My problem is that I…
Alle
  • 324
  • 4
  • 19
-1
votes
1 answer

Access Python Class Attribute inside externally called method

In a case like: class Foo(object): def __init(self, x): self.var = x def loop(self): # [yield params] result = self.do_sth(params) def do_sth(self, params): if self.var is not None: …
gorschel
  • 26
  • 8
-1
votes
1 answer

How can I fix the issue: "Cannot find module '.todo/todo' or its corresponding type declaration" while specifying relative path to all files?

I'm working with the NestJS project following the next article (self-learning purposes). I have the project-structure similar to: project ... src |-- app.controller.spec.ts |-- app.controller.ts |-- app.module.ts |-- app.service.ts …
invzbl3
  • 5,872
  • 9
  • 36
  • 76
-1
votes
1 answer

ssr + csr and SEO

I have been working in nextjs since recently. I previously programmed in react, but the project requires me to use nextjs. Briefly the application looks like this Home page (simple backend data + form ), here I will 100% use SSR Admin panel…
-1
votes
1 answer

Android Studio dosn't show a folder in the project window tree

I try to create simple folder. I can see it is created on disk, but I can't see it in the project display. I did all the synch and reload from disk things: And the jni directory exists on disk:
user63898
  • 29,839
  • 85
  • 272
  • 514
-1
votes
1 answer

What should the project structure of a simple Node.js application look like?

By simple, I really meant simple. I'm not working with express or react or anything like that, I just have a script that does some runs some simple API requests and uses a database to store some information. I was wondering what a good project…
crypthusiast0
  • 407
  • 2
  • 4
  • 19
-1
votes
1 answer

How do you create namespaced or sub-modules in PowerShell?

I'm familiar with writing custom PowerShell modules using the following folder structure: Modules | +-- WebUtils | | +-- WebUtils.psm1 | +-- BuildUtils | | +-- BuildUtils.psm1 Where you might import the webutils module by doing something like…
Efie
  • 1,430
  • 2
  • 14
  • 34
-1
votes
2 answers

Best way of reusing Java classes across different projects?

I am currently writing Selenium WebDriver tests for a variety of websites each using the same proprietary framework. Because of this, there are many test cases that can be quite similar across different websites. As such I have made my test classes…
Grumbunks
  • 1,027
  • 1
  • 7
  • 21
-1
votes
2 answers

android: How can I create subfolder in a `mipmap` folder, that can be accessed in code and layouts

I have my image resources in the various mipmap folders (mipmap-xhdpi, mipmap-xxhdpi, etc.) My project has hundreds of images (and growing) and it is becoming cumbersome that they are all in a single level in each directory. I want to create a…
chiliNUT
  • 18,989
  • 14
  • 66
  • 106
-1
votes
2 answers

In what package should a "Settings" class be placed?

I'm in the middle of building an application but found myself too easily creating new packages without keeping the project's structure in mind. Now, I'm trying to redo the whole project structure on paper first. I am using a Settings class with…
Tom
  • 8,536
  • 31
  • 133
  • 232
-1
votes
1 answer

Intellij project doesn't open entire structure

I had a project that compiled and ran fine previously and is currently distributed on google play. I haven't touched the code in at least a month and now when I open the project with intellij the entire project directory does not open, this is what…
ez4nick
  • 9,756
  • 12
  • 37
  • 69
-2
votes
1 answer

Where to store API calls in React / Next.js project?

We use redux-thunk with redux in our project, but some shared business logic can not use redux, as part of the code is used in Wordpress plugin in shortcodes, and there it is not possible to use redux. Where should I store api calls in that case? I…
János
  • 32,867
  • 38
  • 193
  • 353
-2
votes
1 answer

Why is my android studio 4.0 project structure different?

I have updated my android studio to version 4.0 and the project structure has changed somehow. I am new to android developing so I can't tell the changes but the folders are red. Why are they red? Is it an error or am I doing something wrong? Here…
WebDiva
  • 133
  • 3
  • 23
-2
votes
1 answer

Simplest and quickest way to portray an application for development

As a designer I sometimes feel the need to portray the main idea of an application in a graphical form like a flowchart. Something that is easy enough to understand for the development firms and could convey the purpose of the application and…
-3
votes
1 answer

I want to know about React(16.13.1) which I have created by create-react-app

There is a catalog about my new program, but I can't understand what these documents represent
Roxanne
  • 13
  • 3
1 2 3
32
33