JSON is a useful, lightweight protocol, now available in PHP V5.2, which makes the process of getting data out of our PHP applications and into our Ajax applications an easy one.
JSON是一种有用的、轻量级协议,现在可用于PHP V5.2,它可以轻松地实现从PHP应用程序中提取出数据,并将其放入Ajax应用程序的过程。
It gets two request parameters: one contains the name of the cache, which is the JNDI name of the Distributed Map, and the other one is the unique key for getting the data out of the Distributed Map.
它获取两个请求参数:一个参数包含缓存的名称,即分布式映射缓存的jndi名,另一个参数是用于从分布式映射缓存获取数据的唯一密钥。
So in the controller, we are going to be accessing the Model and getting it all set up so all the view has to do is spit out some data.
因此,在控制器中,我们会访问模型,并获得所有创建完毕的模型,这样,所有视图所要做的就是输出某些数据。
应用推荐