4 ms·
I use eclipse because it has support for a lot of the different languages I have to work with. So I organize my projects by language first under an eclipse wor
by revoltingx 17y ago
I use eclipse because it has support for a lot of the different languages I have to work with. So I organize my projects by language first under an eclipse workspace folder.
~/workspace/perl
~/workspace/erlang
~/workspace/cpp
Then inside each folder there is a project. And I either create them or import them using eclipse.
For projects that are large and require a large number of languages. I simply create it under the workspace directory. (i.e. ~/workspace/MyBigProject)
And from then I break it down into languages again along with other folder necessary for larger projects.
MyBigProject ->
bin/
conf/
docs/
erlang/
perl/
sql/
web/
Then I tend to use the best possible layout for a project of that language. For example since I use CGI::Application a lot using perl, my perl folder uses the following structure:
perl ->
deps/ <-- cpan/other modules that are needed
MyBigProject/ <--Namespace for project modules
startup.pl <- mod_perl2 startup file
templates/ <- HTML::Template templates...
and MyBigProject breaks down like so:
MyBigProject ->
DB/
UI/
(Other Modules)
and so on, the same goes for the erlang OTP:
MyBigProject/erlang/ ->
db/
deps/
ebin/
Makefile
src
and MyBigProject/web just holds all the html/javascript/css files for the WebUI.
And so on.
- colonelxc 17y agoWas looking for this. I use a ~/workspace/ directory and was wondering where I picked up that notation. Organizing by language is an interesting idea too.