gpt4 book ai didi

web-architecture - 您如何构建网站内容?

转载 作者:行者123 更新时间:2023-12-02 05:39:50 26 4
gpt4 key购买 nike

您是否尽量保持简单并有一个根文件夹,然后是 1 个用于图像、javascript、flash 等的文件夹?你通常怎么称呼你的文件夹?你给你的文件命名约定吗?

最佳答案

不是标准方式..但根据我的经验,我想出了这个结构:

root/
-> images/
-> <subfolder>
-> upload
-> js/
-> css/
-> data/
-> docs/
-> download/
-> mme/
-> subpages/
-> temp/
-> siteadmin/

root: all 1st level file located there
images: all images. if images for subfolder, then another level there with the same name. upload is for uploaded images.
js: javascript
css: css
data: some raw data if needed
docs: word doc or pdf for download
download: something that for ppl to downlaod...
mme: other multimedia files. e.g. flash, movie.. soudn clips.etc.
subpages: 2 or subsequent level pages. organized in different folders
temp: any testing page store there. private, not public.
siteadmin: if you have an admin site.

关于web-architecture - 您如何构建网站内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/595886/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com