cc ????cocos核心类、Controller EventController EventListenerController、cocos扩展类(AssetsManager.* CCBReader.* CCBAnimationManager.* Scale9Sprite Control.* ControlButton.* EditBox$ ScrollVie...
分类:
其他好文 时间:
2014-07-29 16:11:09
阅读次数:
370
控制器controller下的welcome.phppublicfunctiondoJson(){
$data=array(‘a‘,‘b‘,‘c‘,‘d‘);
if($_POST[‘k‘])
echo$data=json_encode($data);
}视图view下的json.php<!DOCTYPEHTML>
<html>
<head>
<scriptsrc="<?phpechobase_url();?>static/js/jqu..
分类:
Web程序 时间:
2014-07-29 15:57:59
阅读次数:
266
适合自己的才是最好的
自己修改了下Controller版本,改变原因,
1.msg面临的并发危险,
2.ModelAndView基本毫无作用的地位
3.ModelMap代替Request
出来的结果如图,使用了静态变量代替了view
效果如下:
模板是
package ${bussiPackage}.controller.${enti...
分类:
其他好文 时间:
2014-07-29 14:25:48
阅读次数:
411
原文地址:http://my.oschina.net/abian/blog/128028 终于来到了基于注解的 Spring MVC 了。之前我们所讲到的 handler,需要根据 url 并通过 HandlerMapping 来映射出相应的 handler 并调用相应的方法以响应请求。实际上...
分类:
编程语言 时间:
2014-07-29 14:01:08
阅读次数:
379
uvm_root 是uvm的顶层实例扮演了一个top-level and phase controller 的作用,对于component来说。该类不需要用户实例化,他是一个自动实例化了的类,用户直接通过uvm_top调用。任何component,只要没有指定其parent,那么他将作为top的一个...
分类:
其他好文 时间:
2014-07-29 11:03:06
阅读次数:
577
ViewControllerViewController是IOS开发中MVC模式中的C,ViewController是view的controller,ViewController的职责主要包括管理内部各个view的加载显示和卸载,同时负责与其他ViewController的通信和协调。在IOS中,有...
分类:
移动开发 时间:
2014-07-29 10:25:28
阅读次数:
375
1. 需求背景
需求:spring MVC框架controller间跳转,需重定向。有几种情况:不带参数跳转,带参数拼接url形式跳转,带参数不拼接参数跳转,页面也能显示。
本来以为挺简单的一件事情,并且个人认为比较常用的一种方式,一百度全都有了,这些根本不是问题,但是一百度居然出乎我的意料,一堆都不是我想要的结果。无奈啊,自己写一篇比较全都供以后大家一百度吧,哈哈哈。。。是这些写的不是很...
分类:
编程语言 时间:
2014-07-28 15:50:43
阅读次数:
186
ScenesScenes in a storyboard represent content shown within one screen in your application. A scene involves a view controller and the views that make...
分类:
其他好文 时间:
2014-07-28 14:39:43
阅读次数:
334
一、首先我们要明确我们为什么要学?在我们学习了javaweb基础后,我们基本可以完成基本的网站要求,但是我们为什么要学习和使用使用Spring?
1、降低组件之间的耦合度,实现软件各层之间的解耦。
controller----->service--------->dao
2.可以使用容器几桶的众多服务。如:事务管理服务、消息服务、当我们使用容器管理时,开发人员就不再需要手工...
分类:
编程语言 时间:
2014-07-28 05:10:40
阅读次数:
236
原文,因为原视频说的太快太长, 又没有字幕,于是借助youtube,把原文听&打出来了。 中文版日后有时间再翻译。one of the big succeess factors here at Spority is our agile engineering culture. Culture tre...
分类:
其他好文 时间:
2014-07-27 23:33:49
阅读次数:
693