Answer the question
In order to leave comments, you need to log in
How to name a folder with JS, CSS, Images, Fonts?
Hello. I am writing an online store (trying to write). I'm new, I want to do everything right. Tell me, please, what is the name of the folder where scripts, styles, pictures and fonts will be stored. I thought to call it front-end, but I have views (I am writing a project in MVC). With php extension. Is this also front-end? And they are in my application/views folder.
Answer the question
In order to leave comments, you need to log in
You can name whatever suits your eye. Or just copy from some RoR or other framework, so as not to invent it yourself.
For example, I like the name assets .
And views in views, everything is logical. :)
it's just names, what's the difference what is the name of the folder?
maybe just apps - general or builds ... or assets in general, it makes absolutely no difference,
but first you need to know html css and then php, and in your case, neither ...
any PL and it doesn’t matter which one if it’s not processed by the browser Backend
it doesn’t matter what they are called, but they should not lie in the views folder (you most likely have templates there), but lie in a public folder, in the one where the web server looks and there is an entry point
In my case it is like this
------- src
-------------- img
-------------- js
------- ------- css
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question