Blogger Information
Blog 21
fans 2
comment 3
visits 44063
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
5.22控制器与请求对象
李洋
Original
875 people have browsed it

一 控制器

        控制器是mvc模式中的c , 也就是controller,他的功能就是接收用户请求,并且把相应的请求返回,它可以向模型层请求数据,然后将处理好的数据分配到视图返回给用户展示.

二 请求对象

    有请求就有响应,通俗点说,请求对象就是一个url地址,比如,当你在地址栏中输入一个url地址并且按下回车键,就是一个请求,

当你请求完成之后,会有响应,响应就是返回给你的结果.

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post