I am new to web app development. Recently, I have been exposed to the Laravel for developing a web site. By convention, it uses /index instead of /index.php. I want to know the advantage and disadvantage of this practice. I assume this can increase the security level. Since the extension can be a hint to some hacker. Anything else?
1条回答 默认 最新
- duanjing1276 2014-02-24 17:22关注
These are clean URLs. The Wikipedia article is pretty good on explaining it, but the main reasons:
- Search engine optimalization.
- It's more aesthetic.
- Easier to use, read, write for the users and the developers too.
- Easier to memorize and share them.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 nrf52810-c三个a 程序
- ¥15 lego-loam跑出来的roll误差很大
- ¥50 求一个半透明没有锯齿的圆角窗体的实现例子
- ¥15 STM32cubeMX里的FreeRTOS无法释放内存
- ¥15 CATIA有些零件打开直接单机确定终止
- ¥15 请问有会的吗,用MATLAB做
- ¥15 phython如何实现以下功能?查找同一用户名的消费金额合并—
- ¥15 孟德尔随机化怎样画共定位分析图
- ¥18 模拟电路问题解答有偿速度
- ¥15 CST仿真别人的模型结果仿真结果S参数完全不对