理解svg中画箭头代码[viewbox,refX,refY]
理解指令的restrict属性

web路径解析三种方式

妙音 posted @ 2014年7月10日 17:12 in webui with tags restful;nodejs , 2782 阅读
路径解析经过三个阶段:
文件路径
静态文件与网站目录结构一致,动态文件也是根文件路径执行脚本,比如/index.asp
MVC
java中的struts就是典型的MVC模式,将url映射到控制器,调用服务操作数据,再返回结果.
操作的行为主要是用post和get请取方法.
restful
目前最流程的就是restful,restful全称是Representational State Transfer表现层状态转换
它将服务器端提供的内容实体看作资源,并表现在url上, 对资源的操作体现在http方法上, 资源的类型体现在请求字段Accept和响应字段Content-Type上
 
在MVC中,主要使用post和get请取方法,增删操作表现在url上
POST /user/add?username=jacksontian
GET  /user/remove?username=jacksontian
POST /user/update?username=jacksontian
GET  /user/get?username=jacksontian
在restful中
POST   /user/jacksontian   增加
DELETE /user/jacksontian   删除
PUT    /user/jacksontian   更新
GET    /user/jacksontian   查询
 
 
 
Avatar_small
Faddy 说:
2021年8月26日 17:14

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. Crypto Miners

Avatar_small
IT Training 说:
2021年9月18日 01:20

Seek the advice of with the doctor if you are making use of medicine. Pregnant women couldn’t manage it till their consultants approve it.

Avatar_small
seo 说:
2021年9月18日 14:07

Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here. best merchant services company

Avatar_small
seo 说:
2021年9月23日 19:46

Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. North American Bancard Agent Program

Avatar_small
seo 说:
2021年9月27日 19:15

Lavi Pharmacy Ltd is a patient-care orientated retail and online pharmacy store in Port Harcourt with a focus on convenient healthcare, offering also the sales of health, beauty and everyday essentials. Pharmacy in gra port harcourt

Avatar_small
seo 说:
2021年9月29日 13:29

This is my first visit to your web journal! We are a group of volunteers and new activities in the same specialty. Website gave us helpful data to work. ISO Agent Program

Avatar_small
เว็บหวยไม่อั้น 说:
2022年6月02日 03:03

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work เว็บหวยไม่อั้น


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter