2011年8月31日
摘要: Node是一个Javascript运行环境(runtime)。实际上它是对Google V8引擎(应用于Google Chrome浏览器)进行了封装。V8引 擎执行Javascript的速度非常快,性能非常好。 什么是V8引擎? V8 是 Google 的开源 JavaScript 引擎。 V8 采用 C++ 编写,可在谷歌浏览器(来自 Google 的开源浏览器)中使用。 V8 根据 EC... 阅读全文
posted @ 2011-08-31 18:05 yaksea 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 以下内摘自《Python 中的元类编程》 如果说类是对象实例的模板,那么元类就是类的模板,类的工厂 清单 1. 老式的 Python 1.5.2 类工厂 Python 1.5.2 (#0, Jun 27 1999, 11:23:01) [...] Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> def class... 阅读全文
posted @ 2011-08-31 18:04 yaksea 阅读(860) 评论(0) 推荐(0) 编辑
摘要: menu “Run”->chose “Run Configurations”-> chose “Python Run”->right click “New”->tab “Main”->fill out “Project” by clicking “Browse”->fill out “Main Module” by clicking “Browse”->chose "manage.py" ->tab “Arguments”->fill “runserver --noreload” into “Program argume 阅读全文
posted @ 2011-08-31 18:03 yaksea 阅读(796) 评论(0) 推荐(1) 编辑