Questions tagged [filestructure]

19 questions
32
votes
9 answers

Split a folder into multiple subfolders in terminal/bash script

I have several folders, each with between 15,000 and 40,000 photos. I want each of these to be split into sub folders - each with 2,000 files in them. What is a quick way to do this that will create each folder I need on the go and move all the…
Brian C
  • 1,333
  • 3
  • 19
  • 36
6
votes
4 answers

when placeing a config file outside the public root. how do i call it on every page without defining the path

this is how my file structure is. [..] are folders [public] [libs] [crontab] [logs] [sessions] [tmp] config.php the domain is set to the public folder as its root. everything else including the config.php file is outside the root. the config…
Exploit
  • 6,278
  • 19
  • 70
  • 103
6
votes
2 answers

Excel file and program structure

I need to know for a school project how Excel work. Precisely I need to know what kind of structure is behind an Excel file and how the Excel program work with this file. I know Excel is a Microsoft propriety and it' s not Open Source so I know I…
user482966
4
votes
4 answers

Why x86 folder for in c# project directory?

why x86 folder exist in obj folder in c Sharp project file? My project file structure is ProjectOne ----------Bin --------------Debug --------------Release ----------Obj --------------x86 //Why…
PawanS
  • 7,033
  • 14
  • 43
  • 71
2
votes
2 answers

writing a 3d array of data to file

What are some common formats for writing 3d data arrays to (txt) file? (if I have to do this, I would rather use a format that someone else can follow)
Connor Albright
  • 723
  • 4
  • 13
  • 29
2
votes
3 answers

Js - Cache file, open it, detect changes and upload

I have a file structure on a web page, and look for a solution for the following scenario: The chosen file should be downloaded in browser cache and opened (if it's an excel document, open with excel, etc.). Now when the user changes the file, it…
user3301565
  • 402
  • 5
  • 15
1
vote
2 answers

How do I organize classes in PHP and access database from within class

I have been programming procedural PHP for about 8 years, and am finally starting to learn OOPHP. I've gone through many many tutorials and I understand the syntax and feel quite comfortable using it. What I've failed to find, though, is a practical…
Andrew Brown
  • 5,330
  • 3
  • 22
  • 39
1
vote
1 answer

Can you show me any relevant file structure for a Zend Framework Project + Doctrine 2?

I successed to integrate Doctrine 2 and Zend Framework using a Doctrine2 Application Resource and it works great, cli and web, but I couldn't find any informations on how structure my models. Right now, here is my workflow: I write my entities in…
1
vote
3 answers

Placing jquery plugin in joomla module

I'm trying to create a module in joomla, which uses one jquery plugin. I've to do an ajax operation while clicking on an element in the module. Currently I'm specifying the whole path to the php file. But I know Its a wrong method. The code in…
Sastrija
  • 3,284
  • 6
  • 47
  • 64
1
vote
3 answers

Joomla modules file structure to store jquery core and some image files

I'm a newbie to joomla. I'm trying to create a joomla module which uses some jquery actions and some image files. Can anyone suggest me a best method to place the jquery-core and jquery plugin files inside the module. I also wants to add some…
Sastrija
  • 3,284
  • 6
  • 47
  • 64
1
vote
0 answers

Custom File structure for Symfony

I have a client requirement that requires a custom file structure for symfony, where i have to keep source files in the following /src/files/*.php (project files goes here) /lib/symfony/vendor (all symfony related files goes…
Bharani
  • 1
  • 1
  • 3
1
vote
2 answers

How does the maven file structure work?

We are planning on restructuring a complex project with many modules/pieces, what ever you wanna call it. In order to move toward a standard directory structure, we would like to adopt the maven file structure. So the big question is: Can anybody…
Jens Schauder
  • 77,657
  • 34
  • 181
  • 348
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

Java Eclipse Export keeping folderstructure

I'm getting my java project to a finish and I'm about to export it to an easy useable program on the desktop. In my program I'm using .txt files to keep all my data, so I've made a folder for my databases and my images. The problem comes when I'm…
0
votes
0 answers

Raw Pdf How to write a text in pages

I wrote a program that creates a pdf file from scratch. The output is this: %PDF-1.3 1 0 obj << /Type /Catalog /Pages 2 0 R /Outlines 20 0 R >> endobj 3 0 obj << /Type /Font /Subtype /Type1 /Name /Fn1 /BaseFont /Arial.BoldItalic /Encoding…
P.Carlino
  • 661
  • 5
  • 21
1
2