作者kino818 (要运动)
看板MIS
标题[请益] 网站的网页技术
时间Sat Apr 22 00:09:41 2023
各位大大 晚安
看到书有index.js项又有index.html项
看不太懂
(1)是指动态网页index.js可生成index.html吗?
(2)这是什麽技术名称?
某网站
https://www.example.com.tw
redirect後变为
https://www.example.com.tw/customer
书有看到customer.js与customer.html
十几年前,都是home.html或home.asp或home.jsp等有副档名
(3)为什麽现在的网页於开发资料夹内有副档名
在网址或url上为何没副档名?
(4)跟node.js有关系吗?
谢谢大大指教
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 36.230.118.221 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/MIS/M.1682093384.A.892.html
1F:→ kino818: node.js有swig与jade与...等html范本引擎可因此生成html 04/22 00:40
2F:→ kino818: 档,不知与上面问题有无关连? 04/22 00:40
3F:推 kyoe: 现在的框架大多有 route 机制, 透过 route 去 parse url 04/24 11:52
4F:推 oherman: 现在还是有,只不过通过设定档对应相关档案...据説是会 05/16 22:37
5F:→ oherman: 比较难知道後端用什麽语言让骇客去攻击 05/16 22:37