您的当前位置:首页正文

MVC中Push与Pull模式

2024-11-13 来源:个人技术集锦

MVC中Push与Pull模式

 

Now from our Action Controller we can receive the bean object and will get the values but in the front controller where the bean object[or model] is actually generated set the value in their resperctive field by using request.getParameter(param) or request.getParameterValues(param) methods internally.. So this can be considered as PULL.

 

So as per my thinking we can say that These framework can use two layers namely PULL layers used by end programmer and PUSH layers used by framework base classes.

 

push到可以response相对应,pull也可以说request相对应

Top