Answer the question
In order to leave comments, you need to log in
What is the most convenient and cool file structure for a project?
I ran into such a problem that each project stores files and folders in its own way.
What is the best file structure?
I will give an example of how files can be located in different ways:
1)
project{
img{
file1.svg
file2.svg
file3.svg
}
php{
auth.php
account.php
admin.php
}
}
project{
auth{
file1.svg
auth.php
}
admin{
file3.svg
admin.php
}
account{
file2.svg
account.php
}
}
Answer the question
In order to leave comments, you need to log in
Everyone stores in their own way precisely because there is no universal ideal. Do what is comfortable for you personally. And “coolness” in general should be left outside the office doors.
I heard that Yandex has recommendations about this.Are you talking about BEM, perhaps?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question