What is the best way to organize a development folder?

I am working on several development projects for several clients using various development tools and languages. Over the years, I have lost the ability to organize my development folder. When I look at the development folder, it's just a big mess.

I was looking for .NET for best practices, but they mostly relate to building build scripts, and some discuss how to organize the source trees, and those that usually relate to just one language.

Are there any ideas on how to best organize the source trees using different tools, languages, and clients. Please keep in mind that some of the projects I'm working on are hybrids combining several languages.

+3
source share
5 answers

My workspace folder looks like this:

/workspace
 /[client_name1]
  /project_name
   / - project structure depends on ide and language (.net, java, python)
 /[client_name2]
 /[company_name]
+2
source

I personally have subdirectories for each language, for my personal projects. If there is more than one client, I usually first create a client subdirectory, and each project in it (in the case of many languages, the language appears first, and then the project).

MYPROJECTS> Clients> Languages> Projects

If mixing more than one language in a project, I would do one of the following:

-Use the parent language subdirectory for the main language that the project uses

or

- Forget about classifying languages ​​and go directly to the project structure.

. MY ( "" ), , , ...

+2
\dev\workspace4clientA\
    ...
    \workspace4clientB\projectX 
                      \projectY
                      \projectZ
                      -- project organization dependant on language and tools
    ...
    \workspace4clientC\
    ...
+1
source

Well, I tried all this, but everything gets hairy when you use more than one IDE / language / technology, for example, I use flashBuilder, IntelliJ and Sublime Text, Java / Javascript / actionscript, so this approach mentioned above is really not suitable for this transaction, as well as about personal projects? and / or github projects, repositories? I'm still looking for a good good answer to this question ...

0
source

Well, at work we use this scheme:

/devfolder
    /client1
         /projecttype
             /YYYYMMDD

For instance:

/devfolder
    /client1
        /web-site
            /20140301
            /20140810
    /client2
        /app
            /20141012
0
source

Source: https://habr.com/ru/post/1792869/


All Articles