Questions tagged [file-structure]

257 questions
1
vote
3 answers

structuring AngularJS application

We have an fairly large angularJS application, where all controllers were in one file. We are thinking of splitting each controllers to his corresponding file. is there any reason why not to do it? The reason we want to split it is due to easier…
Or A
  • 1,789
  • 5
  • 29
  • 55
1
vote
1 answer

Trying to move Drupal install TO subdirectory

Okay, so I've searched everywhere and while I can find plenty of stuff about moving a Drupal install out of a subdirectory I can't find anything on moving one into a subdirectory. I've recently taken over this project and it was developed without me…
1
vote
1 answer

External Sort - merging issue for particular case

I have understand what external sort does, what it for; yet I have an issue at my mind about merging extreme case. external sorting the first answer explains how external sort merging works. But what if: assume that we have 10 units memory size…
TheSoulkiller
  • 979
  • 8
  • 11
1
vote
2 answers

Searching through a file structure to count items in a subfolder

I am having an issue with trying to make a list by searching through a file structure. Was trying to make a basic c# console program that would just run and do this. My structure is organize like the following. My Network \ X1 \ Users \ (many many…
Kevin
  • 25
  • 6
1
vote
1 answer

A decent file-structure for my js mvc app

As our in-house app is growing so is the frontend that I'm building with various open source technologies including backbone as an mvc base and require.js as a dependancy manager. That aside I'm in the process of separating boilerplate code from…
1
vote
2 answers

Importing Windows registry to a file structure

I need help from someone someone smarter than I am to solve this puzzle. I have a Registry branch that I want to convert into a file structure. Users make changes in the file structure, mostly because its easier for lusers to manipulate files. Then…
Tizz
  • 820
  • 1
  • 15
  • 31
1
vote
1 answer

CodeIgniter large application file structure

I am working on a decent size application in CodeIgniter, about 20 pages. Each page has unique input forms, display tables and edit data options. What I am wondering is the best way to go about structuring my application. The two ways I have thought…
Staysee
  • 1,887
  • 5
  • 23
  • 30
1
vote
1 answer

PHP Session variables lost in subdirectory level on WAMP

PHP sessions work as expected in root directory, and one directory deep. Directories that exist 2 deep end up with a new session id, and all session varaibles are lost. I include a file config.inc.php (absolute path) into all pages which calls…
Nick Pickering
  • 3,095
  • 3
  • 29
  • 50
1
vote
0 answers

Replacing files in a file structure similar to a file system?

I'm writing a program that extracts and adds files to the xbox 360's STFS files. The STFS structure is a mini file system, it has hashtables, a file table, etc. Extracting the files is simple enough. I have the starting block of the file and the…
mowwwalker
  • 16,634
  • 25
  • 104
  • 157
0
votes
1 answer

finding php page in complicated structure

Is there an easy way to find the exact php page (including path) that a line of code appears in? For example, if I'm editing a wordpress theme with hundreds of php files in multiple nested folders, finding where, say, line 349 in the compiled source…
0
votes
1 answer

Having Python Files in an R package- Where do I put it?

I am working on a R package and for various reasons I need to write some code in Python. For my current workflow I have the various scripts sitting in the root directory which I run in my various R codes with reticulate::py_run_file() followed by…
Bensstats
  • 988
  • 5
  • 17
0
votes
1 answer

Can I placed the reusable component's service in core module in Angular according to the mentioned scenario

├── src │ ├── app │ │ ├── core │ │ │ ├── services │ │ │ ├── core.module.ts │ │ ├── shared │ │ │ ├── produt-form │ │ │ │ ├── product-form.component.ts|html|css │ │ │ │ ├── product-form.service.ts │ │ │ │ I have 2 modules core and shared. I…
0
votes
0 answers

Properly Structuring and Separating Services in a Blazor Wasm Hosted APP

I am working on a blazorwasm project and I have some concerns about how my services are organized. The project has authentication and an API repository service implemented. My current project structure looks like this: +---Client ¦ ¦ …
Molesox
  • 21
  • 1
  • 3
0
votes
1 answer

Different file-structure is created in my project than my tutor's , is that fine?

I have just begun to learn Next.js and the video I was learning from shows a different file structure after creating a Next.js project from mine. In my tutor's video, in src folder there are separate folders for pages and styles that contains files…
0
votes
1 answer

How do I return values after running a function from binding a key?

I have a function that is run when a key is pressed, this is done using the following: root.bind("", lambda event:KeyPressed(event, string_x, ...) This function appends the letter associated with the key that was pressed to string_x. Once it's…
Lordimass
  • 97
  • 2
  • 6