3
What is the best way to organize directories for a PHP web development project?
3
What is the best way to organize directories for a PHP web development project?
0
You can choose a framework and normally when creating a project it will do that work for you, but a good "Boilerplate" would be:
app/
styles/
scripts/
views/
home.html
etc...
assets/
fonts/
imagens/
config/
Browser other questions tagged php html commiserate bower
You are not signed in. Login or sign up in order to post.
There is no correct answer to your question, as it is based on opinions, people do it in the way that seems most convenient to them.
– Israel Sousa
You’re absolutely right, I was just giving an idea to someone who never had to organize... This structure changes from person to person and from framework to framework.. there is no correct way.
– João Vilaça
I say this because for example if I want to organize my project for distribution of the source, development and also production. what would be the best method?
– Roger Bastida
I would use a client/ folder with everything I needed, and then compile and minify everything into a build/ folder, which would only have a main.css, main.js, and the rest I needed, all pre-processed and minified.
– João Vilaça