一. cgi用前面小节的req_resp.cpp, 这里略去cgi的编译和部署.二. 下面的几个文件在同一个目录.1. index.py 增加两处:(1) (r"/index.py/angularjs_cgi", AngularjsCgiHandler)(2)class AngularjsCgi.....
分类:
Web程序 时间:
2014-11-27 20:16:29
阅读次数:
339
AngularJS animations and TweenLite make it really easy to create cool 3d effects in your application. Hello Greensock! ...
分类:
Web程序 时间:
2014-11-27 18:15:33
阅读次数:
362
There are situations where you might want to add additional methods toangular.module. This is easy to accomplish, and can be a handy technique. //F...
分类:
Web程序 时间:
2014-11-27 18:02:33
阅读次数:
124
今年在HTML5开发中使用AngularJS框架,觉得MVVM的框架太方便了,双向绑定机制省去了很多繁琐的工作,于是想在新的Android项目也引入类似的MVVM框架,提高团队的开发效率和代码的工程化程度,然后就找到了RoboBinding这个框架,简单看了下感觉应该还算靠谱。
RoboBinding是一个实现了数据绑定 Presentation
Model(MVVM)
模式的And...
分类:
移动开发 时间:
2014-11-27 14:33:17
阅读次数:
365
苹果公司周二盘中市值首次突破7000亿美元,成为标普中首家市值超过7000亿美元的公司,市值是第二名Exxon的1.7倍。有分析师预测苹果在明年的市值将会逼近8000亿美元,不过如果参考著名激进投资人Carl Icahn的算法,这一估计前应加上“保守”二字。目前,iPhone,iPad和Mac业务是...
分类:
移动开发 时间:
2014-11-27 12:23:30
阅读次数:
193
下面的文件在同一目录下.myTodoApp.jsmyTodoCtrl.jsindex.pyangularjs_test.htmlindex.py中内容:import tornado.ioloopimport tornado.webclass MainHandler(tornado.web.Reque...
分类:
Web程序 时间:
2014-11-26 18:31:59
阅读次数:
152
$apply()和$digest()在AngularJS中是两个核心概念,但是有时候它们又让人困惑。而为了了解AngularJS的工作方式,首先需要了解$apply()和$digest()是如何工作的。这篇文章旨在解释$apply()和$digest()是什么,以及在日常的编码中如何应用它们。探索$...
分类:
移动开发 时间:
2014-11-26 18:16:52
阅读次数:
268
对有些图片的会被拖动的问题,是不是表示已经厌倦了
改变成用background-image的方式,找到图片的位置,放到标签中而不是中就可以愉快的解决这个问题啦~
注意要重新定位下,不然图片会到最上方去。
是不是棒棒哒?~...
分类:
其他好文 时间:
2014-11-26 11:34:16
阅读次数:
141
Module definitionsAngular modules can be declared in various ways, either stored in a variable or using the getter syntax. Use the getter syntax at al...
分类:
Web程序 时间:
2014-11-25 18:28:16
阅读次数:
128
Annotation Order:It's considered good practice to dependency inject Angular's providers in before our own custom ones.Bad:// randomly ordered dependen...
分类:
Web程序 时间:
2014-11-25 18:16:10
阅读次数:
155